{"id":"CVE-2026-139030","aliases":["CVE-2026-139030"],"related":[],"kind":"vulnerability","state":"published","title":"ACPI: pfr_update: zero-initialize capability query result","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: pfr_update: zero-initialize capability query result\n\nquery_capability() copies four ACPI buffers into fixed-size fields using\nthe firmware-supplied lengths.  The existing overflow guard rejects\noversized buffers, but shorter buffers are accepted and leave trailing\nbytes of the stack-allocated cap_hdr uninitialized.  PFRU_IOC_QUERY_CAP\nthen copies the entire structure to userspace.\n\nZero-initialize cap_hdr before querying the firmware.  This preserves the\nexisting handling of short firmware responses while preventing disclosure\nof kernel stack data.  Oversized buffers remain rejected.\n\nA QEMU _DSM returning one-byte buffers reproduced nonzero stack suffix\nbytes in all four fields.  With this change, the ioctl still succeeds and\neach unwritten suffix is zero-filled, while 64-byte buffers continue to\nreturn -EINVAL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: pfr_update: zero-initialize capability query result\n\nquery_capability() copies four ACPI buffers into fixed-size fields using\nthe firmware-supplied lengths.  The existing overflow guard rejects\noversized buffers, but shorter buffers are accepted and leave trailing\nbytes of the stack-allocated cap_hdr uninitialized.  PFRU_IOC_QUERY_CAP\nthen copies the entire structure to userspace.\n\nZero-initialize cap_hdr before querying the firmware.  This preserves the\nexisting handling of short firmware responses while preventing disclosure\nof kernel stack data.  Oversized buffers remain rejected.\n\nA QEMU _DSM returning one-byte buffers reproduced nonzero stack suffix\nbytes in all four fields.  With this change, the ioctl still succeeds and\neach unwritten suffix is zero-filled, while 64-byte buffers continue to\nreturn -EINVAL.","source":"cvelist"}],"published":"2026-11-30T13:27:13.258Z","modified":"2026-11-30T14:18:07.090Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","fixed":"8fa4e674495de5233c9065b4ffcc9917c532b24a","status":"affected"},{"type":"git","introduced":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","fixed":"faed35b5550452f26ec38b12bc6f7aa2d75e0fac","status":"affected"},{"type":"git","introduced":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","fixed":"501ea019dcfc5af79f7ad0099af687557bef89f9","status":"affected"},{"type":"git","introduced":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","fixed":"2cb1b55431ae5eab6efe0135b489a2f03f396540","status":"affected"},{"type":"git","introduced":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","fixed":"76701b325e424f29558230a9340b23f0548550d3","status":"affected"},{"type":"git","introduced":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","fixed":"d776369a9eded071df83e4738e1572c4c5b912d7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8fa4e674495de5233c9065b4ffcc9917c532b24a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/faed35b5550452f26ec38b12bc6f7aa2d75e0fac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/501ea019dcfc5af79f7ad0099af687557bef89f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cb1b55431ae5eab6efe0135b489a2f03f396540","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76701b325e424f29558230a9340b23f0548550d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d776369a9eded071df83e4738e1572c4c5b912d7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139030","url":"https://www.cve.org/CVERecord?id=CVE-2026-139030","licence":"CVE Terms of Use","modified":"2026-11-30T13:27:13.258Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139030","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139030","licence":"Public domain","modified":"2026-11-30T14:18:07.090Z"}],"updatedAt":"2026-11-30T14:32:38.173Z","epss":{"score":0.00206,"percentile":0.11336,"date":"2026-12-01T12:00:22.000Z"}}