CVE-2023-54315

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

N/A
Published: December 30, 2025 at 12:23 PM UTC
Updated: June 17, 2026 at 06:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.9 ≤ v < 5.10.1885.9 ≤ v < 5.15.1215.9 ≤ v < 6.1.395.9 ≤ v < 6.3.135.9 ≤ v < 6.4.45.9 ≤ v < 6.55.952da31d45fc71238ea8bed7e9a84648a1ee0bf3
Vendor states this is fixed in 07c19c0ad4b07f4b598da369714de028f6a6a323 (fixed)
Vendor states this is fixed in 6314465b88072a6b6f3b3c12a7898abe09095f95 (fixed)
Vendor states this is fixed in 72990144e17e5e2cb378f1d9b10530b85b9bc382 (fixed)
Vendor states this is fixed in d3a0d96c16e5f8d55e2c70163abda3c7c8328106 (fixed)
Vendor states this is fixed in d9a1aaea856002cb58dfb7c8d8770400fa1a0299 (fixed)
Vendor states this is fixed in f4f913c980bc6abe0ccfe88fe3909c125afe4a2d (fixed)
Vendor states this is fixed in 5.10.188 (unaffected)
Vendor states this is fixed in 5.15.121 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.39 (unaffected)
Vendor states this is fixed in 6.3.13 (unaffected)
Vendor states this is fixed in 6.4.4 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card