CVE-2022-49731
MEDIUMLinux Kernel < 4.9.320 - NULL Pointer Dereference in ata_host_alloc_pinfo
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo() In an unlikely (and probably wrong?) case that the 'ppi' parameter of ata_host_alloc_pinfo() points to an array starting with a NULL pointer, there's going to be a kernel oops as the 'pi' local variable won't get reassigned from the initial value of NULL. Initialize 'pi' instead to '&ata_dummy_port_info' to fix the possible kernel oops for good... Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0027
EPSS Percentile
18.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-476
Status
published
Products (27)
linux/Kernel
2.6.22 - 4.9.320linux
linux/Kernel
4.10.0 - 4.14.285linux
linux/Kernel
4.15.0 - 4.19.249linux
linux/Kernel
4.20.0 - 5.4.200linux
linux/Kernel
5.11.0 - 5.15.49linux
linux/Kernel
5.16.0 - 5.18.6linux
linux/Kernel
5.5.0 - 5.10.124linux
Linux/Linux
< 2.6.22
Linux/Linux
2.6.22
Linux/Linux
4.14.285 - 4.14.*
... and 17 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026