{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50368","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-09-17T14:53:06.995Z","datePublished":"2025-09-17T14:56:24.102Z","dateUpdated":"2026-08-05T08:58:27.178Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:58:27.178Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dsi: 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/502668/"}],"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 occurs only in msm_dsi_modeset_init during local MSM DRM aggregate bind (msm_drm_bind → MDP4/MDP5/DPU kms_init → msm_dsi_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 coexisting probe-deferral/rebind cycles on Qualcomm MSM display stacks—the unchecked bridges[num_bridges++] store of msm_dsi->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 of Qualcomm MSM/Android display components with no credentials; resolving that ambiguity toward higher severity gives Low.\nUI:N - Probe/bind and driver-core rebind of the MSM DSI component run entirely in kernel 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/dsi/dsi.c"],"versions":[{"version":"a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e","lessThan":"4e5587cddb334f7a5bb1c49ea8bbfc966fafe1b8","status":"affected","versionType":"git"},{"version":"a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e","lessThan":"f649ed0e1b7a1545f8e27267d3c468b3cb222ece","status":"affected","versionType":"git"},{"version":"a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e","lessThan":"21c4679af01f1027cb559330c2e7d410089b2b36","status":"affected","versionType":"git"},{"version":"a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e","lessThan":"9f035d1fb30648fe70ee01627eb131c56d699b35","status":"affected","versionType":"git"},{"version":"a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e","lessThan":"e83b354890a3c1d5256162f87a6cc38c47ae7f20","status":"affected","versionType":"git"},{"version":"a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e","lessThan":"2e786eb2f9cebb07e317226b60054df510b60c65","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/dsi/dsi.c"],"versions":[{"version":"4.1","status":"affected"},{"version":"0","lessThan":"4.1","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":"4.1","versionEndExcluding":"4.19.264"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.4.223"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.10.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.15.77"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4e5587cddb334f7a5bb1c49ea8bbfc966fafe1b8"},{"url":"https://git.kernel.org/stable/c/f649ed0e1b7a1545f8e27267d3c468b3cb222ece"},{"url":"https://git.kernel.org/stable/c/21c4679af01f1027cb559330c2e7d410089b2b36"},{"url":"https://git.kernel.org/stable/c/9f035d1fb30648fe70ee01627eb131c56d699b35"},{"url":"https://git.kernel.org/stable/c/e83b354890a3c1d5256162f87a6cc38c47ae7f20"},{"url":"https://git.kernel.org/stable/c/2e786eb2f9cebb07e317226b60054df510b60c65"}],"title":"drm/msm/dsi: fix memory corruption with too many bridges","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-50368","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-01-14T18:35:26.283766Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-01-14T18:42:59.501Z"}}]}}