CVE-2025-22051

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22051
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22051.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22051
Downstream
Published
2025-04-16T14:12:09Z
Modified
2025-10-10T08:29:12.589817Z
Summary
staging: gpib: Fix Oops after disconnect in agilent usb
Details

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

Previously businterface was checked for NULL only in 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

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fbae7090f30c1bd5a351d0c8f82b6a635718b8d8
Fixed
e88633705078f40391a9afc6cc8ea3025e6f692b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fbae7090f30c1bd5a351d0c8f82b6a635718b8d8
Fixed
50ef6e45bec79da4c5a01fad4dc23466ba255099
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fbae7090f30c1bd5a351d0c8f82b6a635718b8d8
Fixed
8491e73a5223acb0a4b4d78c3f8b96aa9c5e774d

Affected versions

v6.*

v6.12
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1
v6.13.10
v6.13.2
v6.13.3
v6.13.4
v6.13.5
v6.13.6
v6.13.7
v6.13.8
v6.13.9
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2