Ad

CVE-2026-64165

MEDIUM CVSS 3.1: 5,5 EPSS 0.12%
Обновлено 13 августа 2026
Linux
Параметр Значение
CVSS 5,5 (MEDIUM)
Уязвимые версии 4.9 — 7.0.11
Устранено в версии 5.10.258
Тип уязвимости CWE-476 (Разыменование нулевого указателя)
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: ARM: интегратор: исправлена ранняя инициализация. Начиная с фиксации bdb249fce9ad4 («ARM: интегратор: считать счетчик с помощью syscon/regmap"), intcp_init_early вызывает syscon_regmap_lookup_by_совместимый который, в свою очередь, вызывает of_syscon_register. Эта функция выделяет память.

Поскольку код управления памятью в тот момент не был инициализирован, вызов всегда терпит неудачу. Он либо возвращает -ENOMEM, либо вылетает следующим образом. Невозможно обработать разыменование нулевого указателя ядра по виртуальному адресу 0000000c при чтении. [0000000c] *pgd=00000000 Внутренняя ошибка: К сожалению: 5 [#1] ARM Модули, связанные с: ЦП: 0 UID: 0 PID: 0 Связь: swapper Не испорчено 6.15.0-rc5-00026-g5fcc9bf84ee5 #1 PREEMPT Имя оборудования: ARM Integrator/CP (дерево устройств) ПК находится по адресу __kmalloc_cache_noprof+0xec/0x39c.

LR находится по адресу __kmalloc_cache_noprof+0x34/0x39c. ... Трассировка звонков: __kmalloc_cache_noprof из of_syscon_register+0x7c/0x310 of_syscon_register из device_node_get_regmap+0xa4/0xb0 device_node_get_regmap из intcp_init_early+0xc/0x40 intcp_init_early из start_kernel+0x60/0x688 start_kernel из 0x0 Сбой наблюдается из-за разыменованного указателя, который не должен быть NULL, но имеет значение NULL, если подсистема управления памятью не была инициализирован. Сбой наблюдается не во всех версиях gcc.

Некоторые версии такие как gcc 9.x, по-видимому, не разыменовывают указатель, предположительно, если отслеживание отключено. Проблема была воспроизведена в gcc 10.x, 11.x, и 13.х. В любом случае, если сбой не наблюдается, вызов syscon_regmap_lookup_by_совместимый возвращает -ENOMEM и sched_lock_register никогда не вызывается.

Устраните проблему, переместив код ранней инициализации в стандартный код инициализации машины.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: ARM: integrator: Fix early initialization Starting with commit bdb249fce9ad4 ("ARM: integrator: read counter using syscon/regmap"), intcp_init_early calls syscon_regmap_lookup_by_compatible which in turn calls of_syscon_register. This function allocates memory. Since the memory management code has not been initialized at that time, the call always fails. It either returns -ENOMEM or crashes as follows. Unable to handle kernel NULL pointer dereference at virtual address 0000000c when read [0000000c] *pgd=00000000 Internal error: Oops: 5 [#1] ARM Modules linked in: CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.15.0-rc5-00026-g5fcc9bf84ee5 #1 PREEMPT Hardware name: ARM Integrator/CP (Device Tree) PC is at __kmalloc_cache_noprof+0xec/0x39c LR is at __kmalloc_cache_noprof+0x34/0x39c ... Call trace: __kmalloc_cache_noprof from of_syscon_register+0x7c/0x310 of_syscon_register from device_node_get_regmap+0xa4/0xb0 device_node_get_regmap from intcp_init_early+0xc/0x40 intcp_init_early from start_kernel+0x60/0x688 start_kernel from 0x0 The crash is seen due to a dereferenced pointer which is not supposed to be NULL but is NULL if the memory management subsystem has not been initialized. The crash is not seen with all versions of gcc. Some versions such as gcc 9.x apparently do not dereference the pointer, presumably if tracing is disabled. The problem has been reproduced with gcc 10.x, 11.x, and 13.x. Either case, if the crash is not seen, the call to syscon_regmap_lookup_by_compatible returns -ENOMEM, and sched_clock_register is never called. Fix the problem by moving the early initialization code into the standard machine initialization code.

Характеристики атаки

Способ атаки
Локальный
Нужен локальный доступ
Сложность
Низкая
Легко эксплуатировать
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Нет
Нет утечки данных
Целостность
Нет
Нет модификации данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1

Уязвимые продукты 11

Конфигурация От (включительно) До (исключительно)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.9 5.10.258
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.11 5.15.209
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.16 6.1.175
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
6.2 6.6.142
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
6.7 6.12.92
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
6.13 6.18.34
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
6.19 7.0.11
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
— —