Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-50359— media: cx88: Fix a null-ptr-deref bug in buffer_prepare()

EPSS 0.01% · P2
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-50359

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
Source: NVD (National Vulnerability Database)
Vulnerability 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]
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于cx88_risc_buffer函数调用失败时未处理空缓冲区,可能导致空指针取消引用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ~ c76d04d2079a4b7369ce9a0e859c0f3f2250bcc1 -
LinuxLinux 2.6.12 -

II. Public POCs for CVE-2022-50359

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50359

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-17 · 56 CVEs total

CVE-2022-50371led: qcom-lpg: Fix sleeping in atomic
CVE-2022-50355staging: vt6655: fix some erroneous memory clean-up loops
CVE-2022-50360drm/msm/dp: fix aux-bus EP lifetime
CVE-2022-50356net: sched: sfb: fix null pointer access issue when sfb_init() fails
CVE-2022-50357usb: dwc3: core: fix some leaks in probe
CVE-2022-50358brcmfmac: return error when getting invalid max_flowrings from dongle
CVE-2022-50354drm/amdkfd: Fix kfd_process_device_init_vm error handling
CVE-2022-50368drm/msm/dsi: fix memory corruption with too many bridges
CVE-2022-50369drm/vkms: Fix null-ptr-deref in vkms_release()
CVE-2022-50370i2c: designware: Fix handling of real but unexpected device interrupts
CVE-2022-50367fs: fix UAF/GPF bug in nilfs_mdt_destroy
CVE-2022-50372cifs: Fix memory leak when build ntlmssp negotiate blob failed
CVE-2022-50373fs: dlm: fix race in lowcomms
CVE-2022-50374Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
CVE-2023-53335RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
CVE-2023-53336media: ipu-bridge: Fix null pointer deref on SSDB/PLD parsing warnings
CVE-2023-53337nilfs2: do not write dirty data after degenerating to read-only
CVE-2023-53338lwt: Fix return values of BPF xmit ops
CVE-2023-53339btrfs: fix BUG_ON condition in btrfs_cancel_balance
CVE-2023-53340net/mlx5: Collect command failures data only for known commands

Showing top 20 of 56 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2022-50359

No comments yet


Leave a comment