Out-of-bounds write in Linux kernel - CVE-2026-98371

 

Out-of-bounds write in Linux kernel - CVE-2026-98371

Published: October 6, 2026


Vulnerability identifier: #VU153546
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98371
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to an out-of-bounds write in the Linux kernel IPTFS function iptfs_reassem_cont() when reassembling an inner IP packet whose declared length is smaller than its minimum header size. A remote attacker can send specially crafted outer packets that split the inner IPv4 header across two packets and declare an inner total length between 6 and 19 bytes to cause a denial of service.

Remote exploitation targets IPTFS VPN gateways and requires the decrypted outer socket buffer to be linear, as can occur with AF_PACKET taps or tun/tap delivery. The socket buffer tailroom check triggers a kernel panic.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oracle (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)

How to mitigate CVE-2026-98371

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
linux (Ubuntu package) - update to 7.0.0-42.42
linux-aws (Ubuntu package) - update to 7.0.0-1016.17
linux-gcp (Ubuntu package) - update to 7.0.0-1016.18
linux-oracle (Ubuntu package) - update to 7.0.0-1015.16
linux-ibm (Ubuntu package) - update to 7.0.0-1017.17
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-42.42~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17

External References

Related Security Bulletins