Incorrect calculation in Linux kernel - CVE-2026-98226

 

Incorrect calculation in Linux kernel - CVE-2026-98226

Published: October 7, 2026


Vulnerability identifier: #VU153797
CSH Severity: Low
CVSS v4: 5.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98226
CWE-ID: CWE-682
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to corrupt swap accounting and availability lists and cause loss of swapped-out pages.

The vulnerability exists due to an incorrect flag-bit calculation in mm/swapfile.c when tracking swap usage with a counter that also stores the off-list flag. A local user can trigger swap usage updates with bit 30 set in the actual usage count to corrupt swap accounting and availability lists and cause loss of swapped-out pages.

On systems with 4 KiB pages, the flag overlaps the usage count at 4 TiB of swap usage. Page loss requires swapoff to run when the raw usage count is exactly 2^30 pages; availability-list corruption can occur during normal swap use without swapoff.


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-98226

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