CVE-2023-54315

Source
https://cve.org/CVERecord?id=CVE-2023-54315
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54315.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54315
Downstream
Related
Published
2025-12-30T12:23:45.858Z
Modified
2026-03-31T17:29:58.657008035Z
Summary
powerpc/powernv/sriov: perform null check on iov before dereferencing iov
Details

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] numvfs = iov->numvfs; ^

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54315.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
052da31d45fc71238ea8bed7e9a84648a1ee0bf3
Fixed
07c19c0ad4b07f4b598da369714de028f6a6a323
Fixed
d3a0d96c16e5f8d55e2c70163abda3c7c8328106
Fixed
d9a1aaea856002cb58dfb7c8d8770400fa1a0299
Fixed
6314465b88072a6b6f3b3c12a7898abe09095f95
Fixed
72990144e17e5e2cb378f1d9b10530b85b9bc382
Fixed
f4f913c980bc6abe0ccfe88fe3909c125afe4a2d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54315.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.13
Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54315.json"