{"id":"CVE-2024-43821","published":"2024-08-17T09:21:42Z","modified":"2026-05-11T20:30:24Z","title":"scsi: lpfc: Fix a possible null pointer dereference","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Fix a possible null pointer dereference\n\nIn function lpfc_xcvr_data_show, the memory allocation with kmalloc might\nfail, thereby making rdp_context a null pointer. In the following context\nand functions that use this pointer, there are dereferencing operations,\nleading to null pointer dereference.\n\nTo fix this issue, a null pointer check should be added. If it is null,\nuse scnprintf to notify the user and return len.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00225,"percentile":0.13435,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/57600a7dd2b52c904f7c8d2cac0fd8c23868e680","tags":[]},{"url":"https://git.kernel.org/stable/c/45b2a23e00d448a9e6d1f371ca3a4d4b073fe78c","tags":[]},{"url":"https://git.kernel.org/stable/c/5e0bf3e8aec2cbc51123f84b29aaacbd91fc56fa","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.69}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 479b0917e4477f49df2e3be454aac3cfa5dec171, < 57600a7dd2b52c904f7c8d2cac0fd8c23868e680",">= 479b0917e4477f49df2e3be454aac3cfa5dec171, < 45b2a23e00d448a9e6d1f371ca3a4d4b073fe78c",">= 479b0917e4477f49df2e3be454aac3cfa5dec171, < 5e0bf3e8aec2cbc51123f84b29aaacbd91fc56fa"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:09:00.684466Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40471","exploited":false,"provenance":"source"}}