Ad

CVE-2026-98854

NONE EPSS 0.16%
Обновлено 30 октября 2026
Linux
Параметр Значение
Уязвимые версии 4.15 — 7.3
Устранено в версии 6.6.160
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: of/overlay: только обрабатывать положительный идентификатор набора изменений, как зарегистрированный of_overlay_fdt_apply() хранит возвращаемое значение idr_alloc() в ovcs->id перед его проверкой. При отказе сохраненный идентификатор отрицательный, проверка free_overlay_changeset()'s «if (ovcs->id)» проходит, idr_remove() вызывается с отрицательным идентификатором, а list_del() запускается на ovcs->ovcs_list, который не инициализируется до выделения id. Неисправность распределения в этой точке лишает ссылки NULL.

Заставьте free_overlay_changeset() рассматривать только строго-положительный идентификатор как зарегистрированный. Остальная часть функции уже справляется с частично инициализированными OVcs, поэтому путь ошибки остается простым goto err_free_ovcs.

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

In the Linux kernel, the following vulnerability has been resolved: of/overlay: only treat a positive changeset id as registered of_overlay_fdt_apply() stores the idr_alloc() return value in ovcs->id before checking it. On failure the stored id is negative, free_overlay_changeset()'s "if (ovcs->id)" check passes, idr_remove() is called with a negative id and list_del() runs on ovcs->ovcs_list, which is not initialized until after the id allocation. An allocation failure at that point dereferences NULL. Make free_overlay_changeset() treat only a strict-positive id as registered. The rest of the function already copes with a partially-initialized ovcs, so the error path stays a plain goto err_free_ovcs.

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

Конфигурация От (включительно) До (исключительно)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 6.6.160
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 6.12.113
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 6.18.56
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 7.2.10
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 7.3