{"id":"CVE-2026-93095","aliases":["CVE-2026-93095"],"related":[],"kind":"vulnerability","state":"published","title":"hfsplus: validate thread record before delete key rebuild","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfsplus: validate thread record before delete key rebuild\n\nhfsplus_delete_cat() is called with str == NULL when the last open\nreference to an unlinked HFS+ hardlink backing inode is closed. In that\ncase, the function finds the catalog thread by CNID and rebuilds the\ncatalog key from thread.nodeName.\n\nThat reconstruction path reads thread.nodeName.length directly from the\ncatalog B-tree into fd.search_key and then copies length * 2 bytes into\nfd.search_key->cat.name.unicode. It does not first check that the found\nrecord is a thread record or that its size matches the thread name.\n\nA corrupted image can therefore provide an oversized thread name length\nand make hfs_bnode_read() write past the catalog search-key allocation.\n\nRead the CNID record through hfsplus_brec_read_cat(), which bounds the\nrecord read to sizeof(hfsplus_cat_entry) and verifies that a thread\nrecord's size exactly matches nodeName.length. Together, these checks\nensure an accepted thread name fits HFSPLUS_MAX_STRLEN. Reject non-thread\nrecords before building the delete key from the validated thread name.\n\nShare the thread-record-type helper between hfsplus_find_cat() and\nhfsplus_delete_cat().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfsplus: validate thread record before delete key rebuild\n\nhfsplus_delete_cat() is called with str == NULL when the last open\nreference to an unlinked HFS+ hardlink backing inode is closed. In that\ncase, the function finds the catalog thread by CNID and rebuilds the\ncatalog key from thread.nodeName.\n\nThat reconstruction path reads thread.nodeName.length directly from the\ncatalog B-tree into fd.search_key and then copies length * 2 bytes into\nfd.search_key->cat.name.unicode. It does not first check that the found\nrecord is a thread record or that its size matches the thread name.\n\nA corrupted image can therefore provide an oversized thread name length\nand make hfs_bnode_read() write past the catalog search-key allocation.\n\nRead the CNID record through hfsplus_brec_read_cat(), which bounds the\nrecord read to sizeof(hfsplus_cat_entry) and verifies that a thread\nrecord's size exactly matches nodeName.length. Together, these checks\nensure an accepted thread name fits HFSPLUS_MAX_STRLEN. Reject non-thread\nrecords before building the delete key from the validated thread name.\n\nShare the thread-record-type helper between hfsplus_find_cat() and\nhfsplus_delete_cat().","source":"cvelist"}],"published":"2026-09-17T16:11:09.694Z","modified":"2026-10-19T10:16:59.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"33cda0036bc683fc888c20b04a5fc030e3e8413b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"b9729c51a8b67f8b20b8a8cf395da4be63a0c15b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"af48abc1b00d865c3f4c4d76b901c44115cb7162","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"e20f3b749ad241df77ec1c3e13a9c22209aa1eb3","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7898beee166c1145c0bca364d687b8437435bf1a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"e31985c67ba00a59d9b1340af473c1dbe6c87856","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"473ea7aa35615829f0de7a71e8691d69dc24e328","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"e2ea5cac61acfc11dad22f1d2d4bc71d56c52a20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/33cda0036bc683fc888c20b04a5fc030e3e8413b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9729c51a8b67f8b20b8a8cf395da4be63a0c15b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af48abc1b00d865c3f4c4d76b901c44115cb7162","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e20f3b749ad241df77ec1c3e13a9c22209aa1eb3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7898beee166c1145c0bca364d687b8437435bf1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e31985c67ba00a59d9b1340af473c1dbe6c87856","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/473ea7aa35615829f0de7a71e8691d69dc24e328","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2ea5cac61acfc11dad22f1d2d4bc71d56c52a20","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93095","url":"https://www.cve.org/CVERecord?id=CVE-2026-93095","licence":"CVE Terms of Use","modified":"2026-10-19T09:05:28.487Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93095","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93095","licence":"Public domain","modified":"2026-10-19T10:16:59.273Z"}],"updatedAt":"2026-11-25T22:59:39.452Z","epss":{"score":0.00129,"percentile":0.02771,"date":"2026-12-01T12:00:22.000Z"}}