CVE-2026-142885
xfs: check for buffer overruns when examining local/remote xattr entries
AI summary AI generated
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.
Mitigation
- Upgrade Linux to 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb or later.
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
Vulnerability facts
- Affected
- Linux >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < e84fce3520afabcf25105f1caea73d96b6bbc14b; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 47102e94403ef845dda3ca42b7305022875a4d19; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < dd0d09f490aef8e261bd15d7e55f193226d8e8fc; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < d4a0973e1e3da24246e513bf34ab06cb2ceebe7f; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 36761ed167bfe5e6fb7d8e8532582d3b17e6f251; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 3b210a9042933f54e3b26878b6180c02162afb60; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb; Linux 4.15
- Fixed in
- Linux 47102e94403ef845dda3ca42b7305022875a4d19, Linux 36761ed167bfe5e6fb7d8e8532582d3b17e6f251, Linux 3b210a9042933f54e3b26878b6180c02162afb60, Linux 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91, Linux 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < e84fce3520afabcf25105f1caea73d96b6bbc14b; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 47102e94403ef845dda3ca42b7305022875a4d19; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < dd0d09f490aef8e261bd15d7e55f193226d8e8fc; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < d4a0973e1e3da24246e513bf34ab06cb2ceebe7f; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 36761ed167bfe5e6fb7d8e8532582d3b17e6f251; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 3b210a9042933f54e3b26878b6180c02162afb60; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91; >= 13791d3b833428e7dc7253e066eef8cae75cd1c0, < 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb | — | cvelist |
| Linux | 4.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
Other
- https://git.kernel.org/stable/c/e84fce3520afabcf25105f1caea73d96b6bbc14b
- https://git.kernel.org/stable/c/47102e94403ef845dda3ca42b7305022875a4d19
- https://git.kernel.org/stable/c/dd0d09f490aef8e261bd15d7e55f193226d8e8fc
- https://git.kernel.org/stable/c/d4a0973e1e3da24246e513bf34ab06cb2ceebe7f
- https://git.kernel.org/stable/c/36761ed167bfe5e6fb7d8e8532582d3b17e6f251
- https://git.kernel.org/stable/c/3b210a9042933f54e3b26878b6180c02162afb60
- https://git.kernel.org/stable/c/0cc08b2ea0908cb3b2bf227b9a4fec0cc96aad91
- https://git.kernel.org/stable/c/91c41f9524906a8ebd2ae68c98a07b4bd5255ddb
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |