В ядре Linux устранена следующая уязвимость:
net: mscc: ocelot: добавить отсутствующую защиту блокировки в ocelot_port_xmit_inj()
ocelot_port_xmit_inj() вызывает ocelot_can_inject() и
ocelot_port_inject_frame() без удержания блокировки группы внедрения. Обе функции содержат lockdep_assert_held() для блокировки инъекции,
и правильный вызывающий объект felix_port_deferred_xmit() правильно получает
блокировку с помощью ocelot_lock_inj_grp() перед вызовом этих функций. Добавьте ocelot_lock_inj_grp()/ocelot_unlock_inj_grp() вокруг регистра.
путь впрыска, чтобы исправить отсутствующую защиту замка.
Путь FDMA не
затронут, поскольку он использует собственный механизм блокировки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj() ocelot_port_xmit_inj() calls ocelot_can_inject() and ocelot_port_inject_frame() without holding the injection group lock. Both functions contain lockdep_assert_held() for the injection lock, and the correct caller felix_port_deferred_xmit() properly acquires the lock using ocelot_lock_inj_grp() before calling these functions. Add ocelot_lock_inj_grp()/ocelot_unlock_inj_grp() around the register injection path to fix the missing lock protection. The FDMA path is not affected as it uses its own locking mechanism.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 10
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.1.107
|
6.1.165
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.6.48
|
6.6.128
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.10.7
|
6.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.11.1
|
6.12.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.14
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.4
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
|
— | — |