{"id":"CVE-2026-43107","aliases":["CVE-2026-43107"],"related":[],"kind":"vulnerability","state":"published","title":"xfrm: account XFRMA_IF_ID in aevent size calculation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: account XFRMA_IF_ID in aevent size calculation\n\nxfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then\nbuild_aevent() appends attributes including XFRMA_IF_ID when x->if_id is\nset.\n\nxfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states\nwith if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err < 0)\nin xfrm_get_ae(), turning a malformed netlink interaction into a kernel\npanic.\n\nAccount XFRMA_IF_ID in the size calculation unconditionally and replace\nthe BUG_ON with normal error unwinding.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: account XFRMA_IF_ID in aevent size calculation\n\nxfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then\nbuild_aevent() appends attributes including XFRMA_IF_ID when x->if_id is\nset.\n\nxfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states\nwith if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err < 0)\nin xfrm_get_ae(), turning a malformed netlink interaction into a kernel\npanic.\n\nAccount XFRMA_IF_ID in the size calculation unconditionally and replace\nthe BUG_ON with normal error unwinding.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfrm: contabilizar XFRMA_IF_ID en el cálculo del tamaño del evento xfrm_get_ae() asigna el skb de respuesta con xfrm_aevent_msgsize(), luego build_aevent() añade atributos incluyendo XFRMA_IF_ID cuando x  ->  if_id está establecido. xfrm_aevent_msgsize() no incluye espacio para XFRMA_IF_ID. Para estados con if_id, build_aevent() puede fallar con -EMSGSIZE y activar BUG_ON(err menor que 0) en xfrm_get_ae(), convirtiendo una interacción netlink malformada en un pánico del kernel. Contabilizar XFRMA_IF_ID en el cálculo del tamaño incondicionalmente y reemplazar el BUG_ON con un desenrollado de errores normal.","source":"nvd"}],"published":"2026-05-06T07:40:35.068Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-131"],"affected":[{"ranges":[{"type":"git","introduced":"7e6526404adedf079279aa7aa11722deaca8fe2e","fixed":"b7dbdc34d22f743abb2c460dfae0d69cd8a45e69","status":"affected"},{"type":"git","introduced":"7e6526404adedf079279aa7aa11722deaca8fe2e","fixed":"f8f3bb89ab677db15f9f5250c77af728f9afe995","status":"affected"},{"type":"git","introduced":"7e6526404adedf079279aa7aa11722deaca8fe2e","fixed":"2c41283d94af943a05f7f2cc1a01f0c872f3cf43","status":"affected"},{"type":"git","introduced":"7e6526404adedf079279aa7aa11722deaca8fe2e","fixed":"e62e322ea20be78e346e4b49f9a6b9f03313af4c","status":"affected"},{"type":"git","introduced":"7e6526404adedf079279aa7aa11722deaca8fe2e","fixed":"58e5735d1a5373652f405a0c16e54ac04aaab0ad","status":"affected"},{"type":"git","introduced":"7e6526404adedf079279aa7aa11722deaca8fe2e","fixed":"7081d46d32312f1a31f0e0e99c6835a394037599","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.83","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.24","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.14","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19","fixed":"6.12.83"},{"status":"affected","introduced":"6.13","fixed":"6.18.24"},{"status":"affected","introduced":"6.19","fixed":"6.19.14"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b7dbdc34d22f743abb2c460dfae0d69cd8a45e69","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8f3bb89ab677db15f9f5250c77af728f9afe995","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:28:35.345Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43107","url":"https://www.cve.org/CVERecord?id=CVE-2026-43107","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:31.490Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43107","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43107","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.676Z","epss":{"score":0.00156,"percentile":0.05039,"date":"2026-12-01T12:00:22.000Z"}}