# CVE-2026-89793: ublk: clear VM\_MAYWRITE on read-only ublk char device mmap

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T09:54:33.678Z
- **Modified:** 2026-11-23T08:17:20.900Z

## Who should check

- Anyone running Linux \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 82a59bd763d27bb383c2491c24a9a72fbda9004d; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< be41733c24be58e2a1ef718c80fafdfb98a40d5e; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 5befd06a72216869b607cf7724a4f16c6a2d3999; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< e373c1acdbcf88cec533ece9f589020adaed0a78; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< fa5e1bc673ca59722608af67b27e65dba0c97926; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 6e2b571b0a54755b06e092501913e1dfefe75d6c
- Anyone running Linux 6.0

## Description

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

ublk: clear VM\_MAYWRITE on read-only ublk char device mmap

ublk\_ch\_mmap() rejects mmap requests with VM\_WRITE set, but never
clears VM\_MAYWRITE on the resulting read-only mapping. This allows
a userspace daemon to mmap the per-queue command buffer PROT\_READ,
then upgrade it to PROT\_WRITE via mprotect(), since VM\_MAYWRITE was
never cleared.

The command buffer holds struct ublksrv\_io\_desc entries that are
kernel-written ABI; a writable mapping lets an unprivileged daemon
process corrupt fields such as addr, op\_flags, nr\_sectors, and
start\_sector.

Same bug class as the drm/panthor and drm/vc4 VM\_MAYWRITE fixes, and
the 2026-08-13 ptp/vmclock fix (a5edadbae57e).

Verified via mprotect() PoC: before the fix, a PROT\_READ mapping can
be upgraded to PROT\_READ\|PROT\_WRITE and a write into the command
buffer corrupts io\_desc fields (confirmed under KASAN). After the
fix, mprotect() returns -EACCES.

## Affected and fixed versions

- Linux: \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 82a59bd763d27bb383c2491c24a9a72fbda9004d; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< be41733c24be58e2a1ef718c80fafdfb98a40d5e; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 5befd06a72216869b607cf7724a4f16c6a2d3999; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< e373c1acdbcf88cec533ece9f589020adaed0a78; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< fa5e1bc673ca59722608af67b27e65dba0c97926; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 6e2b571b0a54755b06e092501913e1dfefe75d6c (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 6e2b571b0a54755b06e092501913e1dfefe75d6c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89793.md
Affected: Linux >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 82a59bd763d27bb383c2491c24a9a72fbda9004d; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < be41733c24be58e2a1ef718c80fafdfb98a40d5e; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 5befd06a72216869b607cf7724a4f16c6a2d3999; >= 71f28f3136aff5890cd56de…
Fixed in: Linux 82a59bd763d27bb383c2491c24a9a72fbda9004d, Linux 5befd06a72216869b607cf7724a4f16c6a2d3999, Linux 6e2b571b0a54755b06e092501913e1dfefe75d6c

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-2026-89793 being exploited?

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

### How serious is CVE-2026-89793?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89793?

Linux \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 82a59bd763d27bb383c2491c24a9a72fbda9004d; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< be41733c24be58e2a1ef718c80fafdfb98a40d5e; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 5befd06a72216869b607cf7724a4f16c6a2d3999; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< e373c1acdbcf88cec533ece9f589020adaed0a78; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< fa5e1bc673ca59722608af67b27e65dba0c97926; \>= 71f28f3136aff5890cd56de78abc673f8393cad9, \< 6e2b571b0a54755b06e092501913e1dfefe75d6c; Linux 6.0.

### Is there a fix for CVE-2026-89793?

Yes. Fixed in Linux 82a59bd763d27bb383c2491c24a9a72fbda9004d, Linux 5befd06a72216869b607cf7724a4f16c6a2d3999, Linux 6e2b571b0a54755b06e092501913e1dfefe75d6c. Upgrade Linux to 6e2b571b0a54755b06e092501913e1dfefe75d6c or later.

### How do I check if I'm affected by CVE-2026-89793?

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/82a59bd763d27bb383c2491c24a9a72fbda9004d>
- other: <https://git.kernel.org/stable/c/be41733c24be58e2a1ef718c80fafdfb98a40d5e>
- other: <https://git.kernel.org/stable/c/5befd06a72216869b607cf7724a4f16c6a2d3999>
- other: <https://git.kernel.org/stable/c/e373c1acdbcf88cec533ece9f589020adaed0a78>
- other: <https://git.kernel.org/stable/c/fa5e1bc673ca59722608af67b27e65dba0c97926>
- other: <https://git.kernel.org/stable/c/6e2b571b0a54755b06e092501913e1dfefe75d6c>

## 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-2026-89793>

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