{"id":"CVE-2026-93095","published":"2026-09-17T16:11:09Z","modified":"2026-10-19T09:05:28Z","title":"hfsplus: validate thread record before delete key rebuild","vendor":"Linux","product":"Linux","tier":"tail","description":{"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().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.0707,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/33cda0036bc683fc888c20b04a5fc030e3e8413b","tags":[]},{"url":"https://git.kernel.org/stable/c/b9729c51a8b67f8b20b8a8cf395da4be63a0c15b","tags":[]},{"url":"https://git.kernel.org/stable/c/af48abc1b00d865c3f4c4d76b901c44115cb7162","tags":[]},{"url":"https://git.kernel.org/stable/c/e20f3b749ad241df77ec1c3e13a9c22209aa1eb3","tags":[]},{"url":"https://git.kernel.org/stable/c/7898beee166c1145c0bca364d687b8437435bf1a","tags":[]},{"url":"https://git.kernel.org/stable/c/e31985c67ba00a59d9b1340af473c1dbe6c87856","tags":[]},{"url":"https://git.kernel.org/stable/c/473ea7aa35615829f0de7a71e8691d69dc24e328","tags":[]},{"url":"https://git.kernel.org/stable/c/e2ea5cac61acfc11dad22f1d2d4bc71d56c52a20","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.41},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 33cda0036bc683fc888c20b04a5fc030e3e8413b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b9729c51a8b67f8b20b8a8cf395da4be63a0c15b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < af48abc1b00d865c3f4c4d76b901c44115cb7162",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e20f3b749ad241df77ec1c3e13a9c22209aa1eb3",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7898beee166c1145c0bca364d687b8437435bf1a",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e31985c67ba00a59d9b1340af473c1dbe6c87856",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 473ea7aa35615829f0de7a71e8691d69dc24e328",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e2ea5cac61acfc11dad22f1d2d4bc71d56c52a20"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"euvd":{"id":"EUVD-2026-82203","exploited":false,"provenance":"source"}}