# CVE-2026-142885: xfs: check for buffer overruns when examining local/remote xattr entries

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

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can trigger out-of-bounds reads in the Linux kernel XFS xattr scrub and repair code by crafting an extended attribute entry near the end of a buffer.

## Who should check

- Anyone running Linux \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< e84fce3520afabcf25105f1caea73d96b6bbc14b; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 47102e94403ef845dda3ca42b7305022875a4d19; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< dd0d09f490aef8e261bd15d7e55f193226d8e8fc; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< d4a0973e1e3da24246e513bf34ab06cb2ceebe7f; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 36761ed167bfe5e6fb7d8e8532582d3b17e6f251; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 3b210a9042933f54e3b26878b6180c02162afb60; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb
- Anyone running Linux 4.15

## Description

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

xfs: check for buffer overruns when examining local/remote xattr entries

LOLLM noticed that the xattr scrub and repair code can walk off the end
of the buffer if the xattr entry record starts so close to the end of
the buffer that there's not even space for the entry structure itself.
Strengthen the bounds checking here.

## Affected and fixed versions

- Linux: \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< e84fce3520afabcf25105f1caea73d96b6bbc14b; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 47102e94403ef845dda3ca42b7305022875a4d19; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< dd0d09f490aef8e261bd15d7e55f193226d8e8fc; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< d4a0973e1e3da24246e513bf34ab06cb2ceebe7f; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 36761ed167bfe5e6fb7d8e8532582d3b17e6f251; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 3b210a9042933f54e3b26878b6180c02162afb60; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb (cvelist)
- Linux: 4.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb 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-142885. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142885.md
Affected: Linux >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < e84fce3520afabcf25105f1caea73d96b6bbc14b; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 47102e94403ef845dda3ca42b7305022875a4d19; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < dd0d09f490aef8e261bd15d7e55f193226d8e8fc; >= 13791d3b833428e7dc7253e…
Fixed in: Linux 47102e94403ef845dda3ca42b7305022875a4d19, Linux 36761ed167bfe5e6fb7d8e8532582d3b17e6f251, Linux 3b210a9042933f54e3b26878b6180c02162afb60, Linux 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91, Linux 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb

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-142885 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< e84fce3520afabcf25105f1caea73d96b6bbc14b; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 47102e94403ef845dda3ca42b7305022875a4d19; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< dd0d09f490aef8e261bd15d7e55f193226d8e8fc; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< d4a0973e1e3da24246e513bf34ab06cb2ceebe7f; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 36761ed167bfe5e6fb7d8e8532582d3b17e6f251; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 3b210a9042933f54e3b26878b6180c02162afb60; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91; \>= 13791d3b833428e7dc7253e066eef8cae75cd1c0, \< 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb; Linux 4.15.

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

Yes. Fixed in Linux 47102e94403ef845dda3ca42b7305022875a4d19, Linux 36761ed167bfe5e6fb7d8e8532582d3b17e6f251, Linux 3b210a9042933f54e3b26878b6180c02162afb60, Linux 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91, Linux 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb. Upgrade Linux to 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb or later.

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

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/e84fce3520afabcf25105f1caea73d96b6bbc14b>
- other: <https://git.kernel.org/stable/c/47102e94403ef845dda3ca42b7305022875a4d19>
- other: <https://git.kernel.org/stable/c/dd0d09f490aef8e261bd15d7e55f193226d8e8fc>
- other: <https://git.kernel.org/stable/c/d4a0973e1e3da24246e513bf34ab06cb2ceebe7f>
- other: <https://git.kernel.org/stable/c/36761ed167bfe5e6fb7d8e8532582d3b17e6f251>
- other: <https://git.kernel.org/stable/c/3b210a9042933f54e3b26878b6180c02162afb60>
- other: <https://git.kernel.org/stable/c/0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91>
- other: <https://git.kernel.org/stable/c/91c41f9524906a8ebd2ae68c98a07b4bd5255ddb>

## 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-142885>

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