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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-53458— media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()

AI Predicted 5.5 Difficulty: Easy EPSS 0.15% · P5

Affected Version Matrix 10

VendorProductVersion RangeStatus
LinuxLinux4d63a25c4523b5d18e5307897d56aff785f43bf5< f0a06203f2fe63f04311467200c99c4ee1926578affected
4d63a25c4523b5d18e5307897d56aff785f43bf5< 6738841f6fcf23e9fc30e2449f32fc84ee19c6f1affected
4d63a25c4523b5d18e5307897d56aff785f43bf5< 5b8e5e28e85a546dfccc3895befe0e823fdd7c89affected
4d63a25c4523b5d18e5307897d56aff785f43bf5< 47e8b73bc35d7c54642f78e498697692f6358996affected
3.18affected
< 3.18unaffected
5.15.113≤ 5.15.*unaffected
6.1.30≤ 6.1.*unaffected
… +2 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-53458

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: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish() When the driver calls cx23885_risc_buffer() to prepare the buffer, the function call dma_alloc_coherent may fail, resulting in a empty buffer risc->cpu. Later when we free the buffer or access the buffer, null ptr deref is triggered. This bug is similar to the following one: https://git.linuxtv.org/media_stage.git/commit/?id=2b064d91440b33fba5b452f2d1b31f13ae911d71. We believe the bug can be also dynamically triggered from user side. Similarly, we fix this by checking the return value of cx23885_risc_buffer() and the value of risc->cpu before buffer free.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未检查cx23885_risc_buffer返回值和risc-cpu值,可能导致空指针取消引用。
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 4d63a25c4523b5d18e5307897d56aff785f43bf5 ~ f0a06203f2fe63f04311467200c99c4ee1926578 -
LinuxLinux 3.18 -

II. Public POCs for CVE-2023-53458

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-53458

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-10-01 · 169 CVEs total

CVE-2025-399198.8 HIGHwifi: mt76: mt7996: add missing check for rx wcid entries
CVE-2025-399188.8 HIGHwifi: mt76: fix linked list corruption
CVE-2025-398967.8 HIGHaccel/ivpu: Prevent recovery work from being queued during device removal
CVE-2025-399247.8 HIGHerofs: fix invalid algorithm for encoded extents
CVE-2025-399277.8 HIGHceph: fix race condition validating r_parent before applying state
CVE-2025-399067.8 HIGHdrm/amd/display: remove oem i2c adapter on finish
CVE-2025-399087.8 HIGHnet: dev_ioctl: take ops lock in hwtstamp lower paths
CVE-2025-398947.5 HIGHnetfilter: br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm
CVE-2025-398977.5 HIGHnet: xilinx: axienet: Add error handling for RX metadata pointer retrieval
CVE-2025-399027.1 HIGHmm/slub: avoid accessing metadata when pointer is invalid in object_err()
CVE-2025-399287.1 HIGHi2c: rtl9300: ensure data length is within supported range
CVE-2022-50465ext4: fix leaking uninitialized memory in fast-commit journal
CVE-2022-50456btrfs: fix resolving backrefs for inline extent followed by prealloc
CVE-2022-50458clk: tegra: Fix refcount leak in tegra210_clock_init
CVE-2022-50460cifs: Fix xid leak in cifs_flock()
CVE-2022-50459scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
CVE-2022-50461net: ethernet: ti: am65-cpsw: Fix PM runtime leakage in am65_cpsw_nuss_ndo_slave_open()
CVE-2022-50462MIPS: vpe-mt: fix possible memory leak while module exiting
CVE-2023-53490mptcp: fix disconnect vs accept race
CVE-2023-53489tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.

Showing top 20 of 169 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-53458

No comments yet


Leave a comment