{"api_version":"1","generated_at":"2026-12-04T03:20:28+00:00","cve":"CVE-2026-143378","urls":{"html":"https://cve.report/CVE-2026-143378","api":"https://cve.report/api/cve/CVE-2026-143378.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143378","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143378"},"summary":{"title":"btrfs: zoned: fix double free of bitmaps on clone failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix double free of bitmaps on clone failure\n\nbtrfs_clone_dev_zone_info() duplicates the original orig_dev->zone_info\nwith kmemdup(), which also copies the seq_zones, empty_zones and\nactive_zones pointers. The clone then replaces them one by one with\nfresh bitmaps. If one of the allocations fails, the error path frees all\nthree pointers, including those not yet replaced, which still point to\nthe bitmaps owned by the original device.\n\nClear the three pointers right after kmemdup() so the error path only frees\nwhat this function allocated.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:30","updated_at":"2026-12-03 10:18:30"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8c66a6aa59a5df1d672d72b7cd379d897ff73200","name":"https://git.kernel.org/stable/c/8c66a6aa59a5df1d672d72b7cd379d897ff73200","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1c1b485bf2a79180e41204ac93b73f4731bb3557","name":"https://git.kernel.org/stable/c/1c1b485bf2a79180e41204ac93b73f4731bb3557","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c8b32df27f50d28e3ef2601e0ef578e47dc72e12","name":"https://git.kernel.org/stable/c/c8b32df27f50d28e3ef2601e0ef578e47dc72e12","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d327f5adaf1af9cb399f988570f57e784481863d","name":"https://git.kernel.org/stable/c/d327f5adaf1af9cb399f988570f57e784481863d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143378","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143378","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 21e61ec6d0bb786818490e926aa9aeb4de95ad0d d327f5adaf1af9cb399f988570f57e784481863d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 21e61ec6d0bb786818490e926aa9aeb4de95ad0d 1c1b485bf2a79180e41204ac93b73f4731bb3557 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 21e61ec6d0bb786818490e926aa9aeb4de95ad0d c8b32df27f50d28e3ef2601e0ef578e47dc72e12 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 21e61ec6d0bb786818490e926aa9aeb4de95ad0d 8c66a6aa59a5df1d672d72b7cd379d897ff73200 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad88cabcec942c033f980cd1e28d56ecdaf5f3b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0.9 6.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143378","cve":"CVE-2026-143378","epss":"0.003680000","percentile":"0.327720000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/btrfs/zoned.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d327f5adaf1af9cb399f988570f57e784481863d","status":"affected","version":"21e61ec6d0bb786818490e926aa9aeb4de95ad0d","versionType":"git"},{"lessThan":"1c1b485bf2a79180e41204ac93b73f4731bb3557","status":"affected","version":"21e61ec6d0bb786818490e926aa9aeb4de95ad0d","versionType":"git"},{"lessThan":"c8b32df27f50d28e3ef2601e0ef578e47dc72e12","status":"affected","version":"21e61ec6d0bb786818490e926aa9aeb4de95ad0d","versionType":"git"},{"lessThan":"8c66a6aa59a5df1d672d72b7cd379d897ff73200","status":"affected","version":"21e61ec6d0bb786818490e926aa9aeb4de95ad0d","versionType":"git"},{"status":"affected","version":"ad88cabcec942c033f980cd1e28d56ecdaf5f3b8","versionType":"git"},{"lessThan":"6.1","status":"affected","version":"6.0.9","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/btrfs/zoned.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.1"},{"lessThan":"6.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix double free of bitmaps on clone failure\n\nbtrfs_clone_dev_zone_info() duplicates the original orig_dev->zone_info\nwith kmemdup(), which also copies the seq_zones, empty_zones and\nactive_zones pointers. The clone then replaces them one by one with\nfresh bitmaps. If one of the allocations fails, the error path frees all\nthree pointers, including those not yet replaced, which still point to\nthe bitmaps owned by the original device.\n\nClear the three pointers right after kmemdup() so the error path only frees\nwhat this function allocated."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:25.806Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d327f5adaf1af9cb399f988570f57e784481863d"},{"url":"https://git.kernel.org/stable/c/1c1b485bf2a79180e41204ac93b73f4731bb3557"},{"url":"https://git.kernel.org/stable/c/c8b32df27f50d28e3ef2601e0ef578e47dc72e12"},{"url":"https://git.kernel.org/stable/c/8c66a6aa59a5df1d672d72b7cd379d897ff73200"}],"title":"btrfs: zoned: fix double free of bitmaps on clone failure","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143378","datePublished":"2026-12-03T09:22:25.806Z","dateReserved":"2026-12-03T03:10:28.372Z","dateUpdated":"2026-12-03T09:22:25.806Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:30","lastModifiedDate":"2026-12-03 10:18:30","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143378","Ordinal":"1","Title":"btrfs: zoned: fix double free of bitmaps on clone failure","CVE":"CVE-2026-143378","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143378","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix double free of bitmaps on clone failure\n\nbtrfs_clone_dev_zone_info() duplicates the original orig_dev->zone_info\nwith kmemdup(), which also copies the seq_zones, empty_zones and\nactive_zones pointers. The clone then replaces them one by one with\nfresh bitmaps. If one of the allocations fails, the error path frees all\nthree pointers, including those not yet replaced, which still point to\nthe bitmaps owned by the original device.\n\nClear the three pointers right after kmemdup() so the error path only frees\nwhat this function allocated.","Type":"Description","Title":"btrfs: zoned: fix double free of bitmaps on clone failure"}]}}}