# CVE-2026-142809: xfs: range-check bc\_levels array access in scrub tracepoints

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:17:40.413Z
- **Modified:** 2026-12-03T04:18:15.107Z

## Who should check

- Anyone running Linux \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 9a5893fc941f426b2065a034fedb7954425eeec2; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 9fc0e317b039864aac4b1160dd05798a953627f2; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 01b7cf35894d4f6876ea9942929529660edd7b4c; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< e6338cdc1003b8f3c5518bad6ed73b220c29c291; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 2d3b089c3a61aff755e84947b3c1e166040c67a3; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 73b7276b8a4b5eb272f3c3b36ea3042e786f4741
- Anyone running Linux 5.16

## Description

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

xfs: range-check bc\_levels array access in scrub tracepoints

LOLLM noticed xchk\_btree()'s odd habit of passing cur-\>bc\_nlevels to
xchk\_btree\_ptr\_ok 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
\_\_xfs\_btree\_check\_ptr itself, but the corruption tracepoint naively
walks off the end of bc\_level\[\].  Fix that by adding a helper to do an
implicit range check.

## Affected and fixed versions

- Linux: \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 9a5893fc941f426b2065a034fedb7954425eeec2; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 9fc0e317b039864aac4b1160dd05798a953627f2; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 01b7cf35894d4f6876ea9942929529660edd7b4c; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< e6338cdc1003b8f3c5518bad6ed73b220c29c291; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 2d3b089c3a61aff755e84947b3c1e166040c67a3; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 73b7276b8a4b5eb272f3c3b36ea3042e786f4741 (cvelist)
- Linux: 5.16 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 73b7276b8a4b5eb272f3c3b36ea3042e786f4741 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142809. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142809.md
Affected: Linux >= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, < 9a5893fc941f426b2065a034fedb7954425eeec2; >= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, < 9fc0e317b039864aac4b1160dd05798a953627f2; >= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, < 01b7cf35894d4f6876ea9942929529660edd7b4c; >= 6ca444cfd663545e9e1c19a…
Fixed in: Linux 9a5893fc941f426b2065a034fedb7954425eeec2, Linux 9fc0e317b039864aac4b1160dd05798a953627f2, Linux 01b7cf35894d4f6876ea9942929529660edd7b4c, Linux 2d3b089c3a61aff755e84947b3c1e166040c67a3, Linux 73b7276b8a4b5eb272f3c3b36ea3042e786f4741

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142809 being exploited?

There is no confirmed exploitation: CVE-2026-142809 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142809?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142809?

Linux \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 9a5893fc941f426b2065a034fedb7954425eeec2; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 9fc0e317b039864aac4b1160dd05798a953627f2; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 01b7cf35894d4f6876ea9942929529660edd7b4c; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< e6338cdc1003b8f3c5518bad6ed73b220c29c291; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 2d3b089c3a61aff755e84947b3c1e166040c67a3; \>= 6ca444cfd663545e9e1c19ad2695836ffafad0a6, \< 73b7276b8a4b5eb272f3c3b36ea3042e786f4741; Linux 5.16.

### Is there a fix for CVE-2026-142809?

Yes. Fixed in Linux 9a5893fc941f426b2065a034fedb7954425eeec2, Linux 9fc0e317b039864aac4b1160dd05798a953627f2, Linux 01b7cf35894d4f6876ea9942929529660edd7b4c, Linux 2d3b089c3a61aff755e84947b3c1e166040c67a3, Linux 73b7276b8a4b5eb272f3c3b36ea3042e786f4741. Upgrade Linux to 73b7276b8a4b5eb272f3c3b36ea3042e786f4741 or later.

### How do I check if I'm affected by CVE-2026-142809?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/9a5893fc941f426b2065a034fedb7954425eeec2>
- other: <https://git.kernel.org/stable/c/9fc0e317b039864aac4b1160dd05798a953627f2>
- other: <https://git.kernel.org/stable/c/01b7cf35894d4f6876ea9942929529660edd7b4c>
- other: <https://git.kernel.org/stable/c/e6338cdc1003b8f3c5518bad6ed73b220c29c291>
- other: <https://git.kernel.org/stable/c/2d3b089c3a61aff755e84947b3c1e166040c67a3>
- other: <https://git.kernel.org/stable/c/73b7276b8a4b5eb272f3c3b36ea3042e786f4741>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142809>

HTML: <https://flawdb.com/CVE-2026-142809> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142809>
