Ad

CVE-2023-54315

NONE EPSS 0.19%
Обновлено 31 декабря 2025
In
Параметр Значение
Поставщик In
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: powerpc/powernv/sriov: выполнить нулевую проверку iov перед разыменованием iov В настоящее время указатель iov разыменовывается перед нулевой проверкой iov. что может привести к ошибкам разыменования нулевого указателя. Исправьте это, переместив iov null проверяется перед разыменованием. Обнаружено с помощью статического анализа cppcheck: linux/arch/powerpc/platforms/powernv/pci-sriov.c:597:12: предупреждение: либо условие '!iov' избыточно или возможен нулевой указатель разыменование: иов. [нульпоинтерредундантчекк] num_vfs = iov->num_vfs; ^

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

In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv/sriov: perform null check on iov before dereferencing iov Currently pointer iov is being dereferenced before the null check of iov which can lead to null pointer dereference errors. Fix this by moving the iov null check before the dereferencing. Detected using cppcheck static analysis: linux/arch/powerpc/platforms/powernv/pci-sriov.c:597:12: warning: Either the condition '!iov' is redundant or there is possible null pointer dereference: iov. [nullPointerRedundantCheck] num_vfs = iov->num_vfs; ^