CVE-2022-49221

drm/msm/dp: populate connector of struct dp_panel

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: populate connector of struct dp_panel DP CTS test case 4.2.2.6 has valid edid with bad checksum on purpose and expect DP source return correct checksum. During drm edid read, correct edid checksum is calculated and stored at connector::real_edid_checksum. The problem is struct dp_panel::connector never be assigned, instead the connector is stored in struct msm_dp::connector. When we run compliance testing test case 4.2.2.6 dp_panel_handle_sink_request() won't have a valid edid set in struct dp_panel::edid so we'll try to use the connectors real_edid_checksum and hit a NULL pointer dereference error because the connector pointer is never assigned. Changes in V2: -- populate panel connector at msm_dp_modeset_init() instead of at dp_panel_read_sink_caps() Changes in V3: -- remove unhelpful kernel crash trace commit text -- remove renaming dp_display parameter to dp Changes in V4: -- add more details to commit text Changes in v10: -- group into one series Changes in v11: -- drop drm/msm/dp: dp_link_parse_sink_count() return immediately if aux read Signee-off-by: Kuogee Hsieh <[email protected]>

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.13.19v ≥ 5.14.65.10.67 ≤ v < 5.10.1105.13.19 ≤ v < 5.145.14.6 ≤ v < 5.155.14.6 ≤ v < 5.15.335.15 ≤ v < 5.15.335.15 ≤ v < 5.16.195.15 ≤ v < 5.17.25.15 ≤ v < 5.185.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.10.675.13.195.14.65.157948fe12d47a946fb8025a0534c900e3dd4b58398a96864a45b65ee406a344c78dd761b2fd66887ab1ccd1e2584b268784518f838f7cc72faec576bf86bc4a1a401d3691bad41e67f9db0c2ea94da32
Vendor states this is fixed in 104074ebc0c3f358dd1ee944fbcde92c6e5a21dd (fixed)
Vendor states this is fixed in 413c62697b61226a236c8b1f5cd64dcf42bcc12f (fixed)
Vendor states this is fixed in 5e602f5156910c7b19661699896cb6e3fb94fab9 (fixed)
Vendor states this is fixed in 9525b8bcae8b99188990b56484799cf4b1b43786 (fixed)
Vendor states this is fixed in fbba600f432a360b42452fee79d1fb35d3aa8aeb (fixed)
Vendor states this is fixed in 5.10.110 (unaffected)
Affected range stops below 5.14, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/104074ebc0c3f358dd1ee944fbcde92c6e5a21dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/413c62697b61226a236c8b1f5cd64dcf42bcc12f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e602f5156910c7b19661699896cb6e3fb94fab9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9525b8bcae8b99188990b56484799cf4b1b43786
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fbba600f432a360b42452fee79d1fb35d3aa8aeb

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card