{
  "id": "CVE-2026-53401",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53401",
  "published_at": "2026-07-19T12:02:01.209Z",
  "title": "fbdev: omap2: fix use-after-free in omapfb_mmap",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: omap2: fix use-after-free in omapfb_mmap\n\nomapfb_mmap() has a race condition with OMAPFB_SETUP_PLANE ioctl that\ncan lead to use-after-free:\n\nThe fb_mmap() entry point holds mm_lock but not lock (fb_info-\u003elock),\nwhile ioctl handlers like OMAPFB_SETUP_PLANE hold lock but not mm_lock.\nThis allows concurrent execution.\n\nIn omapfb_mmap():\n1. rg = omapfb_get_mem_region(ofbi-\u003eregion);      // Get old region ref\n2. start = omapfb_get_region_paddr(ofbi);          // Read from NEW region\n3. len = fix-\u003esmem_len;                             // Read from NEW region\n4. vm_iomap_memory(vma, start, len);               // Map NEW region memory\n5. atomic_inc(\u0026rg-\u003emap_count);                      // Increment OLD region!\n\nConcurrently, OMAPFB_SETUP_PLANE can:\n- Reassign ofbi-\u003eregion = new_rg\n- Update fix-\u003esmem_len\n- OMAPFB_SETUP_MEM then checks NEW region's map_count (0!) and frees it\n\nThis leaves userspace with a mapping to freed physical memory.\n\nThe fix is to read all required values (start, len) from the same\nregion reference (rg) that will have its map_count incremented,\npreventing the region from being freed while still mapped.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \u003c a1a00f664a409b3412f9e1408c12890cffe50362",
          "\u003e= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \u003c 5e10b1747547c3815e90d28166e92144835e065f",
          "\u003e= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \u003c 986d5fafb73b8b866651399934b66d690f49135a",
          "\u003e= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \u003c 8363c219d88e78daaee5665117a0380442989338",
          "\u003e= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \u003c 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8",
          "\u003e= 078ff546a806b2c2ab74c25c8edd4c6d4680656a, \u003c 7958e67375aa111522086286bba13cfc0816ce8d"
        ],
        "fixed_in": [
          "a1a00f664a409b3412f9e1408c12890cffe50362",
          "5e10b1747547c3815e90d28166e92144835e065f",
          "986d5fafb73b8b866651399934b66d690f49135a",
          "8363c219d88e78daaee5665117a0380442989338",
          "6eb6ebcc8590007ad59ddccc8b5f9201655b33f8",
          "7958e67375aa111522086286bba13cfc0816ce8d"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.36"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.57",
          "7.1.3",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a1a00f664a409b3412f9e1408c12890cffe50362 or 5e10b1747547c3815e90d28166e92144835e065f or 986d5fafb73b8b866651399934b66d690f49135a or 8363c219d88e78daaee5665117a0380442989338 or 6eb6ebcc8590007ad59ddccc8b5f9201655b33f8 or 7958e67375aa111522086286bba13cfc0816ce8d or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.1.3 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
