Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-80537

published high CVSS 3.1 · 7.8

xfs: fix off-by-one in rtrefcount btree root level validation

Published
26 Aug 2026, 14:37:12 UTC
Updated
27 Aug 2026, 05:01:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < 8a0ecae2ecda9f9a83a496ed05c42c4b1f5c3f2d · 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < ccebfc309441e0b37b2e6ece90f18810a489d326 · 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < cc3144da377de5fb422d44a2311f978623f7c900 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.46 through 6.18.* (unaffected · semver) · 7.1.10 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-headers-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-fde-7.0 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-headers-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-buildinfo-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-headers-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-unsigned-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-lib-rust-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-tools-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-tools-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-42.42 USN-8959-1
Ubuntu resolute linux Advisory build 7.0.0-42.42 USN-8959-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1016.17 USN-8959-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1016 Advisory build 7.0.0-1016.17 USN-8959-1
Ubuntu resolute linux-aws-headers-7.0.0-1016 Advisory build 7.0.0-1016.17 USN-8959-1
Ubuntu resolute linux-aws-tools-7.0.0-1016 Advisory build 7.0.0-1016.17 USN-8959-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1020.21 USN-9019-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21 USN-9019-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-headers-7.0.0-1020 Advisory build 7.0.0-1020.21 USN-9019-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: fix off-by-one in rtrefcount btree root level validation xfs_rtrefcountbt_compute_maxlevels() sets mp->m_rtrefc_maxlevels = min(d_maxlevels, r_maxlevels) + 1; where the trailing "+ 1" already accounts for the inode-root level, so the deepest valid on-disk root level is m_rtrefc_maxlevels - 1 and a cursor must satisfy bc_nlevels <= bc_maxlevels (= m_rtrefc_maxlevels). The two on-disk validation paths, xfs_rtrefcountbt_verify() and xfs_iformat_rtrefcount(), check the root level with ">" instead of ">=", so a crafted rtreflink (metadir + realtime + reflink) image whose /rtgroups/N.refcount inode has bb_level == m_rtrefc_maxlevels is accepted on mount. xfs_rtrefcountbt_init_cursor() then sets bc_nlevels = bb_level + 1, exceeding bc_maxlevels by one. Since the xfs_rtrefcountbt_cur slab object is sized for exactly bc_maxlevels entries, the first btree op on such a cursor indexes bc_levels[m_rtrefc_maxlevels] past the end of the object. This is reached by the first rtrefcount cursor built after mount, via log/CoW recovery (xfs_reflink_recover_cow() during xfs_mountfs()) or an FS_IOC_GETFSMAP over the realtime device. Reject a root level equal to m_rtrefc_maxlevels, matching the ">=" form already used by the sibling data-device refcount/rmap verifiers and the in-memory rtrmap verifier. BUG: KASAN: slab-out-of-bounds in xfs_btree_lookup (fs/xfs/libxfs/xfs_btree.c:2101) Write of size 2 at addr ffff888018391658 by task exploit/144 xfs_btree_lookup (fs/xfs/libxfs/xfs_btree.c:2101) xfs_btree_query_range (fs/xfs/libxfs/xfs_btree.c:5308) xfs_refcount_recover_cow_leftovers (fs/xfs/libxfs/xfs_refcount.c:2113) xfs_reflink_recover_cow (fs/xfs/xfs_reflink.c:1085) xlog_recover_finish (fs/xfs/xfs_log_recover.c:3551) xfs_mountfs (fs/xfs/xfs_mount.c:1158) xfs_fs_fill_super (fs/xfs/xfs_super.c:1940) get_tree_bdev_flags (fs/super.c:1634) vfs_get_tree (fs/super.c:1694) path_mount (fs/namespace.c:4161) __x64_sys_mount (fs/namespace.c:4367) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) The buggy address belongs to the cache xfs_rtrefcountbt_cur of size 216 The buggy address is located 8 bytes to the right of allocated 216-byte region [ffff888018391578, ffff888018391650) Kernel panic - not syncing: Fatal exception

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached only through local kernel entry points—mount(2) during xfs_reflink_recover_cow() in xfs_mountfs(), or FS_IOC_GETFSMAP on an already-mounted XFS volume—not via any network-facing protocol handler (NFS/ksmbd/SMB/TCP). AC:L - An attacker fully controls the crafted rtreflink image and can set /rtgroups/N.refcount bb_level == m_rtrefc_maxlevels so mount or the first rtrefcount cursor reliably drives xfs_btree_lookup() to write past bc_levels[]; no victim-dependent race or layout luck is required. PR:L - Triggering mount of a loop-backed crafted image needs only CAP_SYS_ADMIN inside a user namespace (unshare -Urn), which unprivileged users can obtain on typical systems; FS_IOC_GETFSMAP is additionally reachable with only a readable open file on the mounted filesystem. UI:N - In the highest-impact scenario an unprivileged attacker mounts their own malicious XFS image in a user namespace and immediately hits CoW recovery during xfs_mountfs(), with no separate victim action beyond routine local code execution. S:U - Exploitation corrupts kernel heap metadata and can panic or compromise the host kernel, but does not cross a CVSS scope boundary such as a VM/hypervisor guest-to-host escape or IOMMU/DMA sandbox breakout. C:H - KASAN reports a slab out-of-bounds write in xfs_btree_lookup() past the xfs_rtrefcountbt_cur allocation; such heap corruption can disclose or influence adjacent slab objects and is treated as arbitrary memory-read potential under kernel CVSS guidance. I:H - The vulnerability is an out-of-bounds write (2 bytes into bc_levels[m_rtrefc_maxlevels]) on a kmalloc slab cursor object, enabling adjacent-object corruption and further heap shaping toward arbitrary kernel write or code execution. A:H - The reported reproducer causes KASAN slab-out-of-bounds followed by kernel panic during mount recovery; any host mounting or querying the malicious rtrefcount metadata can crash or deny service to the entire system.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < 8a0ecae2ecda9f9a83a496ed05c42c4b1f5c3f2d (affected · git)9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < ccebfc309441e0b37b2e6ece90f18810a489d326 (affected · git)9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < cc3144da377de5fb422d44a2311f978623f7c900 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.46 through 6.18.* (unaffected · semver)7.1.10 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

xfs: fix off-by-one in rtrefcount btree root level validation

Provenance

Schema
5.2
Searchable
yes
Content hash
dbaf812fd707def0c5f437b45758ea11a9ef06b888b029fa0a1d0ddaf34a5bcc
Ingested
23 Sep 2026, 09:34:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected