Stack-based buffer overflow in Linux kernel - CVE-2026-53267
Published: June 26, 2026
Vulnerability details
The vulnerability allows a local user to cause memory corruption.
The vulnerability exists due to a stack-based buffer overflow in nft_ct_get_eval and nft_ct_get_fast_eval in the netfilter nft_ct subsystem when processing a crafted nftables rule that uses a template conntrack object. A local user can create a crafted rule sequence to cause memory corruption.
The issue is triggered when a conntrack template created by a preceding expression is treated as a real conntrack entry by a subsequent expression on the same skb.
Affected software
openEuler
Ubuntu
bpftool
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-ibm (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-7.0 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
How to mitigate CVE-2026-53267
bpftool - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
python3-perf-debuginfo - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
python3-perf - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
perf-debuginfo - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
perf - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-tools-devel - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-tools-debuginfo - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-tools - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-source - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-headers - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-devel - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-debugsource - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
kernel-debuginfo - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
bpftool-debuginfo - addressed in versions 5.10.0-326.0.0.227, 6.6.0-145.1.20.157
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1011.11, 7.0.0-1014.14
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13
linux-ibm (Ubuntu package) - update to 7.0.0-1013.13
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-nvidia (Ubuntu package) - update to 7.0.0-1018.18
linux-nvidia-7.0 (Ubuntu package) - update to 7.0.0-1018.18~24.04.1
linux-raspi (Ubuntu package) - update to 7.0.0-1019.19
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2018.18
External References
- https://git.kernel.org/stable/c/2e154b5f53f1b0b490c7b8b02499f90feb86b1d5
- https://git.kernel.org/stable/c/3027ecbdb5fdf9200251c21d4818e4c447ef78e1
- https://git.kernel.org/stable/c/8470f676eadeab99132708acb1a85915664d6115
- https://git.kernel.org/stable/c/af80f78ce984649e1698b841cd33f4fa505ad828
- https://git.kernel.org/stable/c/f071b0bf078146368d18e4eec386bf2ddc0ab7e0
Related Security Bulletins
- Stack-based buffer overflow in Linux kernel netfilter
- openEuler 22.03 LTS SP4 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- Ubuntu update for linux-oem-7.0
- Ubuntu update for linux
- Ubuntu update for linux-gcp-7.0
- Ubuntu update for linux-oracle-7.0
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-7.0
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-nvidia-bos
- Ubuntu update for linux-ibm
- Ubuntu update for linux-raspi
- Ubuntu update for linux-nvidia-7.0