Bug 2360290 (CVE-2025-22051) - CVE-2025-22051 kernel: staging: gpib: Fix Oops after disconnect in agilent usb
Summary: CVE-2025-22051 kernel: staging: gpib: Fix Oops after disconnect in agilent usb
Keywords:
Status: NEW
Alias: CVE-2025-22051
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 15:06 UTC by OSIDB Bzimport
Modified: 2025-04-17 09:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:06:38 UTC
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.

Comment 1 Avinash Hanwate 2025-04-17 06:21:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041603-CVE-2025-22051-68ac@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.