CVE-2022-49731: ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
Vulnerability summary
CVE-2022-49731 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 7Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu112 products
- linuxAll versions (No fix recorded) | < 4.15.0-194.205 | < 5.4.0-126.142 | < 5.15.0-48.54
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1142.154 | < 5.4.0-1085.92 | < 5.15.0-1020.24
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < ca4693e6e06e4fd2b240c0fec47aa2498c94848e | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < 1ac5efee33f29e704226506d429b84575a5d66f8 | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < a810bd5af06977a847d1f202b22d7defd5c62497 | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < 253334f84c81bc6a43af489f108c0bddad989eef | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < 36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < ff128fbea720bf763fa345680dda5f050bc24a47 | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < 07cbdb4807d369fbda73062a91b570c4dc5ec429 | ≥ f5cda257296fbd3683b1f568f2d94d3caaacf74d, < bf476fe22aa1851bab4728e0c49025a6a0bea307 | 2.6.22
- linux_kernel< 4.9.320 | ≥ 4.10, < 4.14.285 | ≥ 4.15, < 4.19.249 | ≥ 4.20, < 5.4.200 | ≥ 5.5, < 5.10.124 | ≥ 5.11, < 5.15.49 | ≥ 5.16, < 5.18.6 | 5.19:rc1
Debian1 product
- linux< 5.18.14-1
3 vendors · 115 products