{"id":"CVE-2026-68279","summary":"drm/dp/mst: fix OOB reads in remote DPCD/I2C sideband reply parsers","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/dp/mst: fix OOB reads in remote DPCD/I2C sideband reply parsers\n\ndrm_dp_sideband_parse_remote_dpcd_read() reads num_bytes from the raw\nmessage and then unconditionally does:\n\n  memcpy(bytes, &raw-\u003emsg[idx], num_bytes);\n\nwithout checking that idx + num_bytes \u003c= raw-\u003ecurlen. raw-\u003emsg[] is\n256 bytes; if a malicious or misbehaving MST hub sets num_bytes larger\nthan the remaining payload, the memcpy reads past the received data\ninto whatever follows in raw-\u003emsg[].\n\ndrm_dp_sideband_parse_remote_i2c_read_ack() has the same flaw (noted\nwith a /* TODO check */ comment since the code was introduced).\n\nFix both functions by using a single combined check\n(idx + num_bytes \u003e curlen) before each memcpy. Since num_bytes is u8,\nit is always \u003e= 0, so this strictly subsumes the simpler idx \u003e curlen\nform and no separate step is needed.\n\n[added missing fixes tag]","modified":"2026-08-25T03:30:41.844870870Z","published":"2026-08-10T12:02:09.423Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68279.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/04d953f50d61e542e94a5977822cc53735f8c0ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/185de1d74e658e2edb723ba76fa61903f77d8a68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a8f537f5a1eeac941f262fe73078d6b08ba83c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22d9f7fc1aaabaf73d5f30e8b0c9aa814ecd6ed2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/533d9e2bede4aeefdc2a0561d7071cfede95958f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2fbda0fe0163c55ba3820ee6cea0c6b43622eda"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7b9b1e33b4ed8c48d4db6e6e21c257ebbbb2586"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6ef5455b06cb4e5d181aabcd723791587c79f12"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68279.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68279"},{"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":"ad7f8a1f9ced7f049f9b66d588723f243a7034cd"},{"fixed":"185de1d74e658e2edb723ba76fa61903f77d8a68"},{"fixed":"d7b9b1e33b4ed8c48d4db6e6e21c257ebbbb2586"},{"fixed":"c2fbda0fe0163c55ba3820ee6cea0c6b43622eda"},{"fixed":"22d9f7fc1aaabaf73d5f30e8b0c9aa814ecd6ed2"},{"fixed":"04d953f50d61e542e94a5977822cc53735f8c0ce"},{"fixed":"533d9e2bede4aeefdc2a0561d7071cfede95958f"},{"fixed":"e6ef5455b06cb4e5d181aabcd723791587c79f12"},{"fixed":"1a8f537f5a1eeac941f262fe73078d6b08ba83c0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68279.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.17.0"},{"fixed":"5.10.266"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.217"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68279.json"}}],"schema_version":"1.9.0"}