Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
af8622f6a585d8d82b11cd7987e082861fd0edd3 to < 8fde7e4a366184e9a6aa95541e52933a73c00a74affectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < 83f1abd62cc134700ba92e1e2dc650a49a185497affectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < 1ffed96ef986e2cdf986aa4a4506a5e6dcdf4456affectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < 58e0ee293ec5e06cacbe3953ad44042f1473dae9affectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < ac9f878c468052af6571e8639ab1c3ae040b908faffectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < 33a81acd2d1d0667d4eff93cb90339fa53e617e8affectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < bdaaf3074aedce8f1b173cc363d61cff5f6a585faffectedaf8622f6a585d8d82b11cd7987e082861fd0edd3 to < 04cec690b1fd9d1c4c314b91a10d8c68a3acfe18affected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/8fde7e4a366184e9a6aa95541e52933a73c00a74 ↗
- https://git.kernel.org/stable/c/83f1abd62cc134700ba92e1e2dc650a49a185497 ↗
- https://git.kernel.org/stable/c/1ffed96ef986e2cdf986aa4a4506a5e6dcdf4456 ↗
- https://git.kernel.org/stable/c/58e0ee293ec5e06cacbe3953ad44042f1473dae9 ↗
- https://git.kernel.org/stable/c/ac9f878c468052af6571e8639ab1c3ae040b908f ↗
- https://git.kernel.org/stable/c/33a81acd2d1d0667d4eff93cb90339fa53e617e8 ↗
- https://git.kernel.org/stable/c/bdaaf3074aedce8f1b173cc363d61cff5f6a585f ↗
- https://git.kernel.org/stable/c/04cec690b1fd9d1c4c314b91a10d8c68a3acfe18 ↗