Impact
The Linux kernel’s swap subsystem uses a dedicated bit, SWAP_USAGE_OFFLIST_BIT, inside the swap usage counter. The bit was defined as bit 30 of an atomic_t type, which is valid for a counter only up to 4 TiB for 4 KiB pages. When the usage counter reaches 4 TiB, SWAP_USAGE_OFFLIST_BIT collides with the real counter value. This collision causes /proc/swaps to report 4 TiB fewer pages in use, and when the bit is set the kernel’s try_to_unuse() routine incorrectly concludes that the swap device can be torn down. The device is then deactivated while pages are still swapped out, leading to permanent loss of those pages. In addition, the collision corrupts the hardware‑free path and the plist of swap devices, generating WARN_ON conditions and inconsistent list entries. The result is data loss, potential crashes, and underrepresentation of swap usage in monitoring tools.
Affected Systems
Affected by this kernel bug in any Linux kernel that contains the original SWAP_USAGE_OFFLIST_BIT definition. The flaw is present before the patch referenced in the provided kernel commit links and applies to all Linux distributions that ship the unpatched code.
Risk and Exploitability
The CVE description does not disclose which access level is required for exploitation. The vulnerability could be triggered by any process executing swapoff when the counter has a high value, which could lead to pages being lost. The likelihood of exploitation appears low, with an EPSS score of less than 1% and no listing in the CISA KEV catalog. No public exploits are currently known.
OpenCVE Enrichment