CVE-2022-50315Improper Validation of Array Index in Linux

Severity
7.8HIGHNVD
EPSS
0.0%
top 97.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

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 m

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

NVDlinux/linux_kernel4.104.14.298+7
Debianlinux/linux_kernel< 5.10.158-1+3
CVEListV5linux/linux18f7ba4c2f4be6b37d925931f04d6cc28d88d1eef70bd4339cb68bc7e206af4c922bc0d249244403+8
debiandebian/linux< linux 6.0.6-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50315: 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-2025-09-15
GHSA
GHSA-54rc-p2rv-38v3: In the Linux kernel, the following vulnerability has been resolved: ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS UBSAN complains about arra2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS2025-09-15
Debian
CVE-2022-50315: linux - In the Linux kernel, the following vulnerability has been resolved: ata: ahci: ...2022
CVE-2022-50315 — Improper Validation of Array Index | cvebase