NULL pointer dereference in Linux

CVE-2022-50535

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

drm/amd/display: Fix potential null-deref in dm_resume

[Why]
Fixing smatch error:
dm_resume() error: we previously assumed 'aconnector->dc_link' could be null

[How]
Check if dc_link null at the beginning of the loop,
so further checks can be dropped.

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, 5.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions e0082f71e5d2481ce59d49dbfd3677f5fdc85836, 6.2.3, 4.19.239
  • Linux Kernel

Weakness classification (CWE)

References