В ядре Linux устранена следующая уязвимость:
cxl/fwctl: Fix __fortify_panic
Исправьте утверждение времени выполнения в cxlctl_get_supported_features(). Укрепить
жалуется, что потенциально переполняет массив записей
__counted_by_le(num_entries). Quiet the false positive by initializing
@num_entries ранее.
memcpy: обнаружено переполнение буфера: запись 48 байт буфера размером 0
ВНИМАНИЕ: lib/string_helpers.c:1036 в __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398
RIP: 0010:__fortify_report+0x50/0xa0
Отслеживание вызова:
__fortify_panic+0xd/0xf
cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: cxl/fwctl: Fix __fortify_panic Fix a runtime assertion in cxlctl_get_supported_features(). Fortify complains that it is potentially overflowing the entries array per __counted_by_le(num_entries). Quiet the false positive by initializing @num_entries earlier. memcpy: detected buffer overflow: 48 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398 RIP: 0010:__fortify_report+0x50/0xa0 Call Trace: __fortify_panic+0xd/0xf cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]