CVE-2024-43816
kernel: scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 17, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel. Specifically, within the lpfc SCSI driver, an issue exists in the lpfc_prep_embed_io routine. On big-endian architectures, incorrect handling of data endianness during a memory copy operation can lead to an out-of-bounds pointer dereference. This vulnerability can be triggered when Fibre Channel Protocol (FCP) targets are zoned, potentially causing the system to crash and resulting in a Denial of Service (DoS).
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 lpfc kernel module from loading if Fibre Channel functionality provided by Emulex LightPulse Fibre Channel adapters is not required on big-endian systems.
- Create
/etc/modprobe.d/blacklist-lpfc.confwithblacklist lpfc. - Regenerate the initramfs using
dracut -f -vormkinitrd -f -v /boot/initramfs-$(uname -r).img $(uname -r). - A system reboot is required for the changes to take effect.
This action will disable Fibre Channel functionality provided by the
lpfcdriver.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
CWE-125 · Out-of-bounds Read