CVE-2026-43453: netfilter: nft_set_pipapo: fix stack out-of-bounds read in pipapo_drop()
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftsetpipapo: fix stack out-of-bounds read in pipapodrop()
pipapodrop() passes rulemap[i + 1].n to pipapounmap() as the tooffset argument on every iteration, including the last one where i == m->fieldcount - 1. This reads one element past the end of the stack-allocated rulemap array (declared as rulemap[NFTPIPAPOMAXFIELDS] with NFTPIPAPOMAXFIELDS == 16).
Although pipapounmap() returns early when islast is true without using the tooffset value, the argument is evaluated at the call site before the function body executes, making this a genuine out-of-bounds stack read confirmed by KASAN:
BUG: KASAN: stack-out-of-bounds in pipapodrop+0x50c/0x57c [nftables] Read of size 4 at addr ffff8000810e71a4
This frame has 1 object: [32, 160) 'rulemap'
The buggy address is at offset 164 -- exactly 4 bytes past the end of the rulemap array.
Pass 0 instead of rulemap[i + 1].n on the last iteration to avoid the out-of-bounds read.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43453?
CVE-2026-43453 is classified as a high severity vulnerability due to its potential for allowing stack out-of-bounds read operations.
How do I fix CVE-2026-43453?
To fix CVE-2026-43453, you should apply the latest patches from the Linux kernel that address this specific vulnerability.
What software is affected by CVE-2026-43453?
CVE-2026-43453 affects the Linux kernel, specifically the netfilter component.
What are the implications of CVE-2026-43453?
The implications of CVE-2026-43453 include the risk of data leakage or system instability due to the stack out-of-bounds read.
When was CVE-2026-43453 disclosed?
CVE-2026-43453 was disclosed as part of updates related to vulnerabilities found in the Linux kernel.