cve-2026-64070
MEDIUM CVSS 5.5 nvdIn 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().
- Published
- 2026-07-19
- Last Modified
- 2026-09-03
- Attack Vector
- LOCAL
- Attack Complexity
- LOW
- Privileges Required
- LOW
- linux linux_kernel
| Version | Base | Severity | Vector | Exploitability | Impact | Source |
|---|---|---|---|---|---|---|
| 3.1 | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8 | 3.6 | nvd@nist.gov |
| CPE | Version range | Vulnerable |
|---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.6, < 6.6.156 | yes |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.108 | yes |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.18.49 | yes |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 7.0.11 | yes |
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |
— | yes |
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
— | yes |
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* |
— | yes |
- NVD status
- Analyzed
- Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/45afabe7f99c5d8746434ee41c86584c01d70147 Patch
- https://git.kernel.org/stable/c/903409000a07ac8e31ffedeb8516f4f8d67150c8 Patch
- https://git.kernel.org/stable/c/b300312562fd6e4729697adb9f777f00ca0429f3 Patch
- https://git.kernel.org/stable/c/b61ebb2826ca1852c2bbd92a676fb622c358cab4 Patch
- https://git.kernel.org/stable/c/dbc30a57bd8e026995e9fa8e8c31cffd18542c01 Patch
No linked vulnerabilities found.
{
"cvss": 5.5,
"datePublished": "2026-07-19T16:17:47.583",
"dateUpdated": "2026-09-03T15:11:27.580",
"description": "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().",
"id": "CVE-2026-64070",
"raw": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/powerpc/perf/hv-gpci.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "b300312562fd6e4729697adb9f777f00ca0429f3",
"status": "affected",
"version": "71f1c39647d8c9d4d54a861ec81f1ff17544bcb6",
"versionType": "git"
},
{
"lessThan": "45afabe7f99c5d8746434ee41c86584c01d70147",
"status": "affected",
"version": "71f1c39647d8c9d4d54a861ec81f1ff17544bcb6",
"versionType": "git"
},
{
"lessThan": "b61ebb2826ca1852c2bbd92a676fb622c358cab4",
"status": "affected",
"version": "71f1c39647d8c9d4d54a861ec81f1ff17544bcb6",
"versionType": "git"
},
{
"lessThan": "903409000a07ac8e31ffedeb8516f4f8d67150c8",
"status": "affected",
"version": "71f1c39647d8c9d4d54a861ec81f1ff17544bcb6",
"versionType": "git"
},
{
"lessThan": "dbc30a57bd8e026995e9fa8e8c31cffd18542c01",
"status": "affected",
"version": "71f1c39647d8c9d4d54a861ec81f1ff17544bcb6",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/powerpc/perf/hv-gpci.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.6"
},
{
"lessThan": "6.6",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.156",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.108",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.49",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "DDA7609B-20E6-4693-89F8-922330949914",
"versionEndExcluding": "6.6.156",
"versionStartIncluding": "6.6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "DDCDC5AE-8755-4098-8ED3-36869DF2EEE6",
"versionEndExcluding": "6.12.108",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "D1656D23-D7CC-49A6-AD07-8B5033A14855",
"versionEndExcluding": "6.18.49",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "0520D091-FC52-4A50-AF07-70AE7D08B750",
"versionEndExcluding": "7.0.11",
"versionStartIncluding": "6.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
"matchCriteriaId": "B1EF7059-E670-45F4-B422-54C40FA86390",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
"matchCriteriaId": "0D38F0BF-A728-4133-A358-D44A2F7EE6D6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
"matchCriteriaId": "EC732D08-5F7B-46D9-B154-E60C7F4F0A97",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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()."
}
],
"id": "CVE-2026-64070",
"lastModified": "2026-09-03T15:11:27.580",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2026-07-19T16:17:47.583",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/45afabe7f99c5d8746434ee41c86584c01d70147"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/903409000a07ac8e31ffedeb8516f4f8d67150c8"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/b300312562fd6e4729697adb9f777f00ca0429f3"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/b61ebb2826ca1852c2bbd92a676fb622c358cab4"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/dbc30a57bd8e026995e9fa8e8c31cffd18542c01"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"severity": "MEDIUM",
"source": "nvd",
"title": "In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/hv-gpci: fix preempt count leak in sysfs..."
}