CVE-2025-22051

staging: gpib: Fix Oops after disconnect in agilent usb

Medium · published April 16, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

staging: gpib: Fix Oops after disconnect in agilent usb

If the agilent 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 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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-04-16T14:12Z
EPSS history
Timeline
  • 16 APR 14:12Z
    staging: gpib: Fix Oops after disconnect in agilent usb
    cvelistv5