CVE-2026-53084

Source
https://cve.org/CVERecord?id=CVE-2026-53084
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53084.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-53084
Downstream
Published
2026-06-24T16:30:24.356Z
Modified
2026-07-16T03:32:12.814746532Z
Summary
bpf: return VMA snapshot from task_vma iterator
Details

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:

vmlock -> irwsem -> mmaplock -> vmlock

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 vmmm and vmfile pointers (see BTFTYPESAFETRUSTEDORNULL in verifier.c). vmfile is reference- counted with getfile() under the lock and released via fput() on the next iteration or in destroy(). vmmm is already correct because lockvmaunderrcu() verifies vma->vm_mm == mm. All other pointers are left as-is by memcpy() since the verifier treats them as untrusted.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53084.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4ac4546821584736798aaa9e97da9f6eaf689ea3
Fixed
83b8802c034e843b83a3e1ef6f30cdd4e9ec291c
Fixed
592226d138378601ae28eb890e2bbc23ec3600f7
Fixed
13860ca37b8df0b856ee1ce3bdbd7c327d5f53e8
Fixed
4cbee026db54cad39c39db4d356100cb133412b3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53084.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.91
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53084.json"