# media: cx88: Fix a null-ptr-deref bug in buffer_prepare()

CVE record · `CVE-2022-50359`

- **Identifiers:** `CVE-2022-50359`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Sept 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Sept 2025, 14:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c76d04d2079a4b7369ce9a0e859c0f3f2250bcc1` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 10c99d1c46ea9cd940029e17bab11d021f315c21` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4befc7ffa18ef9a4b70d854465313a345a06862f` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9181af2dbf06e7f432e5dbe88d10b22343e851b9` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c2257c8a501537afab276c306cb717b7260276e1` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6f21976095c1e92454ab030976f95f40d652351b` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 704838040f3bdb4aa07ff4f26505a666a3defcfe` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 644d5a87ab1863eb606526ea743021752a17e9cb` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2b064d91440b33fba5b452f2d1b31f13ae911d71` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.9.331 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.296 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.262 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.220 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.150 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 17 Sept 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-50359](https://www.cve.org/CVERecord?id=CVE-2022-50359)
- [NVD: CVE-2022-50359](https://nvd.nist.gov/vuln/detail/CVE-2022-50359)

### References from the CNA

- <https://git.kernel.org/stable/c/c76d04d2079a4b7369ce9a0e859c0f3f2250bcc1>
- <https://git.kernel.org/stable/c/10c99d1c46ea9cd940029e17bab11d021f315c21>
- <https://git.kernel.org/stable/c/4befc7ffa18ef9a4b70d854465313a345a06862f>
- <https://git.kernel.org/stable/c/9181af2dbf06e7f432e5dbe88d10b22343e851b9>
- <https://git.kernel.org/stable/c/c2257c8a501537afab276c306cb717b7260276e1>
- <https://git.kernel.org/stable/c/6f21976095c1e92454ab030976f95f40d652351b>
- <https://git.kernel.org/stable/c/704838040f3bdb4aa07ff4f26505a666a3defcfe>
- <https://git.kernel.org/stable/c/644d5a87ab1863eb606526ea743021752a17e9cb>
- <https://git.kernel.org/stable/c/2b064d91440b33fba5b452f2d1b31f13ae911d71>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50359>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50359/>. Everything for agents: <https://agentprime.io/llms.txt>.
