CVE-2025-22052

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22052
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22052.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-22052
Downstream
Published
2025-04-16T15:15:58Z
Modified
2025-08-30T18:00:21Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 usbdev from the businterface for dev_xxx messages.

Previously businterface was checked for NULL only in the the functions directly calling usbfillbulkurb or usbcontrolmsg.

Check for valid bus_interface on all interface entry points and return -ENODEV if it is NULL.

References

Affected packages