В ядре Linux устранена следующая уязвимость:
usb: потенциальное целочисленное переполнение в usbg_make_tpg()
Переменная tpgt в usbg_make_tpg() определена как unsigned long и имеет
назначен tpgt->tport_tpgt, который определяется как u16. Это может вызвать
целочисленное переполнение, когда tpgt больше USHRT_MAX (65535). я
сам не пробовал запускать, но запустить можно
вызвав usbg_make_tpg() с большим значением tpgt. Я изменил тип tpgt, чтобы он соответствовал tpgt->tport_tpgt, и скорректировал
соответствующий код соответственно.
Этот патч аналогичен коммиту 59c816c1f24d («vhost/scsi: потенциальный повреждение памяти»).
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: usb: potential integer overflow in usbg_make_tpg() The variable tpgt in usbg_make_tpg() is defined as unsigned long and is assigned to tpgt->tport_tpgt, which is defined as u16. This may cause an integer overflow when tpgt is greater than USHRT_MAX (65535). I haven't tried to trigger it myself, but it is possible to trigger it by calling usbg_make_tpg() with a large value for tpgt. I modified the type of tpgt to match tpgt->tport_tpgt and adjusted the relevant code accordingly. This patch is similar to commit 59c816c1f24d ("vhost/scsi: potential memory corruption").
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
5.4.296
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
5.10.240
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
5.15.187
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
6.1.143
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
6.6.96
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
6.12.36
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
6.15.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.5
|
6.16
|