CVE-2025-68373: md: avoid repeated calls to del_gendisk

Published Dec 24, 2025
·
Updated

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

md: avoid repeated calls to delgendisk

There is a uaf problem which is found by case 23rdev-lifetime:

Oops: general protection fault, probably for non-canonical address 0xdead000000000122 RIP: 0010:bdiunregister+0x4b/0x170 Call Trace: <TASK> delgendisk+0x356/0x3e0 mddevunlock+0x351/0x360 rdevattrstore+0x217/0x280 kernfsfopwriteiter+0x14a/0x210 vfswrite+0x29e/0x550 ksyswrite+0x74/0xf0 dosyscall64+0xbb/0x380 entrySYSCALL64afterhwframe+0x77/0x7f RIP: 0033:0x7ff5250a177e

The sequence is: 1. rdev remove path gets reconfigmutex 2. rdev remove path release reconfigmutex in mddevunlock 3. md stop calls domdstop and sets MDDELETED 4. rdev remove path calls delgendisk because MDDELETED is set 5. md stop path release reconfigmutex and calls delgendisk again

So there is a race condition we should resolve. This patch adds a flag MDDODELETE to avoid the race condition.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 24, 2025
CVE Published
via MITRE·10:33 AM
Data Sourced
via MITRE·10:33 AM
Description
Data Sourced
via NVD·11:16 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-68373?

CVE-2025-68373 is classified as a high-severity vulnerability due to its potential impact on system stability and security.

2

How do I fix CVE-2025-68373?

To fix CVE-2025-68373, update your Linux kernel to the latest version where the vulnerability has been resolved.

3

What are the potential impacts of CVE-2025-68373?

The potential impacts of CVE-2025-68373 include system crashes and denial of service due to memory management issues.

4

Which versions of the Linux kernel are affected by CVE-2025-68373?

CVE-2025-68373 affects various versions of the Linux kernel prior to the patch being released.

5

Is CVE-2025-68373 being actively exploited?

As of the latest information, there have been no confirmed reports of active exploitation of CVE-2025-68373.

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