CVE-2022-49731ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
- 5.5MediumCVSS base score
- 0.28%Exploitation in 30 daysEPSS · top 79% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.28% · top 79% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < ca4693e6e06e4fd2b240c0fec47aa2498c94848e
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < 1ac5efee33f29e704226506d429b84575a5d66f8
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < a810bd5af06977a847d1f202b22d7defd5c62497
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < 253334f84c81bc6a43af489f108c0bddad989eef
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < 36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < ff128fbea720bf763fa345680dda5f050bc24a47
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < 07cbdb4807d369fbda73062a91b570c4dc5ec429
- affected f5cda257296fbd3683b1f568f2d94d3caaacf74d – < bf476fe22aa1851bab4728e0c49025a6a0bea307
- affected 2.6.22
- unaffected < 2.6.22
- unaffected 4.9.320 – ≤ 4.9.*
- unaffected 4.14.285 – ≤ 4.14.*
- unaffected 4.19.249 – ≤ 4.19.*
- unaffected 5.4.200 – ≤ 5.4.*
- unaffected 5.10.124 – ≤ 5.10.*
- unaffected 5.15.49 – ≤ 5.15.*
- unaffected 5.18.6 – ≤ 5.18.*
- unaffected 5.19 – ≤ *
References
References8
- https://git.kernel.org/stable/c/ca4693e6e06e4fd2b240c0fec47aa2498c94848e (opens in a new tab)
- https://git.kernel.org/stable/c/1ac5efee33f29e704226506d429b84575a5d66f8 (opens in a new tab)
- https://git.kernel.org/stable/c/a810bd5af06977a847d1f202b22d7defd5c62497 (opens in a new tab)
- https://git.kernel.org/stable/c/253334f84c81bc6a43af489f108c0bddad989eef (opens in a new tab)
- https://git.kernel.org/stable/c/36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a (opens in a new tab)
- https://git.kernel.org/stable/c/ff128fbea720bf763fa345680dda5f050bc24a47 (opens in a new tab)
- https://git.kernel.org/stable/c/07cbdb4807d369fbda73062a91b570c4dc5ec429 (opens in a new tab)
- https://git.kernel.org/stable/c/bf476fe22aa1851bab4728e0c49025a6a0bea307 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-54504 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-49731)Record last updated .