{"id":"CVE-2026-139610","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:43.437","lastModified":"2026-12-01T06:17:46.603","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs/hfsplus: serialize B-tree close against folio release\n\nB-tree nodes with a zero reference count remain in the node hash until\nfolio reclaim or tree teardown frees them.  The folio release callbacks\nremove nodes while holding hash_lock, but hfs_btree_close() walks and\nfrees the same hash without that lock.  Reclaim can therefore unhash and\nfree a node after close has loaded its pointer, causing a use-after-free\nor double-free.\n\nThe following syzkaller crashes seem to be the same UAF in\n{hfs,hfsplus}_btree_close() (or {hfs,hfsplus}_bnode_unhash()) and follow\nthe same pattern, but do not contain a reproducer to confirm.\n\nDetach each node with hfs_bnode_unhash() while holding hash_lock before\ninspecting and freeing it.  Drop the lock before hfs_bnode_free() so a\nlarge tree is not freed while holding a spinlock.  Apply the same fix to\nthe matching HFS+ implementation."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/hfs/btree.c","fs/hfsplus/btree.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"bc2955a1f757a53206d4df7fdfcebc9c9d3c831f","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"06663fea795aad27ab24f480dacd3e8213d40925","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"41daf8439db9087a4a57dedfceefc49eb45437e5","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"586fff868a2f9efa47fef09227b38d1fe4b6123d","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"170fada4a1781effac912d7e3e368b91745a841a","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"b57bb1f1df39aa175cbfc68b86a4d00249ac1390","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"dce0e0248205bb3dc5b4c6793cd2ecb453152259","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/hfs/btree.c","fs/hfsplus/btree.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","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/06663fea795aad27ab24f480dacd3e8213d40925","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/170fada4a1781effac912d7e3e368b91745a841a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/41daf8439db9087a4a57dedfceefc49eb45437e5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/586fff868a2f9efa47fef09227b38d1fe4b6123d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b57bb1f1df39aa175cbfc68b86a4d00249ac1390","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bc2955a1f757a53206d4df7fdfcebc9c9d3c831f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dce0e0248205bb3dc5b4c6793cd2ecb453152259","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}