CVE-2026-53084 (GCVE-0-2026-53084)

Vulnerability from cvelistv5 – Published: 2026-06-24 16:30 – Updated: 2026-06-24 16:30
VLAI
Title
bpf: return VMA snapshot from task_vma iterator
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: return VMA snapshot from task_vma iterator Holding the per-VMA lock across the BPF program body creates a lock ordering problem when helpers acquire locks that depend on mmap_lock: vm_lock -> i_rwsem -> mmap_lock -> vm_lock Snapshot the VMA under the per-VMA lock in _next() via memcpy(), then drop the lock before returning. The BPF program accesses only the snapshot. The verifier only trusts vm_mm and vm_file pointers (see BTF_TYPE_SAFE_TRUSTED_OR_NULL in verifier.c). vm_file is reference- counted with get_file() under the lock and released via fput() on the next iteration or in _destroy(). vm_mm is already correct because lock_vma_under_rcu() verifies vma->vm_mm == mm. All other pointers are left as-is by memcpy() since the verifier treats them as untrusted.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 4ac4546821584736798aaa9e97da9f6eaf689ea3 , < 83b8802c034e843b83a3e1ef6f30cdd4e9ec291c (git)
Affected: 4ac4546821584736798aaa9e97da9f6eaf689ea3 , < 592226d138378601ae28eb890e2bbc23ec3600f7 (git)
Affected: 4ac4546821584736798aaa9e97da9f6eaf689ea3 , < 13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8 (git)
Affected: 4ac4546821584736798aaa9e97da9f6eaf689ea3 , < 4cbee026db54cad39c39db4d356100cb133412b3 (git)
Create a notification for this product.
Linux Linux Affected: 6.7
Unaffected: 0 , < 6.7 (semver)
Unaffected: 6.12.91 , ≤ 6.12.* (semver)
Unaffected: 6.18.33 , ≤ 6.18.* (semver)
Unaffected: 7.0.10 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/task_iter.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "83b8802c034e843b83a3e1ef6f30cdd4e9ec291c",
              "status": "affected",
              "version": "4ac4546821584736798aaa9e97da9f6eaf689ea3",
              "versionType": "git"
            },
            {
              "lessThan": "592226d138378601ae28eb890e2bbc23ec3600f7",
              "status": "affected",
              "version": "4ac4546821584736798aaa9e97da9f6eaf689ea3",
              "versionType": "git"
            },
            {
              "lessThan": "13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8",
              "status": "affected",
              "version": "4ac4546821584736798aaa9e97da9f6eaf689ea3",
              "versionType": "git"
            },
            {
              "lessThan": "4cbee026db54cad39c39db4d356100cb133412b3",
              "status": "affected",
              "version": "4ac4546821584736798aaa9e97da9f6eaf689ea3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/task_iter.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.91",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: return VMA snapshot from task_vma iterator\n\nHolding the per-VMA lock across the BPF program body creates a lock\nordering problem when helpers acquire locks that depend on mmap_lock:\n\n  vm_lock -\u003e i_rwsem -\u003e mmap_lock -\u003e vm_lock\n\nSnapshot the VMA under the per-VMA lock in _next() via memcpy(), then\ndrop the lock before returning. The BPF program accesses only the\nsnapshot.\n\nThe verifier only trusts vm_mm and vm_file pointers (see\nBTF_TYPE_SAFE_TRUSTED_OR_NULL in verifier.c). vm_file is reference-\ncounted with get_file() under the lock and released via fput() on the\nnext iteration or in _destroy(). vm_mm is already correct because\nlock_vma_under_rcu() verifies vma-\u003evm_mm == mm. All other pointers\nare left as-is by memcpy() since the verifier treats them as untrusted."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-24T16:30:24.356Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/83b8802c034e843b83a3e1ef6f30cdd4e9ec291c"
        },
        {
          "url": "https://git.kernel.org/stable/c/592226d138378601ae28eb890e2bbc23ec3600f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/4cbee026db54cad39c39db4d356100cb133412b3"
        }
      ],
      "title": "bpf: return VMA snapshot from task_vma iterator",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53084",
    "datePublished": "2026-06-24T16:30:24.356Z",
    "dateReserved": "2026-06-09T07:44:35.383Z",
    "dateUpdated": "2026-06-24T16:30:24.356Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53084",
      "date": "2026-07-02",
      "epss": "0.00156",
      "percentile": "0.05205"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-53084\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-24T17:17:22.577\",\"lastModified\":\"2026-06-24T17:17:22.577\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: return VMA snapshot from task_vma iterator\\n\\nHolding the per-VMA lock across the BPF program body creates a lock\\nordering problem when helpers acquire locks that depend on mmap_lock:\\n\\n  vm_lock -\u003e i_rwsem -\u003e mmap_lock -\u003e vm_lock\\n\\nSnapshot the VMA under the per-VMA lock in _next() via memcpy(), then\\ndrop the lock before returning. The BPF program accesses only the\\nsnapshot.\\n\\nThe verifier only trusts vm_mm and vm_file pointers (see\\nBTF_TYPE_SAFE_TRUSTED_OR_NULL in verifier.c). vm_file is reference-\\ncounted with get_file() under the lock and released via fput() on the\\nnext iteration or in _destroy(). vm_mm is already correct because\\nlock_vma_under_rcu() verifies vma-\u003evm_mm == mm. All other pointers\\nare left as-is by memcpy() since the verifier treats them as untrusted.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/bpf/task_iter.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4ac4546821584736798aaa9e97da9f6eaf689ea3\",\"lessThan\":\"83b8802c034e843b83a3e1ef6f30cdd4e9ec291c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4ac4546821584736798aaa9e97da9f6eaf689ea3\",\"lessThan\":\"592226d138378601ae28eb890e2bbc23ec3600f7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4ac4546821584736798aaa9e97da9f6eaf689ea3\",\"lessThan\":\"13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4ac4546821584736798aaa9e97da9f6eaf689ea3\",\"lessThan\":\"4cbee026db54cad39c39db4d356100cb133412b3\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/bpf/task_iter.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.7\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.7\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.91\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.33\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.10\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4cbee026db54cad39c39db4d356100cb133412b3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/592226d138378601ae28eb890e2bbc23ec3600f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/83b8802c034e843b83a3e1ef6f30cdd4e9ec291c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…