CVE-2023-54315

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

No CVSS score yet EPSS 0.21%

Published 30 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54315

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54315 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, before 07c19c0ad4b07f4b598da369714de028f6a6a323
affected from 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, before d3a0d96c16e5f8d55e2c70163abda3c7c8328106
affected from 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, before d9a1aaea856002cb58dfb7c8d8770400fa1a0299
affected from 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, before 6314465b88072a6b6f3b3c12a7898abe09095f95
affected from 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, before 72990144e17e5e2cb378f1d9b10530b85b9bc382
affected from 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, before f4f913c980bc6abe0ccfe88fe3909c125afe4a2d
Other versions: unaffected
Linux
affected 5.9
unaffected before 5.9
unaffected from 5.10.188 up to and including 5.10.*
unaffected from 5.15.121 up to and including 5.15.*
unaffected from 6.1.39 up to and including 6.1.*
unaffected from 6.3.13 up to and including 6.3.*
unaffected from 6.4.4 up to and including 6.4.*
unaffected 6.5 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54315 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54315

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54315
trivy image --scanners vuln IMAGE | grep CVE-2023-54315

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54315 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.