CVE-2022-49623
kernel: powerpc/xive/spapr: correct bitmap allocation size
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2025
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's powerpc/xive/spapr component. An incorrect bitmap allocation size can lead to a slab-out-of-bounds write. A local attacker could exploit this vulnerability to cause a denial of service or potentially disclose sensitive information.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the xive_spapr kernel module from loading on PowerPC systems. Create a file named /etc/modprobe.d/disable-xive-spapr.conf with the following content:
install xive_spapr /bin/true
After creating the file, regenerate the initramfs and reboot the system for the changes to take effect. This mitigation may impact functionality that relies on the XIVE interrupt controller.
CVSS / CWE
CVSS 3.1 · 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-787 · Out-of-bounds Write