PT-2024-14771 · Linux+4 · Linux Kernel+4
Syzbot
·
Published
2023-08-08
·
Updated
2025-02-03
·
CVE-2023-52886
CVSS v3.1
6.4
Medium
| Vector | AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6
Description
A race condition exists between the
read descriptors() and hub port init() functions in the Linux kernel's USB core. The read descriptors() function uses a field in udev->descriptor without expecting it to change, while the hub port init() function overwrites this field. This race condition was exposed after the removal of device locking from read descriptors(). The issue can be resolved by modifying hub port init() to take an additional argument specifying a buffer to store the device descriptor, thus eliminating the data race responsible for the out-of-bounds read.Recommendations
To resolve this issue, update the Linux kernel to a version that includes the fix for the race condition between
read descriptors() and hub port init(). Specifically, ensure that the hub port init() function has been modified to take an additional argument for storing the device descriptor, thus preventing the overwriting of udev->descriptor and eliminating the data race.Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linux Kernel
Red Os
Suse