CVE Database›Document archive›CVE-2024-46842

CVE-2024-46842

kernel: scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · September 27, 2024

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's scsi: lpfc module. When handling mailbox timeouts in the lpfc_get_sfp_info routine, the system may attempt to use memory that has already been released. This use-after-free vulnerability could allow a local attacker to cause a denial of service, leading to system instability or crashes.

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. This can be achieved by creating a blacklist entry and regenerating the initramfs.

  1. Create a blacklist file: echo "blacklist lpfc" | sudo tee /etc/modprobe.d/blacklist-lpfc.conf
  2. Regenerate the initramfs: sudo dracut -f -v (for systems using dracut) or sudo mkinitrd -f /boot/initramfs-$(uname -r).img $(uname -r) (for systems using mkinitrd)

A system reboot is required for the changes to take effect. Disabling this module may impact systems relying on Emulex Fibre Channel adapters for storage access.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-416 · Use After Free