{"id":"CVE-2025-68767","aliases":["CVE-2025-68767"],"related":[],"kind":"vulnerability","state":"published","title":"hfsplus: Verify inode mode when loading from disk","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfsplus: Verify inode mode when loading from disk\n\nsyzbot is reporting that S_IFMT bits of inode->i_mode can become bogus when\nthe S_IFMT bits of the 16bits \"mode\" field loaded from disk are corrupted.\n\nAccording to [1], the permissions field was treated as reserved in Mac OS\n8 and 9. According to [2], the reserved field was explicitly initialized\nwith 0, and that field must remain 0 as long as reserved. Therefore, when\nthe \"mode\" field is not 0 (i.e. no longer reserved), the file must be\nS_IFDIR if dir == 1, and the file must be one of S_IFREG/S_IFLNK/S_IFCHR/\nS_IFBLK/S_IFIFO/S_IFSOCK if dir == 0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfsplus: Verify inode mode when loading from disk\n\nsyzbot is reporting that S_IFMT bits of inode->i_mode can become bogus when\nthe S_IFMT bits of the 16bits \"mode\" field loaded from disk are corrupted.\n\nAccording to [1], the permissions field was treated as reserved in Mac OS\n8 and 9. According to [2], the reserved field was explicitly initialized\nwith 0, and that field must remain 0 as long as reserved. Therefore, when\nthe \"mode\" field is not 0 (i.e. no longer reserved), the file must be\nS_IFDIR if dir == 1, and the file must be one of S_IFREG/S_IFLNK/S_IFCHR/\nS_IFBLK/S_IFIFO/S_IFSOCK if dir == 0.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nhfsplus: Verificar el modo del inodo al cargar desde el disco\n\nsyzbot está informando que los bits S_IFMT de inode-&gt;i_mode pueden volverse inválidos cuando los bits S_IFMT del campo 'mode' de 16 bits cargado desde el disco están corruptos.\n\nSegún [1], el campo de permisos fue tratado como reservado en Mac OS 8 y 9. Según [2], el campo reservado fue inicializado explícitamente con 0, y ese campo debe permanecer en 0 mientras esté reservado. Por lo tanto, cuando el campo 'mode' no es 0 (es decir, ya no está reservado), el archivo debe ser S_IFDIR si dir == 1, y el archivo debe ser uno de S_IFREG/S_IFLNK/S_IFCHR/S_IFBLK/S_IFIFO/S_IFSOCK si dir == 0.","source":"nvd"}],"published":"2026-01-13T15:28:46.382Z","modified":"2026-06-17T09:59:33.223Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"6f768724aabd5b321c5b8f15acdca11e4781cf32","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d92333c7a35856e419500e7eed72dac1afa404a5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"001f44982587ad462b3002ee40c75e8df67d597d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"05ec9af3cc430683c97f76027e1c55ac6fd25c59","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"edfb2e602b5ba5ca6bf31cbac20b366efb72b156","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"91f114bffa36ce56d0e1f60a0a44fc09baaefc79","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"005d4b0d33f6b4a23d382b7930f7a96b95b01f39","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.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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/6f768724aabd5b321c5b8f15acdca11e4781cf32","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d92333c7a35856e419500e7eed72dac1afa404a5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/001f44982587ad462b3002ee40c75e8df67d597d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05ec9af3cc430683c97f76027e1c55ac6fd25c59","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/edfb2e602b5ba5ca6bf31cbac20b366efb72b156","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91f114bffa36ce56d0e1f60a0a44fc09baaefc79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/005d4b0d33f6b4a23d382b7930f7a96b95b01f39","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68767","url":"https://www.cve.org/CVERecord?id=CVE-2025-68767","licence":"CVE Terms of Use","modified":"2026-05-11T21:52:57.433Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68767","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68767","licence":"Public domain","modified":"2026-06-17T09:59:33.223Z"}],"updatedAt":"2026-11-25T22:59:10.522Z","epss":{"score":0.00206,"percentile":0.11216,"date":"2026-12-01T12:00:22.000Z"}}