{"id":"CVE-2021-47444","published":"2024-05-22T06:19:37Z","modified":"2026-05-11T13:54:49Z","title":"drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read\n\nIn commit e11f5bd8228f (\"drm: Add support for DP 1.4 Compliance edid\ncorruption test\") the function connector_bad_edid() started assuming\nthat the memory for the EDID passed to it was big enough to hold\n`edid[0x7e] + 1` blocks of data (1 extra for the base block). It\ncompletely ignored the fact that the function was passed `num_blocks`\nwhich indicated how much memory had been allocated for the EDID.\n\nLet's fix this by adding a bounds check.\n\nThis is important for handling the case where there's an error in the\nfirst block of the EDID. In that case we will call\nconnector_bad_edid() without having re-allocated memory based on\n`edid[0x7e]`.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00305,"percentile":0.15705,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a7b45024f66f9ec769e8dbb1a51ae83cd05929c7","tags":[]},{"url":"https://git.kernel.org/stable/c/09f3946bb452918dbfb1982add56f9ffaae393dc","tags":[]},{"url":"https://git.kernel.org/stable/c/97794170b696856483f74b47bfb6049780d2d3a0","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.14}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e11f5bd8228fc3760c221f940b9f6365dbf3e7ed, < a7b45024f66f9ec769e8dbb1a51ae83cd05929c7",">= e11f5bd8228fc3760c221f940b9f6365dbf3e7ed, < 09f3946bb452918dbfb1982add56f9ffaae393dc",">= e11f5bd8228fc3760c221f940b9f6365dbf3e7ed, < 97794170b696856483f74b47bfb6049780d2d3a0"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-24T19:29:09.418657Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34449","exploited":false,"provenance":"source"}}