{"id":"CVE-2022-50526","state":"PUBLISHED","title":"drm/msm/dp: fix memory corruption with too many bridges","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dp: fix memory corruption with too many bridges\n\nAdd the missing sanity check on the bridge counter to avoid corrupting\ndata beyond the fixed-sized bridge array in case there are ever more\nthan eight bridges.\n\nPatchwork: https://patchwork.freedesktop.org/patch/502664/","publishedAt":"2025-10-07T15:19:18.586Z","updatedAt":"2026-05-11T19:21:07.988Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8a3b4c17f863cde8e8743edd8faffe916c49b960","status":"affected","lessThan":"b312fcab461bd9484c61409007a6fe059f9c2074","versionType":"git"},{"version":"8a3b4c17f863cde8e8743edd8faffe916c49b960","status":"affected","lessThan":"74466e46e7543c7f74f1502181e9ba93f7521374","versionType":"git"}],"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.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.0.7","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","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/b312fcab461bd9484c61409007a6fe059f9c2074","https://git.kernel.org/stable/c/74466e46e7543c7f74f1502181e9ba93f7521374"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50526.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50526","state":"PUBLISHED","datePublished":"2025-10-07T15:19:18.586Z","dateUpdated":"2026-05-11T19:21:07.988Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-07T15:15:38.664Z"},"containers":{"cna":{"title":"drm/msm/dp: fix memory corruption with too many bridges","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dp: fix memory corruption with too many bridges\n\nAdd the missing sanity check on the bridge counter to avoid corrupting\ndata beyond the fixed-sized bridge array in case there are ever more\nthan eight bridges.\n\nPatchwork: https://patchwork.freedesktop.org/patch/502664/"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8a3b4c17f863cde8e8743edd8faffe916c49b960","status":"affected","lessThan":"b312fcab461bd9484c61409007a6fe059f9c2074","versionType":"git"},{"version":"8a3b4c17f863cde8e8743edd8faffe916c49b960","status":"affected","lessThan":"74466e46e7543c7f74f1502181e9ba93f7521374","versionType":"git"}],"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.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.0.7","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","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/b312fcab461bd9484c61409007a6fe059f9c2074"},{"url":"https://git.kernel.org/stable/c/74466e46e7543c7f74f1502181e9ba93f7521374"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:21:07.988Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}