CVE-2026-45939
Last modified
CVE-2026-45939 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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().. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.13, < 6.18.14 |
| Linux | Linux Kernel | >= 6.19, < 6.19.4 |
References
Timeline
- Published
- Last Modified
- Status
- Undergoing Analysis
Frequently Asked Questions
What is CVE-2026-45939?
How severe is CVE-2026-45939?
How do I fix CVE-2026-45939?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45933In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-45934In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45935In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-45936In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-45937In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45938In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-4594A vulnerability has been found in erupts erupt up to 1.13.3.…7.3
- CVE-2026-45940In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45941In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45942In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-45943In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-45944In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2026-45939?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
