CVE-2026-138836: ACPI: APEI: accumulate the queued flag across error sections
In the Linux kernel, the following vulnerability has been resolved:
ACPI: APEI: accumulate the queued flag across error sections
ghesdoproc() walks every error section of a CPER record, and gheshandlearmhwerror() walks every error-info entry of an ARM processor section. Both assign to "queued" instead of OR-ing into it, so only the last iteration counts: a later section or entry that queues no memory-failure work clears the flag an earlier one set.
Instead of reassigning the variable at every time, just do an OR, so, if there was a single match, it will return "queued" as set.
The comment above the check says "If no memory failure work is queued", which is the semantics this patch implements. I.e, only SIGBUS if there are queue was not handled at all. If we want to SIGBUS if any event was not handled/queued at all, we will need something more sophisticated.
Affected Software
Event History
Frequently Asked Questions
Which systems are most relevant to this issue?
Systems running the Linux kernel that process ACPI APEI Generic Hardware Error Source (GHES) CPER records are relevant. The affected paths specifically include handling of ARM processor error sections and memory-failure work queuing.
What is the practical impact of the flawed queued-state handling?
When a CPER record contains multiple error sections or an ARM processor section contains multiple error-info entries, a later entry that queues no memory-failure work can clear a queued result from an earlier entry. This can lead to SIGBUS being delivered even though memory-failure work was queued for an earlier matching error.
How can I determine whether my kernel includes the fix?
Check whether the kernel source or applied stable backports includes one of the referenced commits: f776a22b8adf066d60eddcbe548fc8356cfea6d5, 3d55340381c2f54d133e2d4450c00a87b98cc862, or cfba2b18c4703f0946c23bc3b78ed1a3e9d6cd77. The fix changes queued-state updates from assignment to accumulated OR behavior across error sections and ARM error-info entries.