VDB

CVE-2025-22092

CVE-2025-22092 PUBLISHED

PCI: Fix NULL dereference in SR-IOV VF creation error path

Reported by linux · Published April 16, 2025

In the Linux kernel, the following vulnerability has been resolved: PCI: Fix NULL dereference in SR-IOV VF creation error path Clean up when virtfn setup fails to prevent NULL pointer dereference during device removal. The kernel oops below occurred due to incorrect error handling flow when pci_setup_device() fails. Add pci_iov_scan_device(), which handles virtfn allocation and setup and cleans up if pci_setup_device() fails, so pci_iov_add_virtfn() doesn't need to call pci_stop_and_remove_bus_device(). This prevents accessing partially initialized virtfn devices during removal. BUG: kernel NULL pointer dereference, address: 00000000000000d0 RIP: 0010:device_del+0x3d/0x3d0 Call Trace: pci_remove_bus_device+0x7c/0x100 pci_iov_add_virtfn+0xfa/0x200 sriov_enable+0x208/0x420 mlx5_core_sriov_configure+0x6a/0x160 [mlx5_core] sriov_numvfs_store+0xae/0x1a0 [bhelgaas: commit log, return ERR_PTR(-ENOMEM) directly]

EPSS 0.20% · 10.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxef421b4d206f0d3681804b8f94f06a8458a53aaf, c67a233834b778b8c78f8b62c072ccf87a9eb6d0, 04d50d953ab46d96b0b32d5ad955fceaa28622db

Risk scores

EPSS Score
0.20%
10.3th percentile

Affected products

VendorProductVersions
LinuxLinuxe3f30d563a388220a7c4e3b9a7b52ac0b0324b26, e3f30d563a388220a7c4e3b9a7b52ac0b0324b26, e3f30d563a388220a7c4e3b9a7b52ac0b0324b26
LinuxLinux6.13, 0, 6.13.11
LinuxLinux*, 6.13.11, 6.14.2
linuxlinux_kernel6.13, 6.13, 6.13

Timeline

  • Apr 16, 2025 CVE Published
  • Apr 17, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 19, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (264 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (257 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22092
vulnetix vdb fixes CVE-2025-22092

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22092/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›