CVE-2025-22052: staging: gpib: Fix Oops after disconnect in ni_usb
In the Linux kernel, the following vulnerability has been resolved:
staging: gpib: Fix Oops after disconnect in ni_usb
If the usb dongle is disconnected subsequent calls to the
driver cause a NULL dereference Oops as the bus_interface
is set to NULL on disconnect.
This problem was introduced by setting usb_dev from the bus_interface
for dev_xxx messages.
Previously bus_interface was checked for NULL only in the the functions
directly calling usb_fill_bulk_urb or usb_control_msg.
Check for valid bus_interface on all interface entry points
and return -ENODEV if it is NULL.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue can crash affected systems when a National Instruments USB GPIB device is disconnected and the driver is used afterward. It is mainly an availability risk, not a data theft or privilege escalation issue based on the provided CVSS data.
Executive priority
Treat as a targeted operational stability issue. Patch during normal kernel maintenance, but accelerate for lab, test, or industrial environments that rely on USB GPIB hardware and cannot tolerate local denial-of-service crashes.
Technical view
CVE-2025-22052 is a CWE-476 NULL pointer dereference in the Linux staging gpib ni_usb driver. After disconnect, bus_interface is set to NULL; later driver entry points could dereference it and trigger a kernel Oops. The fix checks bus_interface at entry points and returns -ENODEV.
Likely exposure
Exposure is most likely on Linux systems running affected 6.13 or 6.14-era kernels with the staging gpib ni_usb driver enabled and relevant USB GPIB hardware in use. General servers without this driver or device path are less likely exposed.
Exploitation context
The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact. The source bundle does not show KEV listing or active exploitation evidence, so active exploitation should not be assumed.
Researcher notes
The public description identifies the root cause and fix pattern but provides limited affected-version clarity. Validate exposure through kernel configuration, module presence, and vendor backports rather than upstream version numbers alone.
Mitigation direction
Check vendor kernel advisories for packages containing the referenced stable fixes.
Prioritize patching systems that use the staging gpib ni_usb driver.
If the driver is unnecessary, follow vendor guidance to disable or remove it.
Monitor affected hosts for kernel Oops events after USB GPIB disconnects.
Validation and detection
Inventory kernel versions and compare against vendor-fixed builds.
Check whether the gpib ni_usb driver is built, loadable, or loaded.
Confirm relevant systems received a kernel containing the cited fixes.
Review logs for NULL dereference or Oops events involving ni_usb.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.