CVE-2026-46151
kernel: usb: usblp: fix heap leak in IEEE 1284 device ID via short response
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 28, 2026
Updated · November 3, 2026
Description
A flaw was found in the Linux kernel's USB printer (usblp) driver. A malicious USB printer can exploit a heap leak vulnerability by sending a truncated device ID response. This can lead to the disclosure of up to 1021 bytes of uninitialized kernel memory, potentially exposing sensitive information to an attacker.
Statement
usblp cached the IEEE 1284 device ID in a kmalloc buffer and trusted the two byte length prefix even when the USB control transfer completed short. A malicious or malformed USB printer can return only the length prefix and cause the driver to expose stale heap bytes through the ieee1284_id sysfs attribute or the IOCNR_GET_DEVICE_ID ioctl. For the CVSS the PR:L is used for the paranoid score because a local user needs access to the usblp device node or sysfs data path, or an equivalent USB passthrough context. The main attack model is physical or local USB device access, not network reachability. Impact is kernel information disclosure only, up to roughly 1021 bytes per affected ID read, with no supported write primitive or privilege escalation path.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 2.1CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE-457 · Use of Uninitialized Variable