parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.186.7.66.8In the Linux kernel, the following vulnerability has been resolved:
parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
When using hotplug and bringing up a 32-bit CPU, ask the firmware about the BTLB information to set up the static (block) TLB entries.
For that write access to the static btlb_info struct is needed, but since it is marked __ro_after_init the kernel segfaults with missing write permissions.
Fix the crash by dropping the __ro_after_init annotation.
From the CVE record · Linux
The Linux kernel can crash when hotplug brings up a 32-bit parisc CPU. During BTLB setup, the kernel tries to write to a structure marked read-only after initialization. The input does not describe an attacker path or authentication requirements.
Engineers running Linux kernels with 32-bit parisc CPU hotplug should check their systems; affected versions are not specified.