{"id":"CVE-2026-80843","aliases":["CVE-2026-80843"],"related":[],"kind":"vulnerability","state":"published","title":"xfrm: fix xfrm_state_construct() auth-trunc leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: fix xfrm_state_construct() auth-trunc leak\n\nattach_auth_trunc() can allocate x->aalg while leaving\nx->props.aalgo at zero when the selected auth algorithm has no\nsadb_alg_id. One real case is cmac(aes).\n\nxfrm_state_construct() then treats !x->props.aalgo as \"no auth\nalgorithm attached yet\" and calls attach_auth(). That overwrites\nx->aalg and loses the first allocation. Any later failure or teardown\nonly frees the replacement pointer.\n\nCheck whether x->aalg is already attached instead of inferring that\nstate from x->props.aalgo.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: fix xfrm_state_construct() auth-trunc leak\n\nattach_auth_trunc() can allocate x->aalg while leaving\nx->props.aalgo at zero when the selected auth algorithm has no\nsadb_alg_id. One real case is cmac(aes).\n\nxfrm_state_construct() then treats !x->props.aalgo as \"no auth\nalgorithm attached yet\" and calls attach_auth(). That overwrites\nx->aalg and loses the first allocation. Any later failure or teardown\nonly frees the replacement pointer.\n\nCheck whether x->aalg is already attached instead of inferring that\nstate from x->props.aalgo.","source":"cvelist"}],"published":"2026-09-04T15:54:53.328Z","modified":"2026-10-19T09:17:19.730Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"958ae9f261319e1cdc44879886bcda2263258cca","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"fb7f3e74789a3c89647f4eb768f6dfaf4a751e72","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"ba0c110c205855b3f1e3130d8c0fdb484d704c8c","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"c8837bbe792257af547fd1c0252553ce13148795","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"71d42da01740ec6557837bebec0bc48cfc3b4c39","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"cf67361e78dca488d6e4df8396a53e6745a3a80e","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"37426395cb90ef217beec8407a14bd82153793d3","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"be19d20e53a239572bb2a28efcc1cd2b069b1ef9","status":"affected"},{"type":"git","introduced":"4447bb33f09444920a8f1d89e1540137429351b6","fixed":"c12cbf56320fb633484ee0ca1fb7d68d6b64b213","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.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.10.269","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.220","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.187","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.156","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.49","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.13","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.3","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/958ae9f261319e1cdc44879886bcda2263258cca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb7f3e74789a3c89647f4eb768f6dfaf4a751e72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba0c110c205855b3f1e3130d8c0fdb484d704c8c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8837bbe792257af547fd1c0252553ce13148795","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71d42da01740ec6557837bebec0bc48cfc3b4c39","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf67361e78dca488d6e4df8396a53e6745a3a80e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37426395cb90ef217beec8407a14bd82153793d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be19d20e53a239572bb2a28efcc1cd2b069b1ef9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c12cbf56320fb633484ee0ca1fb7d68d6b64b213","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80843","url":"https://www.cve.org/CVERecord?id=CVE-2026-80843","licence":"CVE Terms of Use","modified":"2026-10-19T08:44:36.352Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80843","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80843","licence":"Public domain","modified":"2026-10-19T09:17:19.730Z"}],"updatedAt":"2026-11-25T22:59:36.347Z","epss":{"score":0.00195,"percentile":0.09683,"date":"2026-12-01T12:00:22.000Z"}}