xfs: fix buffer overruns in xfs_ioc_attr_list
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
xfs: fix buffer overruns in xfs_ioc_attr_list
When we converted the al_offset array in struct xfs_attrlist into a VLA, the size of the object shrank by 4 bytes. Unfortunately, the buffer size validation in the attrlist ioctl wasn't updated to notice this, so the al_offset[0] assignment blindly writes off the end of the buffer. LOLLM noticed the omitted check and complained.
| Product | Versions |
|---|---|
| Linux Linux | 371baf5c9750a258fee21d0cb8c8d683bb057429 to before 9aaf87d1c5a58a25dc6edcac403e7c19b28ba72a Affected371baf5c9750a258fee21d0cb8c8d683bb057429 to before 426ba9b807dfda7a0f41754ce8689b2fda4ad36d Affected371baf5c9750a258fee21d0cb8c8d683bb057429 to before 173eb03891f4cf7f390521e66cdc5f203dbed591 Affected371baf5c9750a258fee21d0cb8c8d683bb057429 to before 4fe8b75e3917113da8ae9d69a08ba9257e97b7c1 Affected371baf5c9750a258fee21d0cb8c8d683bb057429 to before 0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2 Affected |
| Linux Linux | 6.5 Affectedbefore 6.5 Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/9aaf87d1c5a58a25dc6edcac403e7c19b28ba72a
- https://git.kernel.org/stable/c/426ba9b807dfda7a0f41754ce8689b2fda4ad36d
- https://git.kernel.org/stable/c/173eb03891f4cf7f390521e66cdc5f203dbed591
- https://git.kernel.org/stable/c/4fe8b75e3917113da8ae9d69a08ba9257e97b7c1
- https://git.kernel.org/stable/c/0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.