# CVE-2025-68823: ublk: fix deadlock when reading partition table

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-01-13T15:29:25.392Z
- **Modified:** 2026-06-17T09:59:40.773Z

## Who should check

- Anyone running Linux \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 27bb79b7717b2fbb111a1c13548b2786ee712dca; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 64c0b7e2293757e8320f13434cd809f1c9257a62; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 0460e09a614291f06c008443f47393c37b7358e7; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< c258f5c4502c9667bccf5d76fa731ab9c96687c1
- Anyone running Linux 6.0

## Description

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

ublk: fix deadlock when reading partition table

When one process(such as udev) opens ublk block device (e.g., to read
the partition table via bdev\_open()), a deadlock\[1\] can occur:

1. bdev\_open() grabs disk-\>open\_mutex
2. The process issues read I/O to ublk backend to read partition table
3. In \_\_ublk\_complete\_rq(), blk\_update\_request() or blk\_mq\_end\_request()
   runs bio-\>bi\_end\_io() callbacks
4. If this triggers fput() on file descriptor of ublk block device, the
   work may be deferred to current task's task work (see fput() implementation)
5. This eventually calls blkdev\_release() from the same context
6. blkdev\_release() tries to grab disk-\>open\_mutex again
7. Deadlock: same task waiting for a mutex it already holds

The fix is to run blk\_update\_request() and blk\_mq\_end\_request() with bottom
halves disabled. This forces blkdev\_release() to run in kernel work-queue
context instead of current task work context, and allows ublk server to make
forward progress, and avoids the deadlock.

\[axboe: rewrite comment in ublk\]

## Affected and fixed versions

- Linux: \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 27bb79b7717b2fbb111a1c13548b2786ee712dca; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 64c0b7e2293757e8320f13434cd809f1c9257a62; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 0460e09a614291f06c008443f47393c37b7358e7; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< c258f5c4502c9667bccf5d76fa731ab9c96687c1 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68823.md
Affected: Linux >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 27bb79b7717b2fbb111a1c13548b2786ee712dca; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 64c0b7e2293757e8320f13434cd809f1c9257a62; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7; >= 71f28f3136aff5890cd56de…
Fixed in: Linux 27bb79b7717b2fbb111a1c13548b2786ee712dca, Linux 64c0b7e2293757e8320f13434cd809f1c9257a62, Linux 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7, Linux 0460e09a614291f06c008443f47393c37b7358e7

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-68823 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 27bb79b7717b2fbb111a1c13548b2786ee712dca; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 64c0b7e2293757e8320f13434cd809f1c9257a62; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 0460e09a614291f06c008443f47393c37b7358e7; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< c258f5c4502c9667bccf5d76fa731ab9c96687c1; Linux 6.0.

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

Yes. Fixed in Linux 27bb79b7717b2fbb111a1c13548b2786ee712dca, Linux 64c0b7e2293757e8320f13434cd809f1c9257a62, Linux 9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7, Linux 0460e09a614291f06c008443f47393c37b7358e7. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/64c0b7e2293757e8320f13434cd809f1c9257a62>
- patch: <https://git.kernel.org/stable/c/9bcc47343ee0ef346aa7b2b460c8ff56bd882fe7>
- patch: <https://git.kernel.org/stable/c/0460e09a614291f06c008443f47393c37b7358e7>
- patch: <https://git.kernel.org/stable/c/c258f5c4502c9667bccf5d76fa731ab9c96687c1>
- other: <https://git.kernel.org/stable/c/27bb79b7717b2fbb111a1c13548b2786ee712dca>

## 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-68823>

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