CVE-2022-49731
Last modified
CVE-2022-49731 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 4.9.320 | — |
| Linux | Linux Kernel | >= 4.10, < 4.14.285 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.249 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.200 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.124 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.49 | — |
| Linux | Linux Kernel | >= 5.16, < 5.18.6 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49731?
How severe is CVE-2022-49731?
How do I fix CVE-2022-49731?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49726In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49727In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49728In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49729In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4973WordPress Core, in versions up to 6.0.2, is vulnerable to Au…5.4
- CVE-2022-49730Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-49732In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49733In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-49737In X.Org X server 20.11 through 21.1.16, when a client appli…7.7
- CVE-2022-49738In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49739In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4974The Freemius SDK, as used by hundreds of WordPress plugin an…6.3
Are you affected by CVE-2022-49731?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
