pstore/ram: Fix crash when setting number of cpus to an odd number
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0593cfd321df9001142a9d2c58d4144917dff7ee, Kernel 2a37905d47bffec61e95d99f0c1cc5dc6377956c, Kernel 75b0f71b26b3ad833c5c0670109c0af6e021e86a and 5 more.
In the Linux kernel, the following vulnerability has been resolved: pstore/ram: Fix crash when setting number of cpus to an odd number When the number of cpu cores is adjusted to 7 or other odd numbers, the zone size will become an odd number. The address of the zone will become: addr of zone0 = BASE addr of zone1 = BASE + zone_size addr of zone2 = BASE + zone_size*2 ... The address of zone1/3/5/7 will be mapped to non-alignment va. Eventually crashes will occur when accessing these va. So, use ALIGN_DOWN() to make sure the zone size is even to avoid this bug.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.10, >=de83209249d64bad993f25d3ea4bba57683e2e2e <0593cfd321df9001142a9d2c58d4144917dff7ee, >=de83209249d64bad993f25d3ea4bba57683e2e2e <2a37905d47bffec61e95d99f0c1cc5dc6377956c, >=de83209249d64bad993f25d3ea4bba57683e2e2e <75b0f71b26b3ad833c5c0670109c0af6e021e86a, >=de83209249d64bad993f25d3ea4bba57683e2e2e <8b69c30f4e8b69131d92096cb296dc1f217101e4, >=de83209249d64bad993f25d3ea4bba57683e2e2e <a63e48cd835c34c38ef671d344cc029b1ea5bf10, >=de83209249d64bad993f25d3ea4bba57683e2e2e <cd40e43f870cf21726b22487a95ed223790b3542, >=de83209249d64bad993f25d3ea4bba57683e2e2e <d49270a04623ce3c0afddbf3e984cb245aa48e9c, >=de83209249d64bad993f25d3ea4bba57683e2e2e <e9f6ac50890104fdf8194f2865680689239d30fb | 0593cfd321df9001142a9d2c58d4144917dff7ee, 2a37905d47bffec61e95d99f0c1cc5dc6377956c, 75b0f71b26b3ad833c5c0670109c0af6e021e86a, 8b69c30f4e8b69131d92096cb296dc1f217101e4, a63e48cd835c34c38ef671d344cc029b1ea5bf10, cd40e43f870cf21726b22487a95ed223790b3542, d49270a04623ce3c0afddbf3e984cb245aa48e9c, e9f6ac50890104fdf8194f2865680689239d30fb |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket