CVE-2026-97420: Linux kernel · bpf: NUL-terminate replaced sysctl value
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 26 Oct 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Exploitation evidence
Disclosed: evidence found.
CVE published 24 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix has been applied to append a terminating NUL byte after replaced sysctl values in the bpf_sysctl_set_new_value() helper. Users should update to a Linux kernel version that includes this fix to prevent out-of-bounds memory access. Since this is a kernel-level fix, upgrading the kernel to a patched version is the recommended remediation. Patch status is not explicitly stated in the input data; users should consult their Linux distribution or vendor advisory for the fixed kernel versions.
Description
A vulnerability in the Linux kernel's BPF subsystem related to sysctl value replacement was resolved. The issue involved the bpf_sysctl_set_new_value() helper not appending a NUL terminator after replacing a sysctl value, which could lead to out-of-bounds memory access by downstream parsers. This was confirmed by a kernel address sanitizer (KASAN) report indicating slab-out-of-bounds reads. The fix appends a terminating NUL byte to the replacement buffer, restoring expected sysctl semantics and preventing the out-of-bounds access.
References
- ubuntu.com/security/CVE-2026-97420 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-97420 (opens in a new tab)
- git.kernel.org/stable/c/a66e3b5bacf38d6ab29fa05a9754f7a114485605 (opens in a new tab)
- git.kernel.org/stable/c/3b2814dd842a565fcf9cc370156e1ba9eae16239 (opens in a new tab)
- git.kernel.org/stable/c/76c14b10f50eb0afcc76e244562fa2d8c661e224 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-97420 (opens in a new tab)
- git.kernel.org/stable/c/31377675c3d75603d957c08e338a9ac27e9f6cd5 (opens in a new tab)
- git.kernel.org/stable/c/36d3e9f62dc2beb9299d3bb6f589cb9e07f773fe (opens in a new tab)
- git.kernel.org/stable/c/bfcee1f79aaefa90679ad47690107fb7682724ec (opens in a new tab)
- git.kernel.org/stable/c/c73e4a04eedc677fe91a736d7a5db45100adba5e (opens in a new tab)