{"id":"CVE-2022-49221","summary":"drm/msm/dp: populate connector of struct dp_panel","details":"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 \u003cquic_khsieh@quicinc.com\u003e","modified":"2026-11-13T04:00:57.895596891Z","published":"2025-02-26T01:55:53.318Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49221.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/104074ebc0c3f358dd1ee944fbcde92c6e5a21dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/413c62697b61226a236c8b1f5cd64dcf42bcc12f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e602f5156910c7b19661699896cb6e3fb94fab9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9525b8bcae8b99188990b56484799cf4b1b43786"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbba600f432a360b42452fee79d1fb35d3aa8aeb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49221.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49221"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f86bc4a1a401d3691bad41e67f9db0c2ea94da32"},{"fixed":"413c62697b61226a236c8b1f5cd64dcf42bcc12f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7948fe12d47a946fb8025a0534c900e3dd4b5839"},{"fixed":"9525b8bcae8b99188990b56484799cf4b1b43786"},{"fixed":"fbba600f432a360b42452fee79d1fb35d3aa8aeb"},{"fixed":"104074ebc0c3f358dd1ee944fbcde92c6e5a21dd"},{"fixed":"5e602f5156910c7b19661699896cb6e3fb94fab9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ab1ccd1e2584b268784518f838f7cc72faec576b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"08a96864a45b65ee406a344c78dd761b2fd66887"}]}],"versions":["v5.10.109","v5.10.108","v5.10.107","v5.10.106","v5.10.105","v5.10.104","v5.10.103","v5.10.102","v5.10.101","v5.10.100","v5.10.99","v5.10.98","v5.10.97","v5.10.96","v5.10.95","v5.10.94","v5.10.93","v5.10.92","v5.10.91","v5.10.90","v5.10.89","v5.10.88","v5.10.87","v5.10.86","v5.10.85","v5.10.84","v5.10.83","v5.10.82","v5.10.81","v5.10.80","v5.10.79","v5.10.78","v5.10.77","v5.10.76","v5.10.75","v5.10.74","v5.10.73","v5.10.72","v5.10.71","v5.10.70","v5.10.69","v5.10.68","v5.10.67","v5.13.19","v5.14.21","v5.14.20","v5.14.19","v5.14.18","v5.14.17","v5.14.16","v5.14.15","v5.14.14","v5.14.13","v5.14.12","v5.14.11","v5.14.10","v5.14.9","v5.14.8","v5.14.7","v5.14.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49221.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.67"},{"fixed":"5.10.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.13.19"},{"fixed":"5.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.14.6"},{"fixed":"5.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"5.17.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49221.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}