CVE-2026-45939
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
gpib: Fix memory leak in ni_usb_init()
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().
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4e127de14fa78bcd98c6459b0b984b8266cd0203 | affected | git | 9c97fcfb7a62dea893104a046d544da8ac23370b | Unavailable | None listed |
| 4e127de14fa78bcd98c6459b0b984b8266cd0203 | affected | git | c899d4b62c0757a280831e89c1f3801b597e8f38 | Unavailable | None listed |
| 4e127de14fa78bcd98c6459b0b984b8266cd0203 | affected | git | b89921eed8cf2d97250bac4be38dbcfbf048b586 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.13 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.13 | Unavailable | None listed |
| 6.18.14 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 6.19.4 | unaffected | semver | Unavailable | 6.19.* | None listed |
| 7.0 | unaffected | original_commit_for_fix | Unavailable | * | None listed |