Bug 2396425 (CVE-2023-53380) - CVE-2023-53380 kernel: md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
Summary: CVE-2023-53380 kernel: md/raid10: fix null-ptr-deref of mreplace in raid10_sy...
Keywords:
Status: NEW
Alias: CVE-2023-53380
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 14:04 UTC by OSIDB Bzimport
Modified: 2025-09-18 16:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-18 14:04:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request

There are two check of 'mreplace' in raid10_sync_request(). In the first
check, 'need_replace' will be set and 'mreplace' will be used later if
no-Faulty 'mreplace' exists, In the second check, 'mreplace' will be
set to NULL if it is Faulty, but 'need_replace' will not be changed
accordingly. null-ptr-deref occurs if Faulty is set between two check.

Fix it by merging two checks into one. And replace 'need_replace' with
'mreplace' because their values are always the same.


Note You need to log in before you can comment on or make changes to this bug.