drm/i915/hdcp: check streams[] bounds before overflow
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.217, 6.1.184, 6.6.151, 6.12.103, 6.18.42, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/i915/hdcp: check streams[] bounds before overflow The data->streams[] overflow check is done after the buffer overflow has already happened. Move the overflow check before the write. Side note, emitting a warning splat with a backtrace might be overkill here, but prefer not changing the behaviour other than not doing the overrun. Discovered using AI-assisted static analysis confirmed by Intel Product Security. (cherry picked from commit 9284ab3b6e776c315883ac2611283d263c9460fd)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in 336cf6d80d41457442b659e7ba7a7badc0ffe79d; From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in 389079bf04e6f0c6f10f5b879f6d7a9cf80f0567; From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in 84351f12390349ba010920fc247e1a0b12e41eb3; From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in 2106fb490b2c6003e23ad6ff36ce823a2170e138; From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in 3d2ef8d389495e7889c6062d8bddc46d2a5fbdef; From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in 984085c5b53572e2e03fd5fc4817e86ef1effc6e; From e03187e12cae57c09b521b6f7dd7c7f9aa2b62e9 · fixed in bbb15a6b042d02e5508a02b4847e02d2579ee7bc
- Linux Linux
5.12
- KernelLinux
From 5.12.0 · fixed in 5.15.217; From 5.16.0 · fixed in 6.1.184; From 6.2.0 · fixed in 6.6.151; From 6.7.0 · fixed in 6.12.103; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6
References 7
git.kernel.org
- stable/c/336cf6d80d41457442b659e7ba7a7badc0ffe79d
- stable/c/389079bf04e6f0c6f10f5b879f6d7a9cf80f0567
- stable/c/84351f12390349ba010920fc247e1a0b12e41eb3
- stable/c/2106fb490b2c6003e23ad6ff36ce823a2170e138
- stable/c/3d2ef8d389495e7889c6062d8bddc46d2a5fbdef
- stable/c/984085c5b53572e2e03fd5fc4817e86ef1effc6e
- stable/c/bbb15a6b042d02e5508a02b4847e02d2579ee7bc