CVE-2026-74354

Source
https://cve.org/CVERecord?id=CVE-2026-74354
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74354.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74354
Downstream
Published
2026-08-15T05:58:40.067Z
Modified
2026-08-16T03:48:49.810599666Z
Summary
bpf: Take mmap_lock in zap_pages()
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Take mmaplock in zappages()

zapvmarange() requires the owning mm's mmap_lock to be held.

Taking mmapreadlock under arena->lock would AB-BA against arenavmclose() and arenamapmmap(), both of which run with mmapwritelock held and then acquire arena->lock. Instead drop arena->lock, mmgetnotzero() the vma's mm, take mmapreadlock, and re-resolve the vma via find_vma() since it may have been unmapped or replaced while waiting.

Track processed vmls with a per-call generation in vml->zapgen and serialize zappages() callers with a new arena->zap_mutex so concurrent callers on different uaddr ranges do not mark each other's vmls processed before the zap is done.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74354.json",
    "cna_assigner": "Linux"
}
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
317460317a02a1af512697e6e964298dedd8a163
Fixed
36b1d997866f6083d33934983aa2ce0a184ed642
Fixed
80b89d0226a05e8b67969de99c31b51fcd54f76a

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
7.1.5

Database specific

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