{"id":"CVE-2022-49221","state":"PUBLISHED","title":"drm/msm/dp: populate connector of struct dp_panel","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dp: populate connector of struct dp_panel\n\nDP CTS test case 4.2.2.6 has valid edid with bad checksum on purpose\nand expect DP source return correct checksum. During drm edid read,\ncorrect edid checksum is calculated and stored at\nconnector::real_edid_checksum.\n\nThe problem is struct dp_panel::connector never be assigned, instead the\nconnector is stored in struct msm_dp::connector. When we run compliance\ntesting test case 4.2.2.6 dp_panel_handle_sink_request() won't have a valid\nedid set in struct dp_panel::edid so we'll try to use the connectors\nreal_edid_checksum and hit a NULL pointer dereference error because the\nconnector pointer is never assigned.\n\nChanges in V2:\n-- populate panel connector at msm_dp_modeset_init() instead of at dp_panel_read_sink_caps()\n\nChanges in V3:\n-- remove unhelpful kernel crash trace commit text\n-- remove renaming dp_display parameter to dp\n\nChanges in V4:\n-- add more details to commit text\n\nChanges in v10:\n--  group into one series\n\nChanges in v11:\n-- drop drm/msm/dp: dp_link_parse_sink_count() return immediately if aux read\n\nSignee-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>","publishedAt":"2025-02-26T01:55:53.318Z","updatedAt":"2026-05-23T15:21:45.802Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f86bc4a1a401d3691bad41e67f9db0c2ea94da32","status":"affected","lessThan":"413c62697b61226a236c8b1f5cd64dcf42bcc12f","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"9525b8bcae8b99188990b56484799cf4b1b43786","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"fbba600f432a360b42452fee79d1fb35d3aa8aeb","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"104074ebc0c3f358dd1ee944fbcde92c6e5a21dd","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"5e602f5156910c7b19661699896cb6e3fb94fab9","versionType":"git"},{"version":"ab1ccd1e2584b268784518f838f7cc72faec576b","status":"affected","versionType":"git"},{"version":"08a96864a45b65ee406a344c78dd761b2fd66887","status":"affected","versionType":"git"},{"version":"5.10.67","status":"affected","lessThan":"5.10.110","versionType":"semver"},{"version":"5.13.19","status":"affected","lessThan":"5.14","versionType":"semver"},{"version":"5.14.6","status":"affected","lessThan":"5.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/dp/dp_display.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.10.110","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.33","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.19","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.2","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/dp/dp_display.c"]}],"references":["https://git.kernel.org/stable/c/413c62697b61226a236c8b1f5cd64dcf42bcc12f","https://git.kernel.org/stable/c/9525b8bcae8b99188990b56484799cf4b1b43786","https://git.kernel.org/stable/c/fbba600f432a360b42452fee79d1fb35d3aa8aeb","https://git.kernel.org/stable/c/104074ebc0c3f358dd1ee944fbcde92c6e5a21dd","https://git.kernel.org/stable/c/5e602f5156910c7b19661699896cb6e3fb94fab9"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49221.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49221","state":"PUBLISHED","datePublished":"2025-02-26T01:55:53.318Z","dateUpdated":"2026-05-23T15:21:45.802Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T01:49:39.292Z"},"containers":{"cna":{"title":"drm/msm/dp: populate connector of struct dp_panel","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dp: populate connector of struct dp_panel\n\nDP CTS test case 4.2.2.6 has valid edid with bad checksum on purpose\nand expect DP source return correct checksum. During drm edid read,\ncorrect edid checksum is calculated and stored at\nconnector::real_edid_checksum.\n\nThe problem is struct dp_panel::connector never be assigned, instead the\nconnector is stored in struct msm_dp::connector. When we run compliance\ntesting test case 4.2.2.6 dp_panel_handle_sink_request() won't have a valid\nedid set in struct dp_panel::edid so we'll try to use the connectors\nreal_edid_checksum and hit a NULL pointer dereference error because the\nconnector pointer is never assigned.\n\nChanges in V2:\n-- populate panel connector at msm_dp_modeset_init() instead of at dp_panel_read_sink_caps()\n\nChanges in V3:\n-- remove unhelpful kernel crash trace commit text\n-- remove renaming dp_display parameter to dp\n\nChanges in V4:\n-- add more details to commit text\n\nChanges in v10:\n--  group into one series\n\nChanges in v11:\n-- drop drm/msm/dp: dp_link_parse_sink_count() return immediately if aux read\n\nSignee-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f86bc4a1a401d3691bad41e67f9db0c2ea94da32","status":"affected","lessThan":"413c62697b61226a236c8b1f5cd64dcf42bcc12f","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"9525b8bcae8b99188990b56484799cf4b1b43786","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"fbba600f432a360b42452fee79d1fb35d3aa8aeb","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"104074ebc0c3f358dd1ee944fbcde92c6e5a21dd","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","status":"affected","lessThan":"5e602f5156910c7b19661699896cb6e3fb94fab9","versionType":"git"},{"version":"ab1ccd1e2584b268784518f838f7cc72faec576b","status":"affected","versionType":"git"},{"version":"08a96864a45b65ee406a344c78dd761b2fd66887","status":"affected","versionType":"git"},{"version":"5.10.67","status":"affected","lessThan":"5.10.110","versionType":"semver"},{"version":"5.13.19","status":"affected","lessThan":"5.14","versionType":"semver"},{"version":"5.14.6","status":"affected","lessThan":"5.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/dp/dp_display.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.10.110","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.33","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.19","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.2","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/dp/dp_display.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/413c62697b61226a236c8b1f5cd64dcf42bcc12f"},{"url":"https://git.kernel.org/stable/c/9525b8bcae8b99188990b56484799cf4b1b43786"},{"url":"https://git.kernel.org/stable/c/fbba600f432a360b42452fee79d1fb35d3aa8aeb"},{"url":"https://git.kernel.org/stable/c/104074ebc0c3f358dd1ee944fbcde92c6e5a21dd"},{"url":"https://git.kernel.org/stable/c/5e602f5156910c7b19661699896cb6e3fb94fab9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:21:45.802Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.67","versionEndExcluding":"5.10.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.16.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.17.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49221","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:46:27.011573Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","type":"CWE","description":"CWE-476 NULL Pointer Dereference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:47:04.278Z"}}]}}}