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
- git.kernel.org/stable/c/fd79b61af2782f8875c78f50cdb8630ec43e2990 (Patch)
- git.kernel.org/stable/c/d236103782de25736996a45bd36ac2a89bdc93c6 (Patch)
- git.kernel.org/stable/c/9f73793b81637c60ccc83cc508645310b8ab7d80 (Patch)
- git.kernel.org/stable/c/bb9a5562beb982aa5ebb73c521c49596ff8b8030 (Patch)
- git.kernel.org/stable/c/8e365f1bd672cc9320a936f6ae6f8087aa40e9bc (Patch)
- git.kernel.org/stable/c/00b655fa96b4e941351cc4bf5ca755a65ae94a8e (Patch)
- git.kernel.org/stable/c/7a7175a2cd84b7874bebbf8e59f134557a34161b (Patch)