CVE-2026-45939

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/05/2026
Last modified:
24/06/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> gpib: Fix memory leak in ni_usb_init()<br /> <br /> In ni_usb_init(), if ni_usb_setup_init() fails, the function returns<br /> -EFAULT without freeing the allocated writes buffer, leading to a<br /> memory leak.<br /> <br /> Additionally, ni_usb_setup_init() returns 0 on failure, which causes<br /> ni_usb_init() to return -EFAULT, an inappropriate error code for this<br /> situation.<br /> <br /> Fix the leak by freeing writes in the error path. Modify<br /> ni_usb_setup_init() to return -EINVAL on failure and propagate this<br /> error code in ni_usb_init().

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.18.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 6.19.4 (excluding)