CVE-2026-64070 Details
Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/hv-gpci: fix preempt count leak in sysfs show paths Four sysfs show() callbacks in hv-gpci take get_cpu_var(hv_gpci_reqb) (which calls preempt_disable()) but only call the matching put_cpu_var() on the error path under the 'out:' label. Every successful read leaks one preempt_disable(): processor_bus_topology_show() processor_config_show() affinity_domain_via_virtual_processor_show() affinity_domain_via_domain_show() (affinity_domain_via_partition_show() was already correct.) On a CONFIG_PREEMPT=y kernel, repeated reads raise preempt_count and eventually return to userspace with preemption still disabled. The next user-mode page fault then hits faulthandler_disabled() == 1, gets forced to SIGSEGV, and the resulting coredump trips 'BUG: scheduling while atomic' in call_usermodehelper_exec -> wait_for_completion_state -> schedule: BUG: scheduling while atomic: <task>/<pid>/0x00000004 ... __schedule_bug+0x6c/0x90 __schedule+0x58c/0x13a0 schedule+0x48/0x1a0 schedule_timeout+0x104/0x170 wait_for_completion_state+0x16c/0x330 call_usermodehelper_exec+0x254/0x2d0 vfs_coredump+0x1050/0x2590 get_signal+0xb9c/0xc80 do_notify_resume+0xf8/0x470 Add an out_success label that calls put_cpu_var() before returning the byte count, mirroring affinity_domain_via_partition_show().
A vulnerability exists in the Linux kernel's PowerPC hypervisor guest physical configuration interface (HV-GPCI) sysfs show callbacks. These callbacks improperly manage the preemption count by calling 'get_cpu_var(hv_gpci_reqb)', which disables preemption, but only releasing it on the error path. This mismanagement leads to a preemption count leak, where successful reads accumulate preemption disables. In kernels with preemption enabled, this leak can cause user-space page faults to be mishandled, resulting in a segmentation fault and a core dump that triggers a 'BUG: scheduling while atomic' error.
Users can apply the patch included in the upstream commit 'dbc30a57bd8e026995e9fa8e8c31cffd18542c01' to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/45afabe7f99c5d8746434ee41c86584c01d70147 | kernel.org | Patch |
| https://git.kernel.org/stable/c/903409000a07ac8e31ffedeb8516f4f8d67150c8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b300312562fd6e4729697adb9f777f00ca0429f3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b61ebb2826ca1852c2bbd92a676fb622c358cab4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dbc30a57bd8e026995e9fa8e8c31cffd18542c01 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.156 >= 6.7, < 6.12.108 >= 6.13, < 6.18.49 >= 6.19, < 7.0.11 7.1 rc1 7.1 rc2 7.1 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Sep 2, 2026 | CVE Modified | kernel.org |
| Jul 19, 2026 | New CVE Received | kernel.org |