CVE-2026-142791

Source
https://cve.org/CVERecord?id=CVE-2026-142791
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142791.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142791
Downstream
Published
2026-12-03T03:11:25Z
Modified
2026-12-03T05:00:46Z
Summary
xfs: fix buffer overflow in corrupt inline attr structure
Details

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

xfs: fix buffer overflow in corrupt inline attr structure

LOLLM noticed a buffer overrun if the xattr scrubber encounters a file with a shortform attr fork with sf->count > 0 but if_bytes == sizeof(struct xfs_attr_sf_hdr). Basically, we have enough data to have a header with a nonzero count, but no space for any of those shortform entries. In this case, the xfs_attr_sf_nextentry() call will run off the end of if_data and blow up.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142791.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ae0506eba78fd1d6236b46ca5aa089c8fc6050cf
Fixed
705d1ea0123db96d2c2484c26d5369013a5ce348
Fixed
6f85707eee2f82b97f3a03cc758359891cdfad1e
Fixed
779f9d180b4b1fdf2d4b045a1acd763043ee83c3
Fixed
65a65a295935045cb9084e4c96aadf4c369b20c4
Fixed
017dd7a84ff4cd2275eb62f4ee6d63c705bac107

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142791.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142791.json"