CVE-2025-40235 is a Linux kernel vulnerability affecting the Btrfs filesystem. It involves a null pointer dereference within the btrfs_check_leaked_roots() function, which occurs when fs_info->super_copy or fs_info->super_for_commit allocation fails during btrfs_get_tree_subvol(). This leads to an attempt to access uninitialized memory, resulting in a kernel panic. The severity of this vulnerability is moderate. While a kernel panic can cause system instability and denial of service, the attack vector likely requires local access or specific filesystem operations to trigger. The complexity of exploitation is not explicitly detailed but appears to involve specific error handling paths within Btrfs. There is no indication of active exploitation for CVE-2025-40235. No public exploit code is available, nor has it been added to the CISA KEV catalog. Community discussion and media coverage are minimal, suggesting a low level of public awareness or concern regarding this specific vulnerability.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
| Linux | Linux | 6.8CNA affecteddefault affected | |
| Linux | Linux | >= 3bb17a25bcb09abbd667c6ac86c7c9109ae82bcd, < 0c2b2d4d053e9840e6da6ed581befa20309f281a, >= 3bb17a25bcb09abbd667c6ac86c7c9109ae82bcd, < 17679ac6df6c4830ba711835aa8cf961be36cfa1, >= 3bb17a25bcb09abbd667c6ac86c7c9109ae82bcd, < b1c2b4e6ffd307720ab6ce42f6749b0c02ba0a73CNA affecteddefault unaffected |
CVSS data has not been published for this CVE.
Linux kernel (Xilinx) vulnerabilities
May 7, 2026Linux kernel (Azure FIPS) vulnerabilities
Apr 9, 2026Linux kernel (Raspberry Pi) vulnerabilities
Apr 1, 2026Linux kernel (Azure) vulnerabilities
Mar 25, 2026Linux kernel (Azure) vulnerabilities
Mar 25, 2026Linux kernel (AWS) vulnerabilities
Mar 23, 2026Linux kernel (Real-time) vulnerabilities
Mar 17, 2026Linux kernel (FIPS) vulnerabilities
Mar 16, 2026Linux kernel (NVIDIA) vulnerabilities
Mar 16, 2026Linux kernel vulnerabilities
Mar 16, 2026Linux kernel (Azure) vulnerabilities
Feb 24, 2026kernel: btrfs: directly free partially initialized fs_info in btrfs_check_leaked_roots()
Dec 4, 2025