# CVE-2023-54315: powerpc/powernv/sriov: perform null check on iov before dereferencing iov

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-28)
- **Published:** 2025-12-30T12:23:45.858Z
- **Modified:** 2026-06-17T06:47:12.720Z

## Who should check

- Anyone running Linux \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 07c19c0ad4b07f4b598da369714de028f6a6a323; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< d3a0d96c16e5f8d55e2c70163abda3c7c8328106; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< d9a1aaea856002cb58dfb7c8d8770400fa1a0299; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 6314465b88072a6b6f3b3c12a7898abe09095f95; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 72990144e17e5e2cb378f1d9b10530b85b9bc382; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< f4f913c980bc6abe0ccfe88fe3909c125afe4a2d
- Anyone running Linux 5.9

## 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 and fixed versions

- Linux: \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 07c19c0ad4b07f4b598da369714de028f6a6a323; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< d3a0d96c16e5f8d55e2c70163abda3c7c8328106; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< d9a1aaea856002cb58dfb7c8d8770400fa1a0299; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 6314465b88072a6b6f3b3c12a7898abe09095f95; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 72990144e17e5e2cb378f1d9b10530b85b9bc382; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< f4f913c980bc6abe0ccfe88fe3909c125afe4a2d (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54315.md
Affected: Linux >= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, < 07c19c0ad4b07f4b598da369714de028f6a6a323; >= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, < d3a0d96c16e5f8d55e2c70163abda3c7c8328106; >= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, < d9a1aaea856002cb58dfb7c8d8770400fa1a0299; >= 052da31d45fc71238ea8bed…
Fixed in: Linux 07c19c0ad4b07f4b598da369714de028f6a6a323, Linux 6314465b88072a6b6f3b3c12a7898abe09095f95, Linux 72990144e17e5e2cb378f1d9b10530b85b9bc382

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54315 being exploited?

There is no confirmed exploitation: CVE-2023-54315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-54315?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54315?

Linux \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 07c19c0ad4b07f4b598da369714de028f6a6a323; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< d3a0d96c16e5f8d55e2c70163abda3c7c8328106; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< d9a1aaea856002cb58dfb7c8d8770400fa1a0299; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 6314465b88072a6b6f3b3c12a7898abe09095f95; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< 72990144e17e5e2cb378f1d9b10530b85b9bc382; \>= 052da31d45fc71238ea8bed7e9a84648a1ee0bf3, \< f4f913c980bc6abe0ccfe88fe3909c125afe4a2d; Linux 5.9.

### Is there a fix for CVE-2023-54315?

Yes. Fixed in Linux 07c19c0ad4b07f4b598da369714de028f6a6a323, Linux 6314465b88072a6b6f3b3c12a7898abe09095f95, Linux 72990144e17e5e2cb378f1d9b10530b85b9bc382. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/07c19c0ad4b07f4b598da369714de028f6a6a323>
- other: <https://git.kernel.org/stable/c/d3a0d96c16e5f8d55e2c70163abda3c7c8328106>
- other: <https://git.kernel.org/stable/c/d9a1aaea856002cb58dfb7c8d8770400fa1a0299>
- other: <https://git.kernel.org/stable/c/6314465b88072a6b6f3b3c12a7898abe09095f95>
- other: <https://git.kernel.org/stable/c/72990144e17e5e2cb378f1d9b10530b85b9bc382>
- other: <https://git.kernel.org/stable/c/f4f913c980bc6abe0ccfe88fe3909c125afe4a2d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54315>

HTML: <https://flawdb.com/CVE-2023-54315> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54315>
