CVE-2026-64070

Source
https://cve.org/CVERecord?id=CVE-2026-64070
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64070.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64070
Downstream
Published
2026-07-19T15:39:46.536Z
Modified
2026-09-05T03:30:43.502355313Z
Summary
powerpc/hv-gpci: fix preempt count leak in sysfs show paths
Details

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 getcpuvar(hvgpcireqb) (which calls preemptdisable()) but only call the matching putcpuvar() on the error path under the 'out:' label. Every successful read leaks one preemptdisable():

processorbustopologyshow() processorconfigshow() affinitydomainviavirtualprocessorshow() affinitydomainviadomainshow()

(affinitydomainviapartitionshow() was already correct.)

On a CONFIGPREEMPT=y kernel, repeated reads raise preemptcount and eventually return to userspace with preemption still disabled. The next user-mode page fault then hits faulthandlerdisabled() == 1, gets forced to SIGSEGV, and the resulting coredump trips 'BUG: scheduling while atomic' in callusermodehelperexec -> waitforcompletionstate -> schedule:

BUG: scheduling while atomic: <task>/<pid>/0x00000004 ... __schedule_bug+0x6c/0x90 __schedule+0x58c/0x13a0 schedule+0x48/0x1a0 scheduletimeout+0x104/0x170 waitforcompletionstate+0x16c/0x330 callusermodehelperexec+0x254/0x2d0 vfscoredump+0x1050/0x2590 getsignal+0xb9c/0xc80 donotifyresume+0xf8/0x470

Add an outsuccess label that calls putcpuvar() before returning the byte count, mirroring affinitydomainviapartition_show().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64070.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
71f1c39647d8c9d4d54a861ec81f1ff17544bcb6
Fixed
b300312562fd6e4729697adb9f777f00ca0429f3
Fixed
45afabe7f99c5d8746434ee41c86584c01d70147
Fixed
b61ebb2826ca1852c2bbd92a676fb622c358cab4
Fixed
903409000a07ac8e31ffedeb8516f4f8d67150c8
Fixed
dbc30a57bd8e026995e9fa8e8c31cffd18542c01

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64070.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.156
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.108
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.49
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64070.json"