Use-after-free in Linux kernel - CVE-2026-68442
Published: August 12, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service and execute arbitrary code.
The vulnerability exists due to use-after-free in btrfs_drop_extent_map_range() and btrfs_free_extent_map() when splitting extent maps during logging. A local user can trigger crafted filesystem activity to cause a denial of service and execute arbitrary code.
The issue is caused by split extent maps incorrectly inheriting EXTENT_FLAG_LOGGING and later being freed while still linked on the inode's modified_extents list.
Affected software
Ubuntu
linux-gcp-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
How to mitigate CVE-2026-68442
linux-gcp-7.0 (Ubuntu package) - addressed in versions 7.0.0-38.38~24.04.4, 7.0.0-1013.13~24.04.1, 7.0.0-1014.14~24.04.1
linux-azure-7.0 (Ubuntu package) - addressed in versions 7.0.0-1016.16~24.04.1, 7.0.0-1017.17~24.04.1