CVE-2025-40235 btrfs: directly free partially initialized fs_info in btrfs_check_leaked_roots()
Kernel fix: prevent freeing partially initialized fs_info in btrfs_check_leaked_roots when allocation fails in get_tree_subvol.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/btrfs/super.c"
],
"versions": [
{
"version": "3bb17a25bcb09abbd667c6ac86c7c9109ae82bcd",
"lessThan": "b1c2b4e6ffd307720ab6ce42f6749b0c02ba0a73",
"status": "affected",
"versionType": "git"
},
{
"version": "3bb17a25bcb09abbd667c6ac86c7c9109ae82bcd",
"lessThan": "0c2b2d4d053e9840e6da6ed581befa20309f281a",
"status": "affected",
"versionType": "git"
},
{
"version": "3bb17a25bcb09abbd667c6ac86c7c9109ae82bcd",
"lessThan": "17679ac6df6c4830ba711835aa8cf961be36cfa1",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/btrfs/super.c"
],
"versions": [
{
"version": "6.8",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.8",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.56",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.17.6",
"lessThanOrEqual": "6.17.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation