CVE-2026-90247 (GCVE-0-2026-90247)
Vulnerability from cvelistv5
Published
2026-09-17 16:07
Modified
2026-10-30 12:34
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix mmap_lock leak in irq_work path stack_map_get_build_id_offset() introduced a per-CPU irq_work to defer mmap_read_unlock() from NMI context, and bpf_find_vma() later reused the same mmap_unlock_work. Both callers only check whether the work is busy before taking mmap_lock, so a nested caller can reuse the slot before the first caller queues it. Two read locks may then be acquired while only one deferred unlock runs, leaking a read lock and blocking exit_mmap(). Reserve the per-CPU slot before mmap_read_trylock(). Use the same wrapper in stackmap and bpf_find_vma() so both callers release the reservation on trylock failure. Keep rejecting the slot while the irq_work remains busy. Release it after the irq_work callback unlocks the mm.
Impacted products
Vendor Product Version
Linux Linux Version: eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version: eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version: eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version: eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version: eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version: eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version: a7f4da875c16f3b8bef0d9ec67528111045bfcd8
Version: f1838da73cccb238b8be4ef464fce0168dc7ba84
Version: 4.19.92   ≤
Version: 5.4.7   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/mmap_unlock_work.h",
            "kernel/bpf/stackmap.c",
            "kernel/bpf/task_iter.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d6d091873e12d1de36d7228c4f452e6cace3a23e",
              "status": "affected",
              "version": "eac9153f2b584c702cea02c1f1a57d85aa9aea42",
              "versionType": "git"
            },
            {
              "lessThan": "b6c9daf6097f9b39162b8e736a6ac7caf5ef6fc8",
              "status": "affected",
              "version": "eac9153f2b584c702cea02c1f1a57d85aa9aea42",
              "versionType": "git"
            },
            {
              "lessThan": "931f62311c058d79f29548f20943969bb441ce87",
              "status": "affected",
              "version": "eac9153f2b584c702cea02c1f1a57d85aa9aea42",
              "versionType": "git"
            },
            {
              "lessThan": "a052ad5edccf5319f50ed955de4368f8318a9f20",
              "status": "affected",
              "version": "eac9153f2b584c702cea02c1f1a57d85aa9aea42",
              "versionType": "git"
            },
            {
              "lessThan": "051f2da26ce377f683b938a3382e0f16d02f3139",
              "status": "affected",
              "version": "eac9153f2b584c702cea02c1f1a57d85aa9aea42",
              "versionType": "git"
            },
            {
              "lessThan": "fa9dcacdcdf487f0ffef64bf67622f1caed509f1",
              "status": "affected",
              "version": "eac9153f2b584c702cea02c1f1a57d85aa9aea42",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a7f4da875c16f3b8bef0d9ec67528111045bfcd8",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f1838da73cccb238b8be4ef464fce0168dc7ba84",
              "versionType": "git"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.92",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.7",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/mmap_unlock_work.h",
            "kernel/bpf/stackmap.c",
            "kernel/bpf/task_iter.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.114",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.92",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix mmap_lock leak in irq_work path\n\nstack_map_get_build_id_offset() introduced a per-CPU irq_work to defer\nmmap_read_unlock() from NMI context, and bpf_find_vma() later reused the\nsame mmap_unlock_work. Both callers only check whether the work is busy\nbefore taking mmap_lock, so a nested caller can reuse the slot before the\nfirst caller queues it. Two read locks may then be acquired while only one\ndeferred unlock runs, leaking a read lock and blocking exit_mmap().\n\nReserve the per-CPU slot before mmap_read_trylock(). Use the same wrapper\nin stackmap and bpf_find_vma() so both callers release the reservation on\ntrylock failure. Keep rejecting the slot while the irq_work remains busy.\nRelease it after the irq_work callback unlocks the mm."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:34:55.059Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d6d091873e12d1de36d7228c4f452e6cace3a23e"
        },
        {
          "url": "https://git.kernel.org/stable/c/b6c9daf6097f9b39162b8e736a6ac7caf5ef6fc8"
        },
        {
          "url": "https://git.kernel.org/stable/c/931f62311c058d79f29548f20943969bb441ce87"
        },
        {
          "url": "https://git.kernel.org/stable/c/a052ad5edccf5319f50ed955de4368f8318a9f20"
        },
        {
          "url": "https://git.kernel.org/stable/c/051f2da26ce377f683b938a3382e0f16d02f3139"
        },
        {
          "url": "https://git.kernel.org/stable/c/fa9dcacdcdf487f0ffef64bf67622f1caed509f1"
        }
      ],
      "title": "bpf: Fix mmap_lock leak in irq_work path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90247",
    "datePublished": "2026-09-17T16:07:49.444Z",
    "dateReserved": "2026-09-11T19:38:34.795Z",
    "dateUpdated": "2026-10-30T12:34:55.059Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…