# CVE-2023-53754: scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2025-12-08T01:19:14.821Z
- Modified: 2026-06-17T06:46:00.740Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()

When if_type equals zero and pci_resource_start(pdev, PCI_64BIT_BAR4)
returns false, drbl_regs_memmap_p is not remapped. This passes a NULL
pointer to iounmap(), which can trigger a WARN() on certain arches.

When if_type equals six and pci_resource_start(pdev, PCI_64BIT_BAR4)
returns true, drbl_regs_memmap_p may has been remapped and
ctrl_regs_memmap_p is not remapped. This is a resource leak and passes a
NULL pointer to iounmap().

To fix these issues, we need to add null checks before iounmap(), and
change some goto labels.

(As written by CVE List.)

## Affected

- Linux Linux: from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before 74d90f92eafe8ccd12827228236a28a94eda6bcc; from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before bab8dc38b1a0a12bc064fc064269033bdcf5b88e; from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before fd8c83d8375b9dac1949f2753485a5c055ebfad0; from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before e6f1ef4a53856ed000b0f7265d7e16dcb00f4243; from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before 631d0fab143bef85ea0813596f1dda36e2b9724c; from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before 7e5a54d1f00725a739dcd20f616d82eff4f764bd; from 1351e69fc6db30e186295f1c9495d03cef6a01a2 before 91a0c0c1413239d0548b5aac4c82f38f6d53a91e; 4.17 (not affected: before 4.17; from 5.4.243 up to 5.4.*; from 5.10.180 up to 5.10.*; from 5.15.111 up to 5.15.*; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/74d90f92eafe8ccd12827228236a28a94eda6bcc>
- <https://git.kernel.org/stable/c/bab8dc38b1a0a12bc064fc064269033bdcf5b88e>
- <https://git.kernel.org/stable/c/fd8c83d8375b9dac1949f2753485a5c055ebfad0>
- <https://git.kernel.org/stable/c/e6f1ef4a53856ed000b0f7265d7e16dcb00f4243>
- <https://git.kernel.org/stable/c/631d0fab143bef85ea0813596f1dda36e2b9724c>
- <https://git.kernel.org/stable/c/7e5a54d1f00725a739dcd20f616d82eff4f764bd>
- <https://git.kernel.org/stable/c/91a0c0c1413239d0548b5aac4c82f38f6d53a91e>

## Sources

- CVE List: [CVE-2023-53754](https://www.cve.org/CVERecord?id=CVE-2023-53754), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53754](https://nvd.nist.gov/vuln/detail/CVE-2023-53754), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53754 · Whole record: https://cve.day/CVE-2023-53754.json · Rebuilt by cve.day 2026-11-25T22:58:35.044Z
