CVE-2024-42075

Source
https://nvd.nist.gov/vuln/detail/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:38Z
Modified
2025-10-22T00:19:04.074232Z
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.

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
317460317a02a1af512697e6e964298dedd8a163
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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.8