U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2023-54315 Detail

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; ^


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/07c19c0ad4b07f4b598da369714de028f6a6a323 kernel.org
https://git.kernel.org/stable/c/6314465b88072a6b6f3b3c12a7898abe09095f95 kernel.org
https://git.kernel.org/stable/c/72990144e17e5e2cb378f1d9b10530b85b9bc382 kernel.org
https://git.kernel.org/stable/c/d3a0d96c16e5f8d55e2c70163abda3c7c8328106 kernel.org
https://git.kernel.org/stable/c/d9a1aaea856002cb58dfb7c8d8770400fa1a0299 kernel.org
https://git.kernel.org/stable/c/f4f913c980bc6abe0ccfe88fe3909c125afe4a2d kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2023-54315
NVD Published Date:
12/30/2025
NVD Last Modified:
12/30/2025
Source:
kernel.org