CVE-2026-53084
JSON

5.5medium

bpf: return VMA snapshot from task_vma iterator

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4ac4546821584736798aaa9e97da9f6eaf689ea3 before 83b8802c034e843b83a3e1ef6f30cdd4e9ec291c, from 4ac4546821584736798aaa9e97da9f6eaf689ea3 before 592226d138378601ae28eb890e2bbc23ec3600f7, from 4ac4546821584736798aaa9e97da9f6eaf689ea3 before 13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8, from 4ac4546821584736798aaa9e97da9f6eaf689ea3 before 4cbee026db54cad39c39db4d356100cb133412b3, 6.7
Not affected: before 6.7, from 6.12.91 up to 6.12.*, from 6.18.33 up to 6.18.*, from 7.0.10 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 6.7 before 6.12.91, from 6.13 before 6.18.33, from 6.19 before 7.0.10NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53084 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-53084 changed 2026-11-06Public domain