CVE-2022-49731: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: before 4.9.320 (fixed in 4.9.320); from 4.10, before 4.14.285 (fixed in 4.14.285); from 4.15, before 4.19.249 (fixed in 4.19.249); from 4.20, before 5.4.200 (fixed in 5.4.200); from 5.5, before 5.10.124 (fixed in 5.10.124); from 5.11, before 5.15.49 (fixed in 5.15.49); …

Published 2025-02-26. Last modified 2026-06-17.