{"id":"CVE-2023-53754","published":"2025-12-08T01:19:14Z","modified":"2026-05-11T19:51:02Z","title":"scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()\n\nWhen if_type equals zero and pci_resource_start(pdev, PCI_64BIT_BAR4)\nreturns false, drbl_regs_memmap_p is not remapped. This passes a NULL\npointer to iounmap(), which can trigger a WARN() on certain arches.\n\nWhen if_type equals six and pci_resource_start(pdev, PCI_64BIT_BAR4)\nreturns true, drbl_regs_memmap_p may has been remapped and\nctrl_regs_memmap_p is not remapped. This is a resource leak and passes a\nNULL pointer to iounmap().\n\nTo fix these issues, we need to add null checks before iounmap(), and\nchange some goto labels.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00205,"percentile":0.1051,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/74d90f92eafe8ccd12827228236a28a94eda6bcc","tags":[]},{"url":"https://git.kernel.org/stable/c/bab8dc38b1a0a12bc064fc064269033bdcf5b88e","tags":[]},{"url":"https://git.kernel.org/stable/c/fd8c83d8375b9dac1949f2753485a5c055ebfad0","tags":[]},{"url":"https://git.kernel.org/stable/c/e6f1ef4a53856ed000b0f7265d7e16dcb00f4243","tags":[]},{"url":"https://git.kernel.org/stable/c/631d0fab143bef85ea0813596f1dda36e2b9724c","tags":[]},{"url":"https://git.kernel.org/stable/c/7e5a54d1f00725a739dcd20f616d82eff4f764bd","tags":[]},{"url":"https://git.kernel.org/stable/c/91a0c0c1413239d0548b5aac4c82f38f6d53a91e","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.1}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < 74d90f92eafe8ccd12827228236a28a94eda6bcc",">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < bab8dc38b1a0a12bc064fc064269033bdcf5b88e",">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < fd8c83d8375b9dac1949f2753485a5c055ebfad0",">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < e6f1ef4a53856ed000b0f7265d7e16dcb00f4243",">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < 631d0fab143bef85ea0813596f1dda36e2b9724c",">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < 7e5a54d1f00725a739dcd20f616d82eff4f764bd",">= 1351e69fc6db30e186295f1c9495d03cef6a01a2, < 91a0c0c1413239d0548b5aac4c82f38f6d53a91e"]},{"vendor":"Linux","product":"Linux","versions":["4.17"]}],"euvd":{"id":"EUVD-2023-60074","exploited":false,"provenance":"source"}}