{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-49731", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-02-26T02:21:30.449Z", "datePublished": "2025-02-26T02:24:41.300Z", "dateUpdated": "2026-05-11T19:05:44.324Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:05:44.324Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()\n\nIn an unlikely (and probably wrong?) case that the 'ppi' parameter of\nata_host_alloc_pinfo() points to an array starting with a NULL pointer,\nthere's going to be a kernel oops as the 'pi' local variable won't get\nreassigned from the initial value of NULL. Initialize 'pi' instead to\n'&ata_dummy_port_info' to fix the possible kernel oops for good...\n\nFound by Linux Verification Center (linuxtesting.org) with the SVACE static\nanalysis tool." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/ata/libata-core.c" ], "versions": [ { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "ca4693e6e06e4fd2b240c0fec47aa2498c94848e", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "1ac5efee33f29e704226506d429b84575a5d66f8", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "a810bd5af06977a847d1f202b22d7defd5c62497", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "253334f84c81bc6a43af489f108c0bddad989eef", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "ff128fbea720bf763fa345680dda5f050bc24a47", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "07cbdb4807d369fbda73062a91b570c4dc5ec429", "status": "affected", "versionType": "git" }, { "version": "f5cda257296fbd3683b1f568f2d94d3caaacf74d", "lessThan": "bf476fe22aa1851bab4728e0c49025a6a0bea307", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/ata/libata-core.c" ], "versions": [ { "version": "2.6.22", "status": "affected" }, { "version": "0", "lessThan": "2.6.22", "status": "unaffected", "versionType": "semver" }, { "version": "4.9.320", "lessThanOrEqual": "4.9.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.14.285", "lessThanOrEqual": "4.14.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.249", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.200", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.124", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.49", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.18.6", "lessThanOrEqual": "5.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.19", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "4.9.320" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "4.14.285" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "4.19.249" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "5.4.200" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "5.10.124" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "5.15.49" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "5.18.6" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.6.22", "versionEndExcluding": "5.19" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/ca4693e6e06e4fd2b240c0fec47aa2498c94848e" }, { "url": "https://git.kernel.org/stable/c/1ac5efee33f29e704226506d429b84575a5d66f8" }, { "url": "https://git.kernel.org/stable/c/a810bd5af06977a847d1f202b22d7defd5c62497" }, { "url": "https://git.kernel.org/stable/c/253334f84c81bc6a43af489f108c0bddad989eef" }, { "url": "https://git.kernel.org/stable/c/36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a" }, { "url": "https://git.kernel.org/stable/c/ff128fbea720bf763fa345680dda5f050bc24a47" }, { "url": "https://git.kernel.org/stable/c/07cbdb4807d369fbda73062a91b570c4dc5ec429" }, { "url": "https://git.kernel.org/stable/c/bf476fe22aa1851bab4728e0c49025a6a0bea307" } ], "title": "ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 5.5, "attackVector": "LOCAL", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "NONE" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2022-49731", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2025-10-01T19:31:53.132246Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-476", "description": "CWE-476 NULL Pointer Dereference" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-10-01T19:36:43.656Z" } } ] } }