CVE-2023-54315
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/12/2025
Last modified:
30/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
powerpc/powernv/sriov: perform null check on iov before dereferencing iov<br />
<br />
Currently pointer iov is being dereferenced before the null check of iov<br />
which can lead to null pointer dereference errors. Fix this by moving the<br />
iov null check before the dereferencing.<br />
<br />
Detected using cppcheck static analysis:<br />
linux/arch/powerpc/platforms/powernv/pci-sriov.c:597:12: warning: Either<br />
the condition &#39;!iov&#39; is redundant or there is possible null pointer<br />
dereference: iov. [nullPointerRedundantCheck]<br />
num_vfs = iov->num_vfs;<br />
^
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/07c19c0ad4b07f4b598da369714de028f6a6a323
- https://git.kernel.org/stable/c/6314465b88072a6b6f3b3c12a7898abe09095f95
- https://git.kernel.org/stable/c/72990144e17e5e2cb378f1d9b10530b85b9bc382
- https://git.kernel.org/stable/c/d3a0d96c16e5f8d55e2c70163abda3c7c8328106
- https://git.kernel.org/stable/c/d9a1aaea856002cb58dfb7c8d8770400fa1a0299
- https://git.kernel.org/stable/c/f4f913c980bc6abe0ccfe88fe3909c125afe4a2d



