Off-by-one in Linux kernel - CVE-2026-80537
Published: August 27, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary code or cause a denial of service.
The vulnerability exists due to a slab-out-of-bounds write caused by an off-by-one error in xfs rtrefcount btree root level validation in xfs_rtrefcountbt_verify() and xfs_iformat_rtrefcount() when mounting a crafted XFS filesystem image or querying filesystem mapping information on the realtime device. A local user can mount a crafted filesystem image to execute arbitrary code or cause a denial of service.
The issue is triggered when the rtrefcount root level equals the maximum allowed level, which causes bc_nlevels to exceed bc_maxlevels by one during cursor initialization.
Affected software
Ubuntu
linux (Ubuntu package)
linux-realtime (Ubuntu package)
linux-aws (Ubuntu package)
linux-oracle (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-azure-fde-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-gke (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-aws-7.0 (Ubuntu package)
How to mitigate CVE-2026-80537
linux (Ubuntu package) - update to 7.0.0-42.42
linux-realtime (Ubuntu package) - update to 7.0.0-43.43.1
linux-aws (Ubuntu package) - update to 7.0.0-1016.17
linux-oracle (Ubuntu package) - update to 7.0.0-1015.16
linux-gcp (Ubuntu package) - update to 7.0.0-1016.18
linux-azure (Ubuntu package) - update to 7.0.0-1020.21
linux-raspi (Ubuntu package) - update to 7.0.0-1023.23
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-azure-7.0 (Ubuntu package) - update to 7.0.0-1020.21~24.04.2
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1016.18~24.04.1
linux-azure-fde-7.0 (Ubuntu package) - update to 7.0.0-1019.19~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1017.19~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17
linux-gke (Ubuntu package) - update to 7.0.0-1010.11
linux-azure-fde (Ubuntu package) - update to 7.0.0-1019.19
linux-aws-7.0 (Ubuntu package) - update to 7.0.0-1017.18~24.04.1