{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139030","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.910Z","datePublished":"2026-11-30T13:27:13.258Z","dateUpdated":"2026-11-30T13:27:13.258Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:27:13.258Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/pfr_update.c"],"versions":[{"version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","lessThan":"8fa4e674495de5233c9065b4ffcc9917c532b24a","status":"affected","versionType":"git"},{"version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","lessThan":"faed35b5550452f26ec38b12bc6f7aa2d75e0fac","status":"affected","versionType":"git"},{"version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","lessThan":"501ea019dcfc5af79f7ad0099af687557bef89f9","status":"affected","versionType":"git"},{"version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","lessThan":"2cb1b55431ae5eab6efe0135b489a2f03f396540","status":"affected","versionType":"git"},{"version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","lessThan":"76701b325e424f29558230a9340b23f0548550d3","status":"affected","versionType":"git"},{"version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","lessThan":"d776369a9eded071df83e4738e1572c4c5b912d7","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/pfr_update.c"],"versions":[{"version":"5.17","status":"affected"},{"version":"0","lessThan":"5.17","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/8fa4e674495de5233c9065b4ffcc9917c532b24a"},{"url":"https://git.kernel.org/stable/c/faed35b5550452f26ec38b12bc6f7aa2d75e0fac"},{"url":"https://git.kernel.org/stable/c/501ea019dcfc5af79f7ad0099af687557bef89f9"},{"url":"https://git.kernel.org/stable/c/2cb1b55431ae5eab6efe0135b489a2f03f396540"},{"url":"https://git.kernel.org/stable/c/76701b325e424f29558230a9340b23f0548550d3"},{"url":"https://git.kernel.org/stable/c/d776369a9eded071df83e4738e1572c4c5b912d7"}],"title":"ACPI: pfr_update: zero-initialize capability query result","x_generator":{"engine":"bippy-1.2.0"}}}}