{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49221","id":"CVE-2022-49221","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, ","descriptionLong":"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>","published":"2025-02-26T01:55:53.318Z","updated":"2026-11-17T07:00:17.336334196Z","reserved":"2025-02-26T01:49:39.292Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f86bc4a1a401d3691bad41e67f9db0c2ea94da32","lessThan":"413c62697b61226a236c8b1f5cd64dcf42bcc12f","status":"affected","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","lessThan":"9525b8bcae8b99188990b56484799cf4b1b43786","status":"affected","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","lessThan":"fbba600f432a360b42452fee79d1fb35d3aa8aeb","status":"affected","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","lessThan":"104074ebc0c3f358dd1ee944fbcde92c6e5a21dd","status":"affected","versionType":"git"},{"version":"7948fe12d47a946fb8025a0534c900e3dd4b5839","lessThan":"5e602f5156910c7b19661699896cb6e3fb94fab9","status":"affected","versionType":"git"},{"version":"ab1ccd1e2584b268784518f838f7cc72faec576b","status":"affected","versionType":"git"},{"version":"08a96864a45b65ee406a344c78dd761b2fd66887","status":"affected","versionType":"git"},{"version":"5.10.67","lessThan":"5.10.110","status":"affected","versionType":"semver"},{"version":"5.13.19","lessThan":"5.14","status":"affected","versionType":"semver"},{"version":"5.14.6","lessThan":"5.15","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.10.110","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/413c62697b61226a236c8b1f5cd64dcf42bcc12f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9525b8bcae8b99188990b56484799cf4b1b43786","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fbba600f432a360b42452fee79d1fb35d3aa8aeb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/104074ebc0c3f358dd1ee944fbcde92c6e5a21dd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5e602f5156910c7b19661699896cb6e3fb94fab9","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49221.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49221","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00268,"epssPercentile":0.19256,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49221","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49221","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49221","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49221","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}