В ядре Linux устранена следующая уязвимость:
regmap:maple: исправлено повреждение кэша в regcache_maple_drop(). При сохранении верхнего конца записи блока кэша массив вход[]
должен индексироваться по смещению от базового регистра блока,
то есть max - mas.index. Код индексировал запись[] только по адресу регистра,
к внешнему доступу, который копировал некоторую часть ядра
память над содержимым кэша.
Эта ошибка не была обнаружена тестом regmap KUnit, поскольку она только тесты с блоком регистров, начинающимся с 0, поэтому mas.index == 0.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: regmap: maple: Fix cache corruption in regcache_maple_drop() When keeping the upper end of a cache block entry, the entry[] array must be indexed by the offset from the base register of the block, i.e. max - mas.index. The code was indexing entry[] by only the register address, leading to an out-of-bounds access that copied some part of the kernel memory over the cache contents. This bug was not detected by the regmap KUnit test because it only tests with a block of registers starting at 0, so mas.index == 0.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.4
|
6.6.26
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.8.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
|
— | — |