CVE-2022-50535 PUBLISHED

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

Assigner: Linux
Reserved: 07.10.2025 Published: 07.10.2025 Updated: 07.10.2025

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to fd79b61af2782f8875c78f50cdb8630ec43e2990 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to d236103782de25736996a45bd36ac2a89bdc93c6 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 9f73793b81637c60ccc83cc508645310b8ab7d80 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to bb9a5562beb982aa5ebb73c521c49596ff8b8030 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 8e365f1bd672cc9320a936f6ae6f8087aa40e9bc (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 00b655fa96b4e941351cc4bf5ca755a65ae94a8e (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 7a7175a2cd84b7874bebbf8e59f134557a34161b (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 4.19.276 to 4.19.* (incl.)
  • unaffected from 5.4.235 to 5.4.* (incl.)
  • unaffected from 5.10.173 to 5.10.* (incl.)
  • unaffected from 5.15.99 to 5.15.* (incl.)
  • unaffected from 6.1.16 to 6.1.* (incl.)
  • unaffected from 6.2.3 to 6.2.* (incl.)
  • unaffected from 6.3 to * (incl.)

References