CVE-2024-42075: Linux kernel · bpf: Fix remap of arena.
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability has been implemented by adding reference counting to the BPF arena logic to handle multiple mmap events correctly. Users should apply the official patches or update to fixed kernel versions listed in the affected versions. Since this is not a cloud service, remediation requires updating the affected Linux kernel versions. No additional mitigation steps are indicated beyond applying the fix.
Description
CVE-2024-42075 is a high-severity vulnerability in the Linux kernel's BPF subsystem related to improper handling of the remap of arena memory. The flaw involves the BPF arena logic not accounting for the mremap operation, which could lead to a use-after-free condition. This issue has been fixed by adding a reference count for multiple mmap events to prevent the use-after-free during arena_vm_close. The vulnerability affects specific Linux kernel versions used in various Ubuntu LTS releases.
References
- ubuntu.com/security/CVE-2024-42075 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-42075 (opens in a new tab)
- git.kernel.org/linus/b90d77e5fd784ada62ddd714d15ee2400c28e1cf (opens in a new tab)
- git.kernel.org/stable/c/87496a1b01e8e2e399428c0db25e106f7961d01e (opens in a new tab)
- git.kernel.org/stable/c/b90d77e5fd784ada62ddd714d15ee2400c28e1cf (opens in a new tab)