{"id":"CVE-2026-142914","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:31.387","lastModified":"2026-12-04T04:17:30.647","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()\n\nIf in btrfs_tree_mod_log_insert_root() there is an error in the call to\ntree_mod_log_insert() (the only possible error is -EEXIST, which means we\nhave a bug or some memory corruption maybe) we free all the nodes in the\n'tm_list' array but we don't remove them from the tree-mod-log rbtree,\nwhich can result in use-after-free bugs later.\n\nSo make sure we remove the nodes from the rbtree before freeing them after\nan error."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/btrfs/tree-mod-log.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5de865eebb8330eee19c37b31fb6f315a09d4273","lessThan":"38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6","versionType":"git","status":"affected"},{"version":"5de865eebb8330eee19c37b31fb6f315a09d4273","lessThan":"ece924917ba5d9b76fc27382d3cb958b7dcf24f3","versionType":"git","status":"affected"},{"version":"5de865eebb8330eee19c37b31fb6f315a09d4273","lessThan":"649887e68f913af415cd7a681f2c0c27073dea67","versionType":"git","status":"affected"},{"version":"5de865eebb8330eee19c37b31fb6f315a09d4273","lessThan":"cbbee43ed8aec90bdd8967b893fe3f33c991a485","versionType":"git","status":"affected"},{"version":"5de865eebb8330eee19c37b31fb6f315a09d4273","lessThan":"f5111f6f16696983595fb25b3e62fce06f6feb02","versionType":"git","status":"affected"},{"version":"5de865eebb8330eee19c37b31fb6f315a09d4273","lessThan":"057e3c350a9185df598c88b4081168ed047c9247","versionType":"git","status":"affected"},{"version":"3939448a3adb1a157d4b01ca9082b6a19b6c4a34","versionType":"git","status":"affected"},{"version":"fc2345d56d07227350981e4528a9dc9ca7f1b570","versionType":"git","status":"affected"},{"version":"3.12.14","lessThan":"3.13","versionType":"semver","status":"affected"},{"version":"3.13.7","lessThan":"3.14","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/btrfs/tree-mod-log.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.14","status":"affected"},{"version":"0","lessThan":"3.14","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.0,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/057e3c350a9185df598c88b4081168ed047c9247","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/649887e68f913af415cd7a681f2c0c27073dea67","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cbbee43ed8aec90bdd8967b893fe3f33c991a485","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ece924917ba5d9b76fc27382d3cb958b7dcf24f3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f5111f6f16696983595fb25b3e62fce06f6feb02","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}