# CVE-2022-50359: linux: In the Linux kernel, the following vulnerability has been resolved:  media: cx88: Fix a null-ptr-deref bug in buffer_...

CVE-2022-50359 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50359, released September 17, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-50359
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 17, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  media: cx88: Fix a null-ptr-deref bug in buffer_prepare()  When the driver calls cx88_risc_buffer() to prepare the buffer, the function call may fail, resulting in a empty buffer and null-ptr-deref later in buffer_queue().  The following log can reveal it:  [   41.822762] general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI [   41.824488] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [   41.828027] RIP: 0010:buffer_queue+0xc2/0x500 [   41.836311] Call Trace: [   41.836945]  __enqueue_in_driver+0x141/0x360 [   41.837262]  vb2_start_streaming+0x62/0x4a0 [   41.838216]  vb2_core_streamon+0x1da/0x2c0 [   41.838516]  __vb2_init_fileio+0x981/0xbc0 [   41.839141]  __vb2_perform_fileio+0xbf9/0x1120 [   41.840072]  vb2_fop_read+0x20e/0x400 [   41.840346]  v4l2_read+0x215/0x290 [   41.840603]  vfs_read+0x162/0x4c0  Fix this by checking the return value of cx88_risc_buffer()  [hverkuil: fix coding style issues]

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.0.3-1 | [DEBIAN-CVE-2022-50359](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50359.md) | Sep 17, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.0.3-1 | [DEBIAN-CVE-2022-50359](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50359.md) | Sep 17, 2025 |
| Linux | linux Debian 14 | 6.0.3-1 | [DEBIAN-CVE-2022-50359](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50359.md) | Sep 17, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
