# CVE-2026-53401: fbdev: omap2: fix use-after-free in omapfb\_mmap

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-19 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-53401, DEBIAN-CVE-2026-53401, CGA-2ccr-pfj3-8gr6, CGA-2fr8-5hgx-26qj, CGA-2hmf-5fc8-8h3p, CGA-2p93-q4x6-pg2v, CGA-3m93-9qh7-35q7, CGA-3rr8-2xg8-3x2w, CGA-3xqm-9mg8-6x7g, CGA-4738-r4fp-2gwx, CGA-48jr-q552-g6cq, CGA-4p9q-wm67-p2pg, CGA-5fx4-54c7-pw5r, CGA-5h46-f37r-q8jc, CGA-5mvq-68rf-vjp5, CGA-5p6m-mm5j-hj5w, CGA-624p-6xrx-37hx, CGA-65p4-prp2-9c79, CGA-6635-v7p9-3p7g, CGA-6r44-h7jx-8f55, CGA-6xjj-h226-8frf, CGA-77hw-7m46-qw2m, CGA-7w39-pq5f-hv8c, CGA-95pc-hm4m-h9x8, CGA-99cp-mjjv-9cx2, CGA-9gq4-7m4h-g77v, CGA-9hq9-7xvq-qhjg, CGA-cf24-c8qp-f7x5, CGA-cg9h-xhp5-h6r6, CGA-ch4r-gmx6-xmrp, CGA-cqx7-6jpw-g29g, CGA-g72p-3jf4-c76p, CGA-gg7c-f273-j26h, CGA-gh6j-h2p8-c83j, CGA-hfc4-8gq5-jpq9, CGA-hqc2-rwhm-63p7, CGA-hw89-9xvp-j63m, CGA-j2gm-r8c4-7cfq, CGA-j46j-fv95-cr4q, CGA-j5pv-7vr7-wghr, CGA-m542-cx25-53wm, CGA-mjjw-rxg8-cg5c, CGA-mrg3-2c9x-mxxh, CGA-mvwg-h92h-r5mm, CGA-p4jg-j72m-2cfw, CGA-phvx-372q-28rr, CGA-q53g-p65v-87hj, CGA-q66q-6w5j-h92f, CGA-r7wf-923g-33j6, CGA-rc8q-gpwx-hj65, CGA-rhvf-m59x-84cp, CGA-rpjp-f9jr-jgwx, CGA-v2f7-5j5f-v85h, CGA-v67q-v532-9gmg, CGA-v9wx-frh5-86jp, CGA-vv87-wq8c-86p6, CGA-vwh6-9pwh-qj32, CGA-w29w-7w5c-g6q3, CGA-w6fm-gqmc-cqrm, CGA-w865-m42w-296w, CGA-wmxh-6gg3-wc44, CGA-ww9q-hpm8-2xjm, CGA-x679-hhv5-j7x8, CGA-x9pc-56f6-g34m, CGA-xfw6-wh33-rmpq, CGA-xhcf-267w-pq7m, CGA-xp85-mvph-7652, CGA-xvhr-4qv7-75pq, CGA-2944-4c2q-842p, CGA-9q5v-ghjm-cpc4, CGA-9wjh-r8cp-pcq8, CGA-p23x-5c4q-r3cj, CGA-x8qv-cr87-9p2h, CGA-48fj-34p2-6j5j, CGA-6w6p-v2q4-x22c, CGA-7p47-7r4g-3c7q, CGA-93pc-mxf9-vfcm, CGA-p934-74x7-p5j4, CGA-fmx9-2wpq-8rfx, CGA-p8p9-gcv2-52jx
- Record: https://cvemate.com/vulnerability/CVE-2026-53401 · JSON: https://cvemate.com/vulnerability/CVE-2026-53401/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.14%, percentile 3.544%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 213)

- chainguard hyperv-daemons-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): All versions (No fix recorded) \| \< 6.18.64-r1
- chainguard linux-aws-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-nestkvm-boot-installed (Chainguard): All versions (No fix recorded) \| \< 6.18.64-r1
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)

## References (first 20 of 34)

- <https://git.kernel.org/stable/c/6eb6ebcc8590007ad59ddccc8b5f9201655b33f8>
- <https://git.kernel.org/stable/c/7958e67375aa111522086286bba13cfc0816ce8d>
- <https://ubuntu.com/security/CVE-2026-53401>
- <https://www.cve.org/CVERecord?id=CVE-2026-53401>
- <https://git.kernel.org/linus/7958e67375aa111522086286bba13cfc0816ce8d>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8726-4>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://ubuntu.com/security/notices/USN-8886-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-53401>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53401.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53401>

---

Data as of 2026-12-05T04:59:14.356Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
