{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50437","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-09-17T14:53:07.010Z","datePublished":"2025-10-01T11:42:14.400Z","dateUpdated":"2026-08-05T08:58:47.939Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:58:47.939Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/hdmi: 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/502670/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The OOB write is only in msm_hdmi_modeset_init during local MSM DRM aggregate bind (msm_drm_bind → MDP4/MDP5 modeset_init), reached via boot OF probe, module load, or sysfs bind—not via network or adjacent-link input.\nAC:L - Once num_bridges reaches MAX_BRIDGES (8)—including via the coexisting probe-deferral counter leak plus rebind cycles—the unchecked bridges[num_bridges++] store of hdmi->bridge is deterministic with no race or attacker-uncontrollable memory layout.\nPR:L - Forcing rebind via sysfs/module reload needs CAP_SYS_ADMIN/CAP_SYS_MODULE, but the same modeset_init path also runs on ordinary boot-time probe deferral of Qualcomm MSM display components with no credentials; resolving that ambiguity toward higher severity gives Low.\nUI:N - Probe deferral retries and driver bind/rebind tear-downs run entirely in kernel driver-core context; no victim mount, file open, or other interactive action is required.\nS:U - The corruption is of host-kernel msm_drm_private fields (bridges[] into adjacent vram metadata) within the same OS security authority; it does not cross a VM, IOMMU, or sandbox boundary.\nC:H - The missing bounds check is an out-of-bounds write of a drm_bridge pointer past bridges[MAX_BRIDGES] into adjacent kernel state (vram size/paddr/drm_mm), which per guidance yields High confidentiality via memory-corruption disclosure primitives.\nI:H - Out-of-bounds writes of kernel pointers into adjacent msm_drm_private VRAM/drm_mm fields are integrity High: they corrupt allocator/VRAM metadata and enable write/control-flow hijack primitives beyond a pure crash.\nA:H - Corrupting vram metadata and overrunning the fixed bridges array predictably causes kernel oops/panic or hang on subsequent DRM teardown or VRAM use, which is Availability High."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/hdmi/hdmi.c"],"versions":[{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"e8f916b84e4b028ecad6c6472eaad543cc7df806","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"3c43f3ec731c233eb84b66199ee76dbf3ec6ecae","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"08c7375fa27a8ceee028868e03ffb3a0db919d44","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"b48949ab451eaf1e2c04c272c8a9a96a2b56546f","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"9efb45b45ff6254bfd1f1997a06725cb3fc998a5","status":"affected","versionType":"git"},{"version":"a3376e3ec81c5dd0622cbc187db76d2824d31c1c","lessThan":"4c1294da6aed1f16d47a417dcfe6602833c3c95c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/hdmi/hdmi.c"],"versions":[{"version":"3.12","status":"affected"},{"version":"0","lessThan":"3.12","status":"unaffected","versionType":"semver"},{"version":"4.9.332","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.298","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.264","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.223","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.153","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.77","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.7","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"4.9.332"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"4.14.298"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"4.19.264"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.4.223"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.10.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.15.77"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa"},{"url":"https://git.kernel.org/stable/c/e8f916b84e4b028ecad6c6472eaad543cc7df806"},{"url":"https://git.kernel.org/stable/c/3c43f3ec731c233eb84b66199ee76dbf3ec6ecae"},{"url":"https://git.kernel.org/stable/c/ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53"},{"url":"https://git.kernel.org/stable/c/08c7375fa27a8ceee028868e03ffb3a0db919d44"},{"url":"https://git.kernel.org/stable/c/b48949ab451eaf1e2c04c272c8a9a96a2b56546f"},{"url":"https://git.kernel.org/stable/c/9efb45b45ff6254bfd1f1997a06725cb3fc998a5"},{"url":"https://git.kernel.org/stable/c/4c1294da6aed1f16d47a417dcfe6602833c3c95c"}],"title":"drm/msm/hdmi: fix memory corruption with too many bridges","x_generator":{"engine":"bippy-1.2.0"}}}}