Linux kernel buffer overrun in XFS attribute-list ioctl
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s XFS attribute-list ioctl has a buffer-size validation error that allows an assignment to write past the end of a buffer. The input does not specify who can trigger the ioctl or whether authentication or user interaction is required.
Engineers running the Linux kernel should check for this issue; affected versions are not specified.