{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54315","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-12-30T12:06:44.531Z","datePublished":"2025-12-30T12:23:45.858Z","dateUpdated":"2026-05-11T19:59:35.468Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:59:35.468Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/powernv/sriov: perform null check on iov before dereferencing iov\n\nCurrently pointer iov is being dereferenced before the null check of iov\nwhich can lead to null pointer dereference errors. Fix this by moving the\niov null check before the dereferencing.\n\nDetected using cppcheck static analysis:\nlinux/arch/powerpc/platforms/powernv/pci-sriov.c:597:12: warning: Either\nthe condition '!iov' is redundant or there is possible null pointer\ndereference: iov. [nullPointerRedundantCheck]\n num_vfs = iov->num_vfs;\n           ^"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/platforms/powernv/pci-sriov.c"],"versions":[{"version":"052da31d45fc71238ea8bed7e9a84648a1ee0bf3","lessThan":"07c19c0ad4b07f4b598da369714de028f6a6a323","status":"affected","versionType":"git"},{"version":"052da31d45fc71238ea8bed7e9a84648a1ee0bf3","lessThan":"d3a0d96c16e5f8d55e2c70163abda3c7c8328106","status":"affected","versionType":"git"},{"version":"052da31d45fc71238ea8bed7e9a84648a1ee0bf3","lessThan":"d9a1aaea856002cb58dfb7c8d8770400fa1a0299","status":"affected","versionType":"git"},{"version":"052da31d45fc71238ea8bed7e9a84648a1ee0bf3","lessThan":"6314465b88072a6b6f3b3c12a7898abe09095f95","status":"affected","versionType":"git"},{"version":"052da31d45fc71238ea8bed7e9a84648a1ee0bf3","lessThan":"72990144e17e5e2cb378f1d9b10530b85b9bc382","status":"affected","versionType":"git"},{"version":"052da31d45fc71238ea8bed7e9a84648a1ee0bf3","lessThan":"f4f913c980bc6abe0ccfe88fe3909c125afe4a2d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/platforms/powernv/pci-sriov.c"],"versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.188","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.121","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.39","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.3.13","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4.4","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"5.10.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"5.15.121"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.1.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.3.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.4.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.5"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/07c19c0ad4b07f4b598da369714de028f6a6a323"},{"url":"https://git.kernel.org/stable/c/d3a0d96c16e5f8d55e2c70163abda3c7c8328106"},{"url":"https://git.kernel.org/stable/c/d9a1aaea856002cb58dfb7c8d8770400fa1a0299"},{"url":"https://git.kernel.org/stable/c/6314465b88072a6b6f3b3c12a7898abe09095f95"},{"url":"https://git.kernel.org/stable/c/72990144e17e5e2cb378f1d9b10530b85b9bc382"},{"url":"https://git.kernel.org/stable/c/f4f913c980bc6abe0ccfe88fe3909c125afe4a2d"}],"title":"powerpc/powernv/sriov: perform null check on iov before dereferencing iov","x_generator":{"engine":"bippy-1.2.0"}}}}