В ядре Linux устранена следующая уязвимость:
tty: n_gsm: исправлено состояние гонки при изменении строки состояния при неработающих соединениях.
gsm_cleanup_mux() очищает GSM, закрывая все DLCI, останавливая все
таймеры, удаление виртуальных tty-устройств и очистка очередей данных. Однако эта процедура может привести к последующим изменениям виртуального модема.
строки состояния DLCI. В очередь исходящих данных добавляется больше данных
и удаленный таймер удара перезапускается, чтобы справиться с этим.
В этот момент многие
ресурсы уже удалены в ходе процедуры очистки. Таким образом,
происходит паника ядра. Исправьте это, доказав в gsm_modem_update(), что процедура очистки
не был запущен, и мультиплексор все еще жив.
Обратите внимание, что запись на виртуальный терминал уже защищена проверками на
состояние конкретного соединения DLCI.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: fix race condition in status line change on dead connections gsm_cleanup_mux() cleans up the gsm by closing all DLCIs, stopping all timers, removing the virtual tty devices and clearing the data queues. This procedure, however, may cause subsequent changes of the virtual modem status lines of a DLCI. More data is being added the outgoing data queue and the deleted kick timer is restarted to handle this. At this point many resources have already been removed by the cleanup procedure. Thus, a kernel panic occurs. Fix this by proving in gsm_modem_update() that the cleanup procedure has not been started and the mux is still alive. Note that writing to a virtual tty is already protected by checks against the DLCI specific connection state.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.15.61
|
5.15.138
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.18.18
|
5.19
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.19.2
|
6.1.62
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.5.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.6
|
6.6.1
|