{"id":"CVE-2024-43816","published":"2024-08-17T09:21:38Z","modified":"2026-08-05T11:36:38Z","title":"scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages\n\nOn big endian architectures, it is possible to run into a memory out of\nbounds pointer dereference when FCP targets are zoned.\n\nIn lpfc_prep_embed_io, the memcpy(ptr, fcp_cmnd, sgl->sge_len) is\nreferencing a little endian formatted sgl->sge_len value.  So, the memcpy\ncan cause big endian systems to crash.\n\nRedefine the *sgl ptr as a struct sli4_sge_le to make it clear that we are\nreferring to a little endian formatted data structure.  And, update the\nroutine with proper le32_to_cpu macro usages.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00203,"percentile":0.10512,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9fd003f344d502f65252963169df3dd237054e49","tags":[]},{"url":"https://git.kernel.org/stable/c/8bc7c617642db6d8d20ee671fb6c4513017e7a7e","tags":[]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":2.1},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= af20bb73ac2591631d504f3f859f073bcdb7e11e, < 9fd003f344d502f65252963169df3dd237054e49",">= af20bb73ac2591631d504f3f859f073bcdb7e11e, < 8bc7c617642db6d8d20ee671fb6c4513017e7a7e"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:09:16.258182Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40466","exploited":false,"provenance":"source"}}