CVE-2023-53458
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
01/10/2025
Last modified:
16/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()<br />
<br />
When the driver calls cx23885_risc_buffer() to prepare the buffer, the<br />
function call dma_alloc_coherent may fail, resulting in a empty buffer<br />
risc->cpu. Later when we free the buffer or access the buffer, null ptr<br />
deref is triggered.<br />
<br />
This bug is similar to the following one:<br />
https://git.linuxtv.org/media_stage.git/commit/?id=2b064d91440b33fba5b452f2d1b31f13ae911d71.<br />
<br />
We believe the bug can be also dynamically triggered from user side.<br />
Similarly, we fix this by checking the return value of cx23885_risc_buffer()<br />
and the value of risc->cpu before buffer free.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.18 (including) | 5.15.113 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.30 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.3.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



