В ядре Linux устранена следующая уязвимость:
iommu/intel: исправление выхода за пределы набора памяти в dmar_latency_disable().
dmar_latency_disable() намеревается обнулить только одно
запись latency_statistic для данного типа, но размер memset был
вычисляется как sizeof(*lstat) * DMAR_LATENCY_NUM, что очищает всю
массив, начинающийся с &lstat[тип].
Когда type > 0, запись за пределы выделенного массива.
повреждение соседней памяти.
Исправьте это, используя sizeof(*lstat), чтобы очистить только целевую запись.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: iommu/intel: Fix out-of-bounds memset in dmar_latency_disable() dmar_latency_disable() intends to zero out only the single latency_statistic entry for the given type, but the memset size was computed as sizeof(*lstat) * DMAR_LATENCY_NUM, which clears the entire array starting from &lstat[type]. When type > 0, this writes beyond the end of the allocated array, corrupting adjacent memory. Fix by using sizeof(*lstat) to clear only the target entry.
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.14
|
6.6.148
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.14
|
6.12.101
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.14
|
6.18.42
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.14
|
7.1.6
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.14
|
7.2
|