Linux
cpu: hotplug: Bound hotplug states sysfs output
In the Linux kernel, the following vulnerability has been resolved: cpu: hotplug: Bound hotplug states sysfs output states_show() adds CPU hotplug state names into a single sysfs buffer using sprintf(). With enough registered states, this can write past the end of the PAGE_SIZE buffer. Use sysfs_emit_at() so output is bounded.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 27481cf4365a6ff5c9be3590143e7ed434000266
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 2408be459c70ef4250da1a9e50f5478e6b250d61
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < de4d3d8ae17dc8b4cf8c59436c4b7e2dc2491635
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 998f66e9ce320f3433f60b948e3698b744754a46
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 61a73a123ac7a7fbc57382531f8cb7092d569aba
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 6cb15b81ff545840048fb0e1a6e827d560dbf367
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 631d53102da9f469c96b882b770336bec095b833
- >= 98f8cdce1db580b99fce823a48eea2cb2bdb261e, < 86f436567f2516a0083b210bedc933544826a2c3
Fixed in 27481cf4365a6ff5c9be3590143e7ed434000266, 2408be459c70ef4250da1a9e50f5478e6b250d61, de4d3d8ae17dc8b4cf8c59436c4b7e2dc2491635, 998f66e9ce320f3433f60b948e3698b744754a46, 61a73a123ac7a7fbc57382531f8cb7092d569aba, 6cb15b81ff545840048fb0e1a6e827d560dbf367, 631d53102da9f469c96b882b770336bec095b833, 86f436567f2516a0083b210bedc933544826a2c3
- 4.6
Fixed in 0, 5.10.265, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 27481cf4365a6ff5c9be3590143e7ed434000266 or 2408be459c70ef4250da1a9e50f5478e6b250d61 or de4d3d8ae17dc8b4cf8c59436c4b7e2dc2491635 or 998f66e9ce320f3433f60b948e3698b744754a46 or 61a73a123ac7a7fbc57382531f8cb7092d569aba or 6cb15b81ff545840048fb0e1a6e827d560dbf367 or 631d53102da9f469c96b882b770336bec095b833 or 86f436567f2516a0083b210bedc933544826a2c3 or later.
Upgrade Linux to 0 or 5.10.265 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.