CVE-2026-142809: xfs: range-check bc_levels array access in scrub tracepoints

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xfs: range-check bclevels array access in scrub tracepoints

LOLLM noticed xchkbtree()'s odd habit of passing cur->bcnlevels to xchkbtreeptrok when we're checking the pointer to the root block at the start of the btree scan. This enables us to skip checking the pointer for an inode btree's root (since it doesn't have one) but doesn't handle per-AG btrees quite correctly. There isn't a problem for xfsbtreecheckptr itself, but the corruption tracepoint naively walks off the end of bclevel[]. Fix that by adding a helper to do an implicit range check.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·03:17 AM
Data Sourced
via MITRE·03:17 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds access?

The issue is reached during XFS scrub btree checking when handling a per-allocation-group btree root pointer. The underlying pointer-checking routine is not affected; the out-of-bounds access occurs in the corruption tracepoint when it walks the bc_level array.

2

How can I tell whether a system is affected?

A system is affected if it runs a Linux kernel containing the vulnerable XFS scrub tracepoint behavior and performs the relevant scrub btree checks. The provided information does not identify affected kernel versions or a specific observable indicator beyond the tracepoint path.

3

What is the mitigation if an updated kernel cannot be deployed immediately?

Avoid triggering the affected XFS scrub btree-checking path, particularly checks involving per-allocation-group btrees, until the kernel fix can be applied. The provided information does not specify a configuration-only workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203