CVE-2023-53210
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
15/09/2025
Last modified:
14/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()<br />
<br />
r5l_flush_stripe_to_raid() will check if the list &#39;flushing_ios&#39; is<br />
empty, and then submit &#39;flush_bio&#39;, however, r5l_log_flush_endio()<br />
is clearing the list first and then clear the bio, which will cause<br />
null-ptr-deref:<br />
<br />
T1: submit flush io<br />
raid5d<br />
handle_active_stripes<br />
r5l_flush_stripe_to_raid<br />
// list is empty<br />
// add &#39;io_end_ios&#39; to the list<br />
bio_init<br />
submit_bio<br />
// io1<br />
<br />
T2: io1 is done<br />
r5l_log_flush_endio<br />
list_splice_tail_init<br />
// clear the list<br />
T3: submit new flush io<br />
...<br />
r5l_flush_stripe_to_raid<br />
// list is empty<br />
// add &#39;io_end_ios&#39; to the list<br />
bio_init<br />
bio_uninit<br />
// clear bio->bi_blkg<br />
submit_bio<br />
// null-ptr-deref<br />
<br />
Fix this problem by clearing bio before clearing the list in<br />
r5l_log_flush_endio().
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:*:*:*:*:*:*:*:* | 5.18 (including) | 6.1.53 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.4.16 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.5 (including) | 6.5.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



