CVE-2023-53210: md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()

Published Sep 15, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

md/raid5-cache: fix null-ptr-deref for r5lflushstripetoraid()

r5lflushstripetoraid() will check if the list 'flushingios' is empty, and then submit 'flushbio', however, r5llogflushendio() is clearing the list first and then clear the bio, which will cause null-ptr-deref:

T1: submit flush io raid5d handleactivestripes r5lflushstripetoraid // list is empty // add 'ioendios' to the list bioinit submitbio // io1

T2: io1 is done r5llogflushendio listsplicetailinit // clear the list T3: submit new flush io ... r5lflushstripetoraid // list is empty // add 'ioendios' to the list bioinit biouninit // clear bio->biblkg submitbio // null-ptr-deref

Fix this problem by clearing bio before clearing the list in r5llogflushendio().

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=5.18<6.1.53
Linux Linux kernel>=6.2<6.4.16
Linux Linux kernel>=6.5<6.5.3

Event History

Sep 15, 2025
CVE Published
via MITRE·02:21 PM
Data Sourced
via MITRE·02:21 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53210?

CVE-2023-53210 has been classified as having a medium severity due to potential null pointer dereference issues.

2

What software is affected by CVE-2023-53210?

CVE-2023-53210 affects the Linux kernel versions from 5.18 to 6.1.53, 6.2 to 6.4.16, and 6.5 to 6.5.3.

3

How do I fix CVE-2023-53210?

To mitigate CVE-2023-53210, update your Linux kernel to a patched version released after the vulnerability was addressed.

4

Can CVE-2023-53210 lead to system crashes?

Yes, CVE-2023-53210 can potentially cause system instability due to null pointer dereference.

5

Is CVE-2023-53210 exploitable remotely?

CVE-2023-53210 does not have known remote exploitation vectors but should still be addressed to prevent local impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203