{"id":"CVE-2026-64070","aliases":["CVE-2026-64070"],"related":[],"kind":"vulnerability","state":"published","title":"powerpc/hv-gpci: fix preempt count leak in sysfs show paths","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/hv-gpci: fix preempt count leak in sysfs show paths\n\nFour sysfs show() callbacks in hv-gpci take get_cpu_var(hv_gpci_reqb)\n(which calls preempt_disable()) but only call the matching put_cpu_var()\non the error path under the 'out:' label. Every successful read leaks\none preempt_disable():\n\n  processor_bus_topology_show()\n  processor_config_show()\n  affinity_domain_via_virtual_processor_show()\n  affinity_domain_via_domain_show()\n\n(affinity_domain_via_partition_show() was already correct.)\n\nOn a CONFIG_PREEMPT=y kernel, repeated reads raise preempt_count and\neventually return to userspace with preemption still disabled. The\nnext user-mode page fault then hits faulthandler_disabled() == 1,\ngets forced to SIGSEGV, and the resulting coredump trips\n'BUG: scheduling while atomic' in call_usermodehelper_exec ->\nwait_for_completion_state -> schedule:\n\n  BUG: scheduling while atomic: <task>/<pid>/0x00000004\n  ...\n  __schedule_bug+0x6c/0x90\n  __schedule+0x58c/0x13a0\n  schedule+0x48/0x1a0\n  schedule_timeout+0x104/0x170\n  wait_for_completion_state+0x16c/0x330\n  call_usermodehelper_exec+0x254/0x2d0\n  vfs_coredump+0x1050/0x2590\n  get_signal+0xb9c/0xc80\n  do_notify_resume+0xf8/0x470\n\nAdd an out_success label that calls put_cpu_var() before returning\nthe byte count, mirroring affinity_domain_via_partition_show().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/hv-gpci: fix preempt count leak in sysfs show paths\n\nFour sysfs show() callbacks in hv-gpci take get_cpu_var(hv_gpci_reqb)\n(which calls preempt_disable()) but only call the matching put_cpu_var()\non the error path under the 'out:' label. Every successful read leaks\none preempt_disable():\n\n  processor_bus_topology_show()\n  processor_config_show()\n  affinity_domain_via_virtual_processor_show()\n  affinity_domain_via_domain_show()\n\n(affinity_domain_via_partition_show() was already correct.)\n\nOn a CONFIG_PREEMPT=y kernel, repeated reads raise preempt_count and\neventually return to userspace with preemption still disabled. The\nnext user-mode page fault then hits faulthandler_disabled() == 1,\ngets forced to SIGSEGV, and the resulting coredump trips\n'BUG: scheduling while atomic' in call_usermodehelper_exec ->\nwait_for_completion_state -> schedule:\n\n  BUG: scheduling while atomic: <task>/<pid>/0x00000004\n  ...\n  __schedule_bug+0x6c/0x90\n  __schedule+0x58c/0x13a0\n  schedule+0x48/0x1a0\n  schedule_timeout+0x104/0x170\n  wait_for_completion_state+0x16c/0x330\n  call_usermodehelper_exec+0x254/0x2d0\n  vfs_coredump+0x1050/0x2590\n  get_signal+0xb9c/0xc80\n  do_notify_resume+0xf8/0x470\n\nAdd an out_success label that calls put_cpu_var() before returning\nthe byte count, mirroring affinity_domain_via_partition_show().","source":"cvelist"}],"published":"2026-07-19T15:39:46.536Z","modified":"2026-11-06T17:18:35.813Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"71f1c39647d8c9d4d54a861ec81f1ff17544bcb6","fixed":"b300312562fd6e4729697adb9f777f00ca0429f3","status":"affected"},{"type":"git","introduced":"71f1c39647d8c9d4d54a861ec81f1ff17544bcb6","fixed":"45afabe7f99c5d8746434ee41c86584c01d70147","status":"affected"},{"type":"git","introduced":"71f1c39647d8c9d4d54a861ec81f1ff17544bcb6","fixed":"b61ebb2826ca1852c2bbd92a676fb622c358cab4","status":"affected"},{"type":"git","introduced":"71f1c39647d8c9d4d54a861ec81f1ff17544bcb6","fixed":"903409000a07ac8e31ffedeb8516f4f8d67150c8","status":"affected"},{"type":"git","introduced":"71f1c39647d8c9d4d54a861ec81f1ff17544bcb6","fixed":"dbc30a57bd8e026995e9fa8e8c31cffd18542c01","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.156","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.49","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.6.156"},{"status":"affected","introduced":"6.7","fixed":"6.12.108"},{"status":"affected","introduced":"6.13","fixed":"6.18.49"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b300312562fd6e4729697adb9f777f00ca0429f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45afabe7f99c5d8746434ee41c86584c01d70147","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b61ebb2826ca1852c2bbd92a676fb622c358cab4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/903409000a07ac8e31ffedeb8516f4f8d67150c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbc30a57bd8e026995e9fa8e8c31cffd18542c01","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:29:37.174Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64070","url":"https://www.cve.org/CVERecord?id=CVE-2026-64070","licence":"CVE Terms of Use","modified":"2026-11-06T16:34:25.359Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64070","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64070","licence":"Public domain","modified":"2026-11-06T17:18:35.813Z"}],"updatedAt":"2026-11-25T22:59:28.976Z","epss":{"score":0.00122,"percentile":0.02188,"date":"2026-12-01T12:00:22.000Z"}}