CVE-2023-53380
Description
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.
How to fix
- linux linux_kernel5.4.251, 5.10.188, 5.15.121, 6.1.39, 6.3.13, 6.4.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 4.20 ≤ v < 5.4.251, 5.5 ≤ v < 5.10.188, 5.11 ≤ v < 5.15.121, 5.16 ≤ v < 6.1.39, 6.2 ≤ v < 6.3.13, 6.4 ≤ v < 6.4.4 | 5.4.251, 5.10.188, 5.15.121, 6.1.39, 6.3.13, 6.4.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.