CVE-2026-139030
Common Vulnerabilities and Exposures record
Summary
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.
Risk
- CVSS
- Not available
- Severity
- Not available
- Vector
- Not available
Timeline
- Published
- Nov 30, 2026 14:18
- Modified
- Nov 30, 2026 14:18
- Last observed
- Nov 30, 2026 10:00