{"id":"CVE-2025-40312","aliases":["CVE-2025-40312"],"related":[],"kind":"vulnerability","state":"published","title":"jfs: Verify inode mode when loading from disk","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: Verify inode mode when loading from disk\n\nThe inode mode loaded from corrupted disk can be invalid. Do like what\ncommit 0a9e74051313 (\"isofs: Verify inode mode when loading from disk\")\ndoes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: Verify inode mode when loading from disk\n\nThe inode mode loaded from corrupted disk can be invalid. Do like what\ncommit 0a9e74051313 (\"isofs: Verify inode mode when loading from disk\")\ndoes.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\njfs: Verificar el modo del inodo al cargar desde el disco\n\nEl modo del inodo cargado desde un disco corrupto puede ser inválido. Hacer como lo que el commit 0a9e74051313 ('isofs: Verificar el modo del inodo al cargar desde el disco') hace.","source":"nvd"}],"published":"2025-12-08T00:46:38.147Z","modified":"2026-10-14T22:10:00.210Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"19cce65709a8a2966203653028d9004e28e85bd5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fabc1348bb8fe6bc80850014ee94bd89945f7f4d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2870a7dec49ccdc3f6ae35da8f5d6737f21133a8","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ce054a366c54992185c9514e489a14f145b10c29","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"1795277a4e98d82e6451544d43695540cee042ea","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8d6a9cbd276b3b85da0e7e98208f89416fed9265","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7a5aa54fba2bd591b22b9b624e6baa9037276986","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.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","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/19cce65709a8a2966203653028d9004e28e85bd5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fabc1348bb8fe6bc80850014ee94bd89945f7f4d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2870a7dec49ccdc3f6ae35da8f5d6737f21133a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce054a366c54992185c9514e489a14f145b10c29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1795277a4e98d82e6451544d43695540cee042ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d6a9cbd276b3b85da0e7e98208f89416fed9265","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a5aa54fba2bd591b22b9b624e6baa9037276986","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40312","url":"https://www.cve.org/CVERecord?id=CVE-2025-40312","licence":"CVE Terms of Use","modified":"2026-05-11T21:46:55.193Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40312","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40312","licence":"Public domain","modified":"2026-10-14T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:08.400Z","epss":{"score":0.0021,"percentile":0.11784,"date":"2026-12-01T12:00:22.000Z"}}