{"id":"CVE-2026-139334","state":"PUBLISHED","title":"btrfs: drop the extent maps of the written part of a failed ordered extent","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: drop the extent maps of the written part of a failed ordered extent\n\nIf a truncated ordered extent fails to complete, the extent maps for the\npart that was written are kept while the extent itself is freed below.\nA later read can follow them to blocks that have been reallocated.\nDrop the maps for the whole range on error.","publishedAt":"2026-11-30T13:33:48.115Z","updatedAt":"2026-11-30T13:33:48.115Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"08c2be9ee68948d270d09d13bb213643cff71ab4","versionType":"git"},{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"0bc898a1266f636aba1dff812cdc6173e7fb0967","versionType":"git"},{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"a7dbe28d630cc912bc3a4029d03568010b9a0b58","versionType":"git"},{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"bca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/inode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/inode.c"]}],"references":["https://git.kernel.org/stable/c/08c2be9ee68948d270d09d13bb213643cff71ab4","https://git.kernel.org/stable/c/0bc898a1266f636aba1dff812cdc6173e7fb0967","https://git.kernel.org/stable/c/a7dbe28d630cc912bc3a4029d03568010b9a0b58","https://git.kernel.org/stable/c/bca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74"],"weaknesses":[],"ingestedAt":"2026-11-30T13:48:04.491Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139334.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139334","state":"PUBLISHED","datePublished":"2026-11-30T13:33:48.115Z","dateUpdated":"2026-11-30T13:33:48.115Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.927Z"},"containers":{"cna":{"title":"btrfs: drop the extent maps of the written part of a failed ordered extent","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: drop the extent maps of the written part of a failed ordered extent\n\nIf a truncated ordered extent fails to complete, the extent maps for the\npart that was written are kept while the extent itself is freed below.\nA later read can follow them to blocks that have been reallocated.\nDrop the maps for the whole range on error."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"08c2be9ee68948d270d09d13bb213643cff71ab4","versionType":"git"},{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"0bc898a1266f636aba1dff812cdc6173e7fb0967","versionType":"git"},{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"a7dbe28d630cc912bc3a4029d03568010b9a0b58","versionType":"git"},{"version":"77cef2ec5484564eca6bd12a2b4a1e88fd766fbc","status":"affected","lessThan":"bca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/inode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/inode.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/08c2be9ee68948d270d09d13bb213643cff71ab4"},{"url":"https://git.kernel.org/stable/c/0bc898a1266f636aba1dff812cdc6173e7fb0967"},{"url":"https://git.kernel.org/stable/c/a7dbe28d630cc912bc3a4029d03568010b9a0b58"},{"url":"https://git.kernel.org/stable/c/bca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:33:48.115Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}