usb: typec: ucsi: displayport: Fix OOB altmode array index
- 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.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 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
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: displayport: Fix OOB altmode array index The UCSI displayport driver indexes the connector's port altmode array with the GET_CURRENT_CAM response after checking it is not 0xff. The port altmode array is UCSI_MAX_ALTMODES elements long. If the PPM returns an invalid GET_CURRENT_CAM response above UCSI_MAX_ALTMODES and not equal to 0xff, the kernel may crash with an array index OOB error. Update the UCSI displayport driver to verify the current cam is less than UCSI_MAX_ALTMODES before accessing the port altmode array.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in 8fde7e4a366184e9a6aa95541e52933a73c00a74; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in 83f1abd62cc134700ba92e1e2dc650a49a185497; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in 1ffed96ef986e2cdf986aa4a4506a5e6dcdf4456; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in 58e0ee293ec5e06cacbe3953ad44042f1473dae9; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in ac9f878c468052af6571e8639ab1c3ae040b908f; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in 33a81acd2d1d0667d4eff93cb90339fa53e617e8; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in bdaaf3074aedce8f1b173cc363d61cff5f6a585f; From af8622f6a585d8d82b11cd7987e082861fd0edd3 · fixed in 04cec690b1fd9d1c4c314b91a10d8c68a3acfe18
- Linux Linux
5.2
- KernelLinux
From 5.2.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 8
git.kernel.org
- stable/c/8fde7e4a366184e9a6aa95541e52933a73c00a74
- stable/c/83f1abd62cc134700ba92e1e2dc650a49a185497
- stable/c/1ffed96ef986e2cdf986aa4a4506a5e6dcdf4456
- stable/c/58e0ee293ec5e06cacbe3953ad44042f1473dae9
- stable/c/ac9f878c468052af6571e8639ab1c3ae040b908f
- stable/c/33a81acd2d1d0667d4eff93cb90339fa53e617e8
- stable/c/bdaaf3074aedce8f1b173cc363d61cff5f6a585f
- stable/c/04cec690b1fd9d1c4c314b91a10d8c68a3acfe18