{"id":"CVE-2025-68761","aliases":["CVE-2025-68761"],"related":[],"kind":"vulnerability","state":"published","title":"hfs: fix potential use after free in hfs_correct_next_unused_CNID()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs: fix potential use after free in hfs_correct_next_unused_CNID()\n\nThis code calls hfs_bnode_put(node) which drops the refcount and then\ndreferences \"node\" on the next line.  It's only safe to use \"node\"\nwhen we're holding a reference so flip these two lines around.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs: fix potential use after free in hfs_correct_next_unused_CNID()\n\nThis code calls hfs_bnode_put(node) which drops the refcount and then\ndreferences \"node\" on the next line.  It's only safe to use \"node\"\nwhen we're holding a reference so flip these two lines around.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nhfs: corrección de posible uso después de liberar en hfs_correct_next_unused_CNID()\n\nEste código llama a hfs_bnode_put(node) lo que decrementa el contador de referencias y luego desreferencia 'node' en la siguiente línea. Solo es seguro usar 'node' cuando mantenemos una referencia, así que invierta estas dos líneas.","source":"nvd"}],"published":"2026-01-05T09:32:33.814Z","modified":"2026-10-14T16:10:00.250Z","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":"a06ec283e125e334155fe13005c76c9f484ce759","fixed":"40a1e0142096dd7dd6cb5373841222b528698588","status":"affected"},{"type":"git","introduced":"a06ec283e125e334155fe13005c76c9f484ce759","fixed":"c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.2","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/40a1e0142096dd7dd6cb5373841222b528698588","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68761","url":"https://www.cve.org/CVERecord?id=CVE-2025-68761","licence":"CVE Terms of Use","modified":"2026-08-05T12:11:21.089Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68761","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68761","licence":"Public domain","modified":"2026-10-14T16:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:10.267Z","epss":{"score":0.00135,"percentile":0.03183,"date":"2026-12-01T12:00:22.000Z"}}