IM
IronMonkey Threat Research

CVE-2026-46167 MEDIUM

Published: 2026-05-28 | Last Modified: 2026-06-10 | Status: Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: usb: usblp: fix uninitialized heap leak via LPGETSTATUS ioctl Just like in a previous problem in this driver, usblp_ctrl_msg() will collapse the usb_control_msg() return value to 0/-errno, discarding the actual number of bytes transferred. Ideally that short command should be detected and error out, but many printers are known to send "incorrect" responses back so we can't just do that. statusbuf is kmalloc(8) at probe time and never filled before the first LPGETSTATUS ioctl. usblp_read_status() requests 1 byte. If a malicious printer responds with zero bytes, *statusbuf is one byte of stale kmalloc heap, sign-extended into the local int status, which the LPGETSTATUS path then copy_to_user()s directly to the ioctl caller. Fix this all by just zapping out the memory buffer when allocated at probe time. If a later call does a short read, the data will be identical to what the device sent it the last time, so there is no "leak" of information happening.

CVSS Metrics

Base Score: 5.5 (MEDIUM)

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactNONE
Integrity ImpactNONE
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 3.6

Weaknesses

Source Type Description
[email protected] Primary
en CWE-908

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x7fd34122f240> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36945c640> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36945dd00> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36945fdc0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd34122cf00> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36945d980> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd369ad68c0> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x7fd36945f680> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x7fd369ad57c0> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x7fd34122ca40> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x7fd36945e140> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x7fd3697d6100> Operating System
linux linux_kernel 7.1 <built-in method update of dict object at 0x7fd369406dc0> Operating System
linux linux_kernel 7.1 <built-in method update of dict object at 0x7fd369ad7100> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*

References