CVE-2023-54315

powerpc/powernv/sriov: perform null check on iov before dereferencing iov

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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;

^

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Published
2025-12-30T12:23Z
EPSS history
Timeline
  • 30 DEC 12:23Z
    powerpc/powernv/sriov: perform null check on iov before dereferencing iov
    cvelistv5