News › linux
By Zayden R., September 14, 2026
Linux 7.3-rc3 addresses a critical bug causing silent data loss with transparent hugepages. Engineers should update to prevent potential data issues in applications using MADV_FREE under memory pressure.
A critical fix has landed in the Linux 7.3-rc3 release, addressing a silent user-space data loss bug that has been lurking in the kernel since July 2023. This issue, which only manifests under specific conditions involving transparent hugepages (THP), MADV_FREE calls, and cgroup memory limits, has been a thorn in the side of users, particularly those running data-intensive applications like the Polars data analytics library.
The bug, which could lead to complete loss of writes following a MADV_FREE operation, was not just a theoretical concern. It was reported in real-world production environments, prompting a swift response from the Linux kernel maintainers. As Phoronix reports, the fix is surprisingly simple, involving just a single line of code change. This patch is part of the x86/urgent merge and is slated for back-porting to all currently supported stable kernel series, ensuring broader protection against this issue.
Transparent hugepages have been a performance boon for many workloads, but their complexity can sometimes lead to unexpected behavior, as demonstrated by this bug. The problem arises under heavy memory reclaim pressure, where the kernel's handling of memory pages can inadvertently discard data. This is particularly relevant for systems that rely heavily on THP for performance but operate close to their memory limits.
For engineers managing Linux systems, especially those running versions from 6.6 onward, the recommendation is clear: update to the latest prepatch or stable release as soon as it becomes available. This will safeguard against potential data loss incidents that could be costly in data-centric applications. The patch's inclusion in the x86/urgent branch highlights its importance and the urgency with which it should be applied.
As LWN notes, the 7.3-rc3 release is part of a broader set of updates with a significant filesystem footprint, but it's this data loss fix that stands out as a crucial update for users. Ensuring your systems are patched can prevent data integrity issues and maintain the reliability expected from Linux environments.