CVE-2024-35832: Linux kernel · bcachefs: kvfree bch_fs::snapshots in bch2_fs_snapshots_exit
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium : upgrade to 6.8.0-2001.1 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-2001.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade the Ubuntu linux-raspi-realtime package to 6.8.0-2001.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro Realtime 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=realtime/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 patch is available that fixes the improper memory deallocation by replacing kfree with kvfree for the snapshots in bcachefs. Users should apply the official kernel updates that include this fix. No additional mitigation is required beyond applying the patch.
Description
A vulnerability in the Linux kernel's bcachefs filesystem was resolved where the snapshots allocated by kvzalloc in __snapshot_t_mut were improperly freed using kfree instead of kvfree. This incorrect deallocation could cause a kernel page fault and crash during unmount operations. The issue affects multiple Linux kernel versions and has been assigned CVE-2024-35832 with a CVSS score of 5.5 (high severity).
References
- ubuntu.com/security/CVE-2024-35832 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-35832 (opens in a new tab)
- git.kernel.org/linus/369acf97d6fd5da620d053d0f1878ffe32eff555 (opens in a new tab)
- git.kernel.org/stable/c/56590678791119b9a655202e49898edfb9307271 (opens in a new tab)
- git.kernel.org/stable/c/369acf97d6fd5da620d053d0f1878ffe32eff555 (opens in a new tab)