PT-2026-43806 · Linux · Linux

Published

2026-05-27

·

Updated

2026-05-27

·

CVE-2026-45939

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
gpib: Fix memory leak in ni usb init()
In ni usb init(), if ni usb setup init() fails, the function returns -EFAULT without freeing the allocated writes buffer, leading to a memory leak.
Additionally, ni usb setup init() returns 0 on failure, which causes ni usb init() to return -EFAULT, an inappropriate error code for this situation.
Fix the leak by freeing writes in the error path. Modify ni usb setup init() to return -EINVAL on failure and propagate this error code in ni usb init().

Related Identifiers

CVE-2026-45939

Affected Products

Linux