{
  "id": "CVE-2026-53085",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53085",
  "published_at": "2026-06-24T16:30:25.232Z",
  "title": "bpf: fix mm lifecycle in open-coded task_vma iterator",
  "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\nbpf: fix mm lifecycle in open-coded task_vma iterator\n\nThe open-coded task_vma iterator reads task-\u003emm locklessly and acquires\nmmap_read_trylock() but never calls mmget(). If the task exits\nconcurrently, the mm_struct can be freed as it is not\nSLAB_TYPESAFE_BY_RCU, resulting in a use-after-free.\n\nSafely read task-\u003emm with a trylock on alloc_lock and acquire an mm\nreference. Drop the reference via bpf_iter_mmput_async() in _destroy()\nand error paths. bpf_iter_mmput_async() is a local wrapper around\nmmput_async() with a fallback to mmput() on !CONFIG_MMU.\n\nReject irqs-disabled contexts (including NMI) up front. Operations used\nby _next() and _destroy() (mmap_read_unlock, bpf_iter_mmput_async)\ntake spinlocks with IRQs disabled (pool-\u003elock, pi_lock). Running from\nNMI or from a tracepoint that fires with those locks held could\ndeadlock.\n\nA trylock on alloc_lock is used instead of the blocking task_lock()\n(get_task_mm) to avoid a deadlock when a softirq BPF program iterates\na task that already holds its alloc_lock on the same CPU.",
  "cwe": "CWE-825",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \u003c 239cec25a22662dbd80f57d94b38178c8be95269",
          "\u003e= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \u003c d0862de7c866c5bd7c32531f66738c21197af888",
          "\u003e= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \u003c 43683bb280330f3d36f0f2a3932a4867b9603e9c",
          "\u003e= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \u003c d8e27d2d22b6e2df3a0125b8c08e9aace38c954c"
        ],
        "fixed_in": [
          "239cec25a22662dbd80f57d94b38178c8be95269",
          "d0862de7c866c5bd7c32531f66738c21197af888",
          "43683bb280330f3d36f0f2a3932a4867b9603e9c",
          "d8e27d2d22b6e2df3a0125b8c08e9aace38c954c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.91",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 239cec25a22662dbd80f57d94b38178c8be95269 or d0862de7c866c5bd7c32531f66738c21197af888 or 43683bb280330f3d36f0f2a3932a4867b9603e9c or d8e27d2d22b6e2df3a0125b8c08e9aace38c954c or later.",
      "Upgrade Linux to 0 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
