# CVE-2025-68373: md: avoid repeated calls to del\_gendisk

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T10:33:03.375Z
- **Modified:** 2026-10-13T11:10:00.203Z

## Who should check

- Anyone running Linux \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< b4c5cf406062ad44cd178269571530c6435b2f3b; \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< f0fae1debeb9102398ddf2ef69b4f5d395afafed; \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< 90e3bb44c0a86e245d8e5c6520206fa113acb1ee
- Anyone running Linux 6.17

## Description

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

md: avoid repeated calls to del\_gendisk

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

Oops: general protection fault, probably for non-canonical address 0xdead000000000122
RIP: 0010:bdi\_unregister+0x4b/0x170
Call Trace:
 \<TASK\>
 \_\_del\_gendisk+0x356/0x3e0
 mddev\_unlock+0x351/0x360
 rdev\_attr\_store+0x217/0x280
 kernfs\_fop\_write\_iter+0x14a/0x210
 vfs\_write+0x29e/0x550
 ksys\_write+0x74/0xf0
 do\_syscall\_64+0xbb/0x380
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7ff5250a177e

The sequence is:
1. rdev remove path gets reconfig\_mutex
2. rdev remove path release reconfig\_mutex in mddev\_unlock
3. md stop calls do\_md\_stop and sets MD\_DELETED
4. rdev remove path calls del\_gendisk because MD\_DELETED is set
5. md stop path release reconfig\_mutex and calls del\_gendisk again

So there is a race condition we should resolve. This patch adds a
flag MD\_DO\_DELETE to avoid the race condition.

## Affected and fixed versions

- Linux: \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< b4c5cf406062ad44cd178269571530c6435b2f3b; \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< f0fae1debeb9102398ddf2ef69b4f5d395afafed; \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< 90e3bb44c0a86e245d8e5c6520206fa113acb1ee (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 90e3bb44c0a86e245d8e5c6520206fa113acb1ee or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68373. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68373.md
Affected: Linux >= 9e59d609763f70a992a8f3808dabcce60f14eb5c, < b4c5cf406062ad44cd178269571530c6435b2f3b; >= 9e59d609763f70a992a8f3808dabcce60f14eb5c, < f0fae1debeb9102398ddf2ef69b4f5d395afafed; >= 9e59d609763f70a992a8f3808dabcce60f14eb5c, < 90e3bb44c0a86e245d8e5c6520206fa113acb1ee; Linux 6.17
Fixed in: Linux 90e3bb44c0a86e245d8e5c6520206fa113acb1ee

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68373 being exploited?

There is no confirmed exploitation: CVE-2025-68373 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68373?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68373?

Linux \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< b4c5cf406062ad44cd178269571530c6435b2f3b; \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< f0fae1debeb9102398ddf2ef69b4f5d395afafed; \>= 9e59d609763f70a992a8f3808dabcce60f14eb5c, \< 90e3bb44c0a86e245d8e5c6520206fa113acb1ee; Linux 6.17.

### Is there a fix for CVE-2025-68373?

Yes. Fixed in Linux 90e3bb44c0a86e245d8e5c6520206fa113acb1ee. Upgrade Linux to 90e3bb44c0a86e245d8e5c6520206fa113acb1ee or later.

### How do I check if I'm affected by CVE-2025-68373?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b4c5cf406062ad44cd178269571530c6435b2f3b>
- other: <https://git.kernel.org/stable/c/f0fae1debeb9102398ddf2ef69b4f5d395afafed>
- other: <https://git.kernel.org/stable/c/90e3bb44c0a86e245d8e5c6520206fa113acb1ee>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68373>

HTML: <https://flawdb.com/CVE-2025-68373> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68373>
