CVE-2024-43816
published high CVSS 3.1 · 7.8scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaf20bb73ac2591631d504f3f859f073bcdb7e11e to < 9fd003f344d502f65252963169df3dd237054e49 · af20bb73ac2591631d504f3f859f073bcdb7e11e to < 8bc7c617642db6d8d20ee671fb6c4513017e7a7e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_13_67-rtx86_64 | Advisory build | 1-150500.11.3.2 | SUSE-SU-2024:3209-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages On big endian architectures, it is possible to run into a memory out of bounds pointer dereference when FCP targets are zoned. In lpfc_prep_embed_io, the memcpy(ptr, fcp_cmnd, sgl->sge_len) is referencing a little endian formatted sgl->sge_len value. So, the memcpy can cause big endian systems to crash. Redefine the *sgl ptr as a struct sli4_sge_le to make it clear that we are referring to a little endian formatted data structure. And, update the routine with proper le32_to_cpu macro usages.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The oversized length is produced entirely by host-side driver code and is reached by issuing SCSI commands through `lpfc_queuecommand` from local file/block I/O or an SG_IO ioctl on an FC-attached LUN. No remote peer supplies the faulty value, so local access to the system is required. AC:L - On an affected big-endian host with an embed-capable SLI4 HBA the byte-swapped length is used on every embedded FCP I/O, so a single ordinary read or write deterministically triggers the copy — no race to win and no memory layout the attacker cannot influence. PR:L - Any unprivileged local user with access to a file or device node backed by an lpfc FC LUN reaches the path through normal I/O; 32-byte CDBs (the zoned case) are also emitted for plain reads/writes to a ZBC device without any capability check. UI:N - The command is submitted by the attacker's own I/O; no victim action or cooperation is needed. S:U - The corruption is confined to kernel memory within the same security authority — there is no VM, IOMMU, or sandbox boundary crossed. C:H - The memcpy reads roughly 512–768 MB past the end of the small `fcp_cmnd` DMA buffer, an unbounded out-of-bounds read of arbitrary kernel memory that is then written into the driver's WQE/heap region. I:H - This is an unbounded out-of-bounds write starting at `wqe->words[18]` inside `lpfc_cmd->cur_iocbq`, overwriting adjacent slab objects and function pointers with data whose leading bytes (LUN, FCP control, CDB) are attacker-chosen — classic heap-corruption territory for control-flow hijack. A:H - A multi-hundred-megabyte wild memcpy inevitably faults on unmapped memory or destroys critical kernel structures, producing a guaranteed oops/panic that can be re-triggered at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | af20bb73ac2591631d504f3f859f073bcdb7e11e to < 9fd003f344d502f65252963169df3dd237054e49 (affected · git)af20bb73ac2591631d504f3f859f073bcdb7e11e to < 8bc7c617642db6d8d20ee671fb6c4513017e7a7e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e639cacaf386863e29ef562e3c0c208968eb45065133f78593aff2f6d8c8e9ab
- Ingested
- 23 Sep 2026, 08:27:16 UTC
- Source record
- Official CVE record