# CVE-2026-64070: powerpc/hv-gpci: fix preempt count leak in sysfs show paths

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:46.536Z
- Modified: 2026-11-06T17:18:35.813Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 71f1c39647d8c9d4d54a861ec81f1ff17544bcb6 before b300312562fd6e4729697adb9f777f00ca0429f3; from 71f1c39647d8c9d4d54a861ec81f1ff17544bcb6 before 45afabe7f99c5d8746434ee41c86584c01d70147; from 71f1c39647d8c9d4d54a861ec81f1ff17544bcb6 before b61ebb2826ca1852c2bbd92a676fb622c358cab4; from 71f1c39647d8c9d4d54a861ec81f1ff17544bcb6 before 903409000a07ac8e31ffedeb8516f4f8d67150c8; from 71f1c39647d8c9d4d54a861ec81f1ff17544bcb6 before dbc30a57bd8e026995e9fa8e8c31cffd18542c01; 6.6 (not affected: before 6.6; from 6.6.156 up to 6.6.*; from 6.12.108 up to 6.12.*; from 6.18.49 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.6 before 6.6.156; from 6.7 before 6.12.108; from 6.13 before 6.18.49; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/b300312562fd6e4729697adb9f777f00ca0429f3> (patch)
- <https://git.kernel.org/stable/c/45afabe7f99c5d8746434ee41c86584c01d70147> (patch)
- <https://git.kernel.org/stable/c/b61ebb2826ca1852c2bbd92a676fb622c358cab4> (patch)
- <https://git.kernel.org/stable/c/903409000a07ac8e31ffedeb8516f4f8d67150c8> (patch)
- <https://git.kernel.org/stable/c/dbc30a57bd8e026995e9fa8e8c31cffd18542c01> (patch)

## Sources

- CVE List: [CVE-2026-64070](https://www.cve.org/CVERecord?id=CVE-2026-64070), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-64070](https://nvd.nist.gov/vuln/detail/CVE-2026-64070), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-64070 · Whole record: https://cve.day/CVE-2026-64070.json · Rebuilt by cve.day 2026-11-25T22:59:28.976Z
