CVE-2025-22092
Last modified
CVE-2025-22092 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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(). EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.13, < 6.13.11 |
| Linux | Linux Kernel | >= 6.14, < 6.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-22092?
How severe is CVE-2025-22092?
How do I fix CVE-2025-22092?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22087In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-22088In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-22089In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2209A vulnerability, which was classified as problematic, was fo…4.8
- CVE-2025-22090In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22091In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22093In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22094In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22095In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22096In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-22097In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-22098In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-22092?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
