В ядре Linux устранена следующая уязвимость:
crypto: sun8i-ce — удалить интерфейс crypto_rng
Поскольку интерфейс crypto_rng для аппаратных PRNG не используется и
он является избыточным для hwrng и настоящего Linux RNG, поэтому его постепенно снимают с производства. Большинство драйверов для него уже удалено. Идите и удалите
Поддержка sun8i-ce, которая является одной из немногих оставшихся.
Обратите внимание, что поддержка sun8i-ce для hwrng остается на месте. Это
интерфейс, который действительно имеет значение. Как обычно для crypto_rng, этот драйвер тоже был глючным: его ->generate()
функция имела уязвимость использования после освобождения из-за использования
wait_for_completion_interruptible_timeout() без обработки закрытия
отключить операцию DMA, если отправлен сигнал.
Нет смысла исправлять это отдельно только для того, чтобы в любом случае удалить код, поэтому этот коммит помечен с исправлениями и стабильной версией CC.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ce - Remove crypto_rng interface Since the crypto_rng interface for hardware PRNGs is unused and is redundant with hwrng and the actual Linux RNG, it's being phased out. Most drivers for it were already removed. Go ahead and remove the sun8i-ce support which is one of the only remaining ones. Note that the sun8i-ce support for hwrng remains in place. That is the interface that actually matters. As usual for crypto_rng, this driver was also buggy: its ->generate() function had a use-after-free vulnerability due to using wait_for_completion_interruptible_timeout() without handling shutting down the DMA operation if a signal is sent. There's no point in fixing this separately only to remove the code anyway, so this commit is marked with Fixes and Cc stable.
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.10
|
6.12.109
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.10
|
6.18.50
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.10
|
7.2.3
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.10
|
7.3-rc1
|