# CVE-2026-53401: fbdev: omap2: fix use-after-free in omapfb\_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)
- **CWE:** CWE-416
- **Published:** 2026-07-19T12:02:01.209Z
- **Modified:** 2026-10-30T13:19:17.280Z

## Who should check

- Anyone running Linux \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< a1a00f664a409b3412f9e1408c12890cffe50362; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 5e10b1747547c3815e90d28166e92144835e065f; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 986d5fafb73b8b866651399934b66d690f49135a; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 8363c219d88e78daaee5665117a0380442989338; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 7958e67375aa111522086286bba13cfc0816ce8d
- Anyone running Linux 2.6.36

## Description

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

fbdev: omap2: fix use-after-free in omapfb\_mmap

omapfb\_mmap() has a race condition with OMAPFB\_SETUP\_PLANE ioctl that
can lead to use-after-free:

The fb\_mmap() entry point holds mm\_lock but not lock (fb\_info-\>lock),
while ioctl handlers like OMAPFB\_SETUP\_PLANE hold lock but not mm\_lock.
This allows concurrent execution.

In omapfb\_mmap():
1. rg = omapfb\_get\_mem\_region(ofbi-\>region);      // Get old region ref
2. start = omapfb\_get\_region\_paddr(ofbi);          // Read from NEW region
3. len = fix-\>smem\_len;                             // Read from NEW region
4. vm\_iomap\_memory(vma, start, len);               // Map NEW region memory
5. atomic\_inc(&rg-\>map\_count);                      // Increment OLD region!

Concurrently, OMAPFB\_SETUP\_PLANE can:
- Reassign ofbi-\>region = new\_rg
- Update fix-\>smem\_len
- OMAPFB\_SETUP\_MEM then checks NEW region's map\_count (0!) and frees it

This leaves userspace with a mapping to freed physical memory.

The fix is to read all required values (start, len) from the same
region reference (rg) that will have its map\_count incremented,
preventing the region from being freed while still mapped.

## Affected and fixed versions

- Linux: \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< a1a00f664a409b3412f9e1408c12890cffe50362; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 5e10b1747547c3815e90d28166e92144835e065f; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 986d5fafb73b8b866651399934b66d690f49135a; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 8363c219d88e78daaee5665117a0380442989338; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 7958e67375aa111522086286bba13cfc0816ce8d (cvelist)
- Linux: 2.6.36 (cvelist)

## Mitigation

- Upgrade Linux to 7958e67375aa111522086286bba13cfc0816ce8d 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-53401. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53401.md
Affected: Linux >= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, < a1a00f664a409b3412f9e1408c12890cffe50362; >= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, < 5e10b1747547c3815e90d28166e92144835e065f; >= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, < 986d5fafb73b8b866651399934b66d690f49135a; >= 078ff546a806b2c2ab74c25…
Fixed in: Linux 5e10b1747547c3815e90d28166e92144835e065f, Linux 986d5fafb73b8b866651399934b66d690f49135a, Linux 8363c219d88e78daaee5665117a0380442989338, Linux 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8, Linux 7958e67375aa111522086286bba13cfc0816ce8d

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

There is no confirmed exploitation: CVE-2026-53401 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-53401?

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

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

Linux \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< a1a00f664a409b3412f9e1408c12890cffe50362; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 5e10b1747547c3815e90d28166e92144835e065f; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 986d5fafb73b8b866651399934b66d690f49135a; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 8363c219d88e78daaee5665117a0380442989338; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8; \>= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \< 7958e67375aa111522086286bba13cfc0816ce8d; Linux 2.6.36.

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

Yes. Fixed in Linux 5e10b1747547c3815e90d28166e92144835e065f, Linux 986d5fafb73b8b866651399934b66d690f49135a, Linux 8363c219d88e78daaee5665117a0380442989338, Linux 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8, Linux 7958e67375aa111522086286bba13cfc0816ce8d. Upgrade Linux to 7958e67375aa111522086286bba13cfc0816ce8d or later.

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

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/6eb6ebcc8590007ad59ddccc8b5f9201655b33f8>
- patch: <https://git.kernel.org/stable/c/7958e67375aa111522086286bba13cfc0816ce8d>
- other: <https://git.kernel.org/stable/c/a1a00f664a409b3412f9e1408c12890cffe50362>
- other: <https://git.kernel.org/stable/c/5e10b1747547c3815e90d28166e92144835e065f>
- other: <https://git.kernel.org/stable/c/986d5fafb73b8b866651399934b66d690f49135a>
- other: <https://git.kernel.org/stable/c/8363c219d88e78daaee5665117a0380442989338>

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

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