CVE-2022-50315
published high CVSS 3.1 · 7.8ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < f70bd4339cb68bc7e206af4c922bc0d249244403 · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < da2ea4a961d9f89ed248734e7032350c260dc3a3 · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 67a00c299c5c143817c948fbc7de1a2fa1af38fb · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 383b7c50f5445ff8dbbf03080905648d6980c39d · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 303d0f761431d848dd8d7ff9fd9b8c101879cabe · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 8fbe13de1cc7cef2564be3cbf60400b33eee023b · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < d6314d5f68764550c84d732ce901ddd3ac6b415f · 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 1e41e693f458eef2d5728207dbd327cd3b16580a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.27 (affected) · 0 to < 2.6.27 (unaffected · semver) · 4.9.332 through 4.9.* (unaffected · semver) · 4.14.298 through 4.14.* (unaffected · semver) · 4.19.264 through 4.19.* (unaffected · semver) · 5.4.221 through 5.4.* (unaffected · semver) · 5.10.152 through 5.10.* (unaffected · semver) · 5.15.76 through 5.15.* (unaffected · semver) · 6.0.6 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1888 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-023 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-011 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-039 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.0.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-284.200.1.el9_2 | RHSA-2026:92993 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtsrc | Advisory build | 5.14.0-284.200.1.rt14.485.el9_2 | RHSA-2026:93047 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-284.200.1.rt14.485.el9_2 | RHSA-2026:93047 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-corex86_64 | Advisory build | 5.14.0-284.200.1.rt14.485.el9_2 | RHSA-2026:93047 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debugx86_64 | Advisory build | 5.14.0-284.200.1.rt14.485.el9_2 | RHSA-2026:93047 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS UBSAN complains about array-index-out-of-bounds: [ 1.980703] kernel: UBSAN: array-index-out-of-bounds in /build/linux-9H675w/linux-5.15.0/drivers/ata/libahci.c:968:41 [ 1.980709] kernel: index 15 is out of range for type 'ahci_em_priv [8]' [ 1.980713] kernel: CPU: 0 PID: 209 Comm: scsi_eh_8 Not tainted 5.15.0-25-generic #25-Ubuntu [ 1.980716] kernel: Hardware name: System manufacturer System Product Name/P5Q3, BIOS 1102 06/11/2010 [ 1.980718] kernel: Call Trace: [ 1.980721] kernel: <TASK> [ 1.980723] kernel: show_stack+0x52/0x58 [ 1.980729] kernel: dump_stack_lvl+0x4a/0x5f [ 1.980734] kernel: dump_stack+0x10/0x12 [ 1.980736] kernel: ubsan_epilogue+0x9/0x45 [ 1.980739] kernel: __ubsan_handle_out_of_bounds.cold+0x44/0x49 [ 1.980742] kernel: ahci_qc_issue+0x166/0x170 [libahci] [ 1.980748] kernel: ata_qc_issue+0x135/0x240 [ 1.980752] kernel: ata_exec_internal_sg+0x2c4/0x580 [ 1.980754] kernel: ? vprintk_default+0x1d/0x20 [ 1.980759] kernel: ata_exec_internal+0x67/0xa0 [ 1.980762] kernel: sata_pmp_read+0x8d/0xc0 [ 1.980765] kernel: sata_pmp_read_gscr+0x3c/0x90 [ 1.980768] kernel: sata_pmp_attach+0x8b/0x310 [ 1.980771] kernel: ata_eh_revalidate_and_attach+0x28c/0x4b0 [ 1.980775] kernel: ata_eh_recover+0x6b6/0xb30 [ 1.980778] kernel: ? ahci_do_hardreset+0x180/0x180 [libahci] [ 1.980783] kernel: ? ahci_stop_engine+0xb0/0xb0 [libahci] [ 1.980787] kernel: ? ahci_do_softreset+0x290/0x290 [libahci] [ 1.980792] kernel: ? trace_event_raw_event_ata_eh_link_autopsy_qc+0xe0/0xe0 [ 1.980795] kernel: sata_pmp_eh_recover.isra.0+0x214/0x560 [ 1.980799] kernel: sata_pmp_error_handler+0x23/0x40 [ 1.980802] kernel: ahci_error_handler+0x43/0x80 [libahci] [ 1.980806] kernel: ata_scsi_port_error_handler+0x2b1/0x600 [ 1.980810] kernel: ata_scsi_error+0x9c/0xd0 [ 1.980813] kernel: scsi_error_handler+0xa1/0x180 [ 1.980817] kernel: ? scsi_unjam_host+0x1c0/0x1c0 [ 1.980820] kernel: kthread+0x12a/0x150 [ 1.980823] kernel: ? set_kthread_struct+0x50/0x50 [ 1.980826] kernel: ret_from_fork+0x22/0x30 [ 1.980831] kernel: </TASK> This happens because sata_pmp_init_links() initialize link->pmp up to SATA_PMP_MAX_PORTS while em_priv is declared as 8 elements array. I can't find the maximum Enclosure Management ports specified in AHCI spec v1.3.1, but "12.2.1 LED message type" states that "Port Multiplier Information" can utilize 4 bits, which implies it can support up to 16 ports. Hence, use SATA_PMP_MAX_PORTS as EM_MAX_SLOTS to resolve the issue. BugLink: https://bugs.launchpad.net/bugs/1970074
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 OOB is reached through AHCI enclosure-management paths on systems with a SATA port multiplier (common on NAS/DAS and eSATA setups). A local attacker triggers it via world-readable sysfs (em_message) and normal ATA/PMP command processing, without needing network access. AC:L - Once an AHCI host with enclosure management and a PMP is present, the out-of-bounds em_priv[link->pmp] access is deterministic on PMP attach, LED sysfs reads, port resume, and I/O—no race or other attacker-uncontrollable condition is required. PR:L - em_message is S_IRUGO, so an unprivileged local user can force OOB reads of adjacent kernel heap via ahci_led_show for PMP port indices >= 8. Port resume and related EM paths that write past em_priv[] also do not require root capabilities beyond normal local access. UI:N - Exploitation does not need a victim to open a file or mount anything; attaching/operating the PMP and reading host sysfs attributes is sufficient, and the bug also fires from kernel EH/resume context without user interaction. S:U - Impact is confined to the host kernel’s memory and control flow (heap OOB in ahci_port_priv). There is no VM/hypervisor escape or other cross-authority boundary crossing. C:H - ahci_led_show and related EM paths read em_priv[link->pmp] past the 8-slot array into adjacent heap and return those values to userspace, enabling disclosure of kernel memory; heap corruption from the write paths can further yield arbitrary read primitives. I:H - For PMP indices >= 8, ahci_init_sw_activity performs OOB writes (including timer_setup of a timer_list) into memory past em_priv[], and ahci_sw_activity/ahci_activity_store can likewise corrupt adjacent heap—classic primitives for control-flow hijacking. A:H - Out-of-bounds heap reads/writes and corrupted timer_list state can oops/panic the kernel; the same paths run in SCSI error-handler/resume context where memory corruption reliably threatens system availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < f70bd4339cb68bc7e206af4c922bc0d249244403 (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < da2ea4a961d9f89ed248734e7032350c260dc3a3 (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 67a00c299c5c143817c948fbc7de1a2fa1af38fb (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 383b7c50f5445ff8dbbf03080905648d6980c39d (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 303d0f761431d848dd8d7ff9fd9b8c101879cabe (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 8fbe13de1cc7cef2564be3cbf60400b33eee023b (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < d6314d5f68764550c84d732ce901ddd3ac6b415f (affected · git)18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee to < 1e41e693f458eef2d5728207dbd327cd3b16580a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.27 (affected)0 to < 2.6.27 (unaffected · semver)4.9.332 through 4.9.* (unaffected · semver)4.14.298 through 4.14.* (unaffected · semver)4.19.264 through 4.19.* (unaffected · semver)5.4.221 through 5.4.* (unaffected · semver)5.10.152 through 5.10.* (unaffected · semver)5.15.76 through 5.15.* (unaffected · semver)6.0.6 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1e41e693f458eef2d5728207dbd327cd3b16580a
- https://git.kernel.org/stable/c/303d0f761431d848dd8d7ff9fd9b8c101879cabe
- https://git.kernel.org/stable/c/383b7c50f5445ff8dbbf03080905648d6980c39d
- https://git.kernel.org/stable/c/67a00c299c5c143817c948fbc7de1a2fa1af38fb
- https://git.kernel.org/stable/c/8fbe13de1cc7cef2564be3cbf60400b33eee023b
- https://git.kernel.org/stable/c/d6314d5f68764550c84d732ce901ddd3ac6b415f
- https://git.kernel.org/stable/c/da2ea4a961d9f89ed248734e7032350c260dc3a3
- https://git.kernel.org/stable/c/f70bd4339cb68bc7e206af4c922bc0d249244403
Provider assertions
2Linux · cna
ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 37b190f5bcd9eebca2fa84b07e1f0f029756ee6fe367e77146033fe7124cb66f
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record