ACPI: pfr_update: zero-initialize capability query result
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
ACPI: pfr_update: zero-initialize capability query result
query_capability() copies four ACPI buffers into fixed-size fields using the firmware-supplied lengths. The existing overflow guard rejects oversized buffers, but shorter buffers are accepted and leave trailing bytes of the stack-allocated cap_hdr uninitialized. PFRU_IOC_QUERY_CAP then copies the entire structure to userspace.
Zero-initialize cap_hdr before querying the firmware. This preserves the existing handling of short firmware responses while preventing disclosure of kernel stack data. Oversized buffers remain rejected.
A QEMU _DSM returning one-byte buffers reproduced nonzero stack suffix bytes in all four fields. With this change, the ioctl still succeeds and each unwritten suffix is zero-filled, while 64-byte buffers continue to return -EINVAL.
| Product | Versions |
|---|---|
| Linux Linux | 0db89fa243e5edc5de38c88b369e4c3755c5fb74 to before 8fa4e674495de5233c9065b4ffcc9917c532b24a Affected0db89fa243e5edc5de38c88b369e4c3755c5fb74 to before faed35b5550452f26ec38b12bc6f7aa2d75e0fac Affected0db89fa243e5edc5de38c88b369e4c3755c5fb74 to before 501ea019dcfc5af79f7ad0099af687557bef89f9 Affected0db89fa243e5edc5de38c88b369e4c3755c5fb74 to before 2cb1b55431ae5eab6efe0135b489a2f03f396540 Affected0db89fa243e5edc5de38c88b369e4c3755c5fb74 to before 76701b325e424f29558230a9340b23f0548550d3 Affected0db89fa243e5edc5de38c88b369e4c3755c5fb74 to before d776369a9eded071df83e4738e1572c4c5b912d7 Affected |
| Linux Linux | 5.17 Affectedbefore 5.17 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 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/8fa4e674495de5233c9065b4ffcc9917c532b24a
- https://git.kernel.org/stable/c/faed35b5550452f26ec38b12bc6f7aa2d75e0fac
- https://git.kernel.org/stable/c/501ea019dcfc5af79f7ad0099af687557bef89f9
- https://git.kernel.org/stable/c/2cb1b55431ae5eab6efe0135b489a2f03f396540
- https://git.kernel.org/stable/c/76701b325e424f29558230a9340b23f0548550d3
- https://git.kernel.org/stable/c/d776369a9eded071df83e4738e1572c4c5b912d7
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.