CVE-2024-42075

Source
https://cve.org/CVERecord?id=CVE-2024-42075
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42075.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42075
Downstream
Published
2024-07-29T15:52:38.154Z
Modified
2026-03-12T07:50:09.982165Z
Summary
bpf: Fix remap of arena.
Details

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

bpf: Fix remap of arena.

The bpf arena logic didn't account for mremap operation. Add a refcnt for multiple mmap events to prevent use-after-free in arenavmclose.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42075.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
317460317a02a1af512697e6e964298dedd8a163
Fixed
87496a1b01e8e2e399428c0db25e106f7961d01e
Fixed
b90d77e5fd784ada62ddd714d15ee2400c28e1cf

Affected versions

v6.*
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.8
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7

Database specific

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