NULL pointer dereference in Linux

CVE-2022-49756

In the Linux kernel, the following vulnerability has been resolved:

phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()

sp_usb_phy_probe() will call platform_get_resource_byname() that may fail
and return NULL. devm_ioremap() will use usbphy->moon4_res_mem->start as
input, which may causes null-ptr-deref. Check the ret value of
platform_get_resource_byname() to avoid the null-ptr-deref.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 6.9th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 99d9ccd97385208b78b3d88e756451f4b70119fc, 6.1, 0
  • Linux Kernel — versions 6.2

Weakness classification (CWE)

References