NULL pointer dereference in Linux kernel - CVE-2025-22052

 

NULL pointer dereference in Linux kernel - CVE-2025-22052

Published: April 22, 2025 / Updated: May 10, 2025


Vulnerability identifier: #VU107725
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-22052
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to NULL pointer dereference within the ni_usb_read(), ni_usb_write(), ni_usb_command_chunk(), ni_usb_take_control(), ni_usb_go_to_standby(), ni_usb_request_system_control(), ni_usb_interface_clear(), ni_usb_remote_enable(), ni_usb_update_status(), ni_usb_primary_address(), ni_usb_secondary_address(), ni_usb_parallel_poll(), ni_usb_parallel_poll_configure(), ni_usb_parallel_poll_response(), ni_usb_serial_poll_response(), ni_usb_return_to_local(), ni_usb_line_status() and ni_usb_t1_delay() functions in drivers/staging/gpib/ni_usb/ni_usb_gpib.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-aws (Ubuntu package)

How to mitigate CVE-2025-22052

Install update from vendor's website.

Linux kernel - update to 6.13.11
linux (Ubuntu package) - addressed in versions 6.14.0-22.22, 6.14.0-1004.4, 6.14.0-1007.7, 6.14.0-1008.8
linux-azure (Ubuntu package) - update to 6.14.0-1007.7
linux-aws (Ubuntu package) - addressed in versions 6.14.0-1007.7, 6.14.0-1007.7+1

External References

Related Security Bulletins