{"id":"CVE-2026-43453","aliases":["CVE-2026-43453"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nft_set_pipapo: fix stack out-of-bounds read in pipapo_drop()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_pipapo: fix stack out-of-bounds read in pipapo_drop()\n\npipapo_drop() passes rulemap[i + 1].n to pipapo_unmap() as the\nto_offset argument on every iteration, including the last one where\ni == m->field_count - 1. This reads one element past the end of the\nstack-allocated rulemap array (declared as rulemap[NFT_PIPAPO_MAX_FIELDS]\nwith NFT_PIPAPO_MAX_FIELDS == 16).\n\nAlthough pipapo_unmap() returns early when is_last is true without\nusing the to_offset value, the argument is evaluated at the call site\nbefore the function body executes, making this a genuine out-of-bounds\nstack read confirmed by KASAN:\n\n  BUG: KASAN: stack-out-of-bounds in pipapo_drop+0x50c/0x57c [nf_tables]\n  Read of size 4 at addr ffff8000810e71a4\n\n  This frame has 1 object:\n   [32, 160) 'rulemap'\n\n  The buggy address is at offset 164 -- exactly 4 bytes past the end\n  of the rulemap array.\n\nPass 0 instead of rulemap[i + 1].n on the last iteration to avoid\nthe out-of-bounds read.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_set_pipapo: fix stack out-of-bounds read in pipapo_drop()\n\npipapo_drop() passes rulemap[i + 1].n to pipapo_unmap() as the\nto_offset argument on every iteration, including the last one where\ni == m->field_count - 1. This reads one element past the end of the\nstack-allocated rulemap array (declared as rulemap[NFT_PIPAPO_MAX_FIELDS]\nwith NFT_PIPAPO_MAX_FIELDS == 16).\n\nAlthough pipapo_unmap() returns early when is_last is true without\nusing the to_offset value, the argument is evaluated at the call site\nbefore the function body executes, making this a genuine out-of-bounds\nstack read confirmed by KASAN:\n\n  BUG: KASAN: stack-out-of-bounds in pipapo_drop+0x50c/0x57c [nf_tables]\n  Read of size 4 at addr ffff8000810e71a4\n\n  This frame has 1 object:\n   [32, 160) 'rulemap'\n\n  The buggy address is at offset 164 -- exactly 4 bytes past the end\n  of the rulemap array.\n\nPass 0 instead of rulemap[i + 1].n on the last iteration to avoid\nthe out-of-bounds read.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnetfilter: nft_set_pipapo: corrección de lectura fuera de límites de la pila en pipapo_drop()\n\npipapo_drop() pasa rulemap[i + 1].n a pipapo_unmap() como el argumento to_offset en cada iteración, incluyendo la última donde i == m  ->  field_count - 1. Esto lee un elemento más allá del final del array rulemap asignado en la pila (declarado como rulemap[NFT_PIPAPO_MAX_FIELDS] con NFT_PIPAPO_MAX_FIELDS == 16).\n\nAunque pipapo_unmap() retorna anticipadamente cuando is_last es verdadero sin usar el valor de to_offset, el argumento es evaluado en el sitio de la llamada antes de que se ejecute el cuerpo de la función, haciendo de esto una lectura genuina fuera de límites de la pila confirmada por KASAN:\n\n  BUG: KASAN: lectura fuera de límites de la pila en pipapo_drop+0x50c/0x57c [nf_tables]\n  Lectura de tamaño 4 en la dirección ffff8000810e71a4\n\n  Este marco tiene 1 objeto:\n   [32, 160) ’rulemap’\n\n  La dirección errónea está en el desplazamiento 164 -- exactamente 4 bytes después del final\n  del array rulemap.\n\nPasar 0 en lugar de rulemap[i + 1].n en la última iteración para evitar la lectura fuera de límites.","source":"nvd"}],"published":"2026-05-08T14:22:18.087Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"1957e793196e7f8557374fd4eda53abcbb42e1c0","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"57fb87ca095d5127cd7a27583b8ec43dcf7c9e9e","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"60c1d18781e37bfb96290b86510eb01c5fa24d75","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"0a55d62cdb628923d8a21724374a70c76ac7d19d","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"dfbdac719198778b581bc0dd055df2542edb8c62","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"e047f6fbb975f685d6c9fcef95b3b7787a79b46d","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"324b749aa5b2d516ccfab933df9d3f56e7807f5f","status":"affected"},{"type":"git","introduced":"3c4287f62044a90e73a561aa05fc46e62da173da","fixed":"d6d8cd2db236a9dd13dbc2d05843b3445cc964b5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","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":"5.6","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"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/1957e793196e7f8557374fd4eda53abcbb42e1c0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57fb87ca095d5127cd7a27583b8ec43dcf7c9e9e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60c1d18781e37bfb96290b86510eb01c5fa24d75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a55d62cdb628923d8a21724374a70c76ac7d19d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfbdac719198778b581bc0dd055df2542edb8c62","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e047f6fbb975f685d6c9fcef95b3b7787a79b46d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/324b749aa5b2d516ccfab933df9d3f56e7807f5f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6d8cd2db236a9dd13dbc2d05843b3445cc964b5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:39:22.846Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43453","url":"https://www.cve.org/CVERecord?id=CVE-2026-43453","licence":"CVE Terms of Use","modified":"2026-11-06T15:42:55.723Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43453","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43453","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.078Z","epss":{"score":0.00126,"percentile":0.02487,"date":"2026-12-01T12:00:22.000Z"}}