Description
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; ^
References (6)
Core 6
Core References
Scores
EPSS
0.0017
EPSS Percentile
6.3%
Details
Status
published
Products (19)
linux/Kernel
5.11.0 - 5.15.121linux
linux/Kernel
5.16.0 - 6.1.39linux
linux/Kernel
5.9.0 - 5.10.188linux
linux/Kernel
6.2.0 - 6.3.13linux
linux/Kernel
6.4.0 - 6.4.4linux
Linux/Linux
< 5.9
Linux/Linux
052da31d45fc71238ea8bed7e9a84648a1ee0bf3 - 07c19c0ad4b07f4b598da369714de028f6a6a323
Linux/Linux
052da31d45fc71238ea8bed7e9a84648a1ee0bf3 - 6314465b88072a6b6f3b3c12a7898abe09095f95
Linux/Linux
052da31d45fc71238ea8bed7e9a84648a1ee0bf3 - 72990144e17e5e2cb378f1d9b10530b85b9bc382
Linux/Linux
052da31d45fc71238ea8bed7e9a84648a1ee0bf3 - d3a0d96c16e5f8d55e2c70163abda3c7c8328106
... and 9 more
Published
Dec 30, 2025
Tracked Since
Feb 18, 2026