Skip to main content

Linux Kernel EUVDEUVD-2026-32778

| CVE-2026-46151 MEDIUM
Memory Leak (CWE-401)
2026-05-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-589q-vfc2-j9cg
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attach malicious USB printer device
  2. Delivery
    Trigger short GET_DEVICE_ID control transfer (2 bytes, inflated length)
  3. Exploit
    usblp driver trusts length prefix, skips buffer zeroing
  4. Execution
    Stale kmalloc heap populates device_id_string[2..1022]
  5. Persist
    Local process reads ieee1284_id sysfs attribute or calls IOCNR_GET_DEVICE_ID ioctl
  6. Impact
    Up to 1021 bytes of uninitialized kernel heap exfiltrated to userspace

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires physical attachment of a malicious or malfunctioning USB printer device to the target system - the attacker controls or crafts the USB device to return a short GET_DEVICE_ID response with an inflated length prefix. The usblp kernel driver must be loaded (it loads automatically when a USB printer-class device is connected on most Linux distributions). A local user process with low privileges (PR:L per CVSS) must subsequently read the ieee1284_id sysfs attribute (e.g., /sys/class/usb/lp0/ieee1284_id) or invoke the IOCNR_GET_DEVICE_ID ioctl on the /dev/usb/lp0 device node. Exploitation is limited by: requirement for physical USB access with a specially crafted device, need for local user access to trigger the sysfs/ioctl read, and the fact that heap content is non-deterministic (attacker cannot control what sensitive data was previously allocated in that memory region). Systems without USB printer hardware or with the usblp module disabled are not affected.

Impact

The CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) rates this Medium severity with an Availability impact and explicitly no Confidentiality impact. However, this scoring conflicts with the documented behavior: the vulnerability demonstrably leaks up to 1021 bytes of uninitialized kernel heap to userspace - a clear confidentiality concern not reflected in C:N. Defenders should treat the real-world confidentiality risk as higher than the CVSS vector implies; this discrepancy should be verified against the NVD and vendor advisory. The attack vector is local (AV:L) requiring physical USB device attachment, which substantially limits the exposed attack surface compared to network-exploitable vulnerabilities. Low privilege requirement (PR:L) means any local user who can access the sysfs attribute or invoke the ioctl can read the leaked data once a malicious device is connected. EPSS at 0.02% (5th percentile) and no CISA KEV listing confirm no widespread exploitation activity. The primary threat model involves either a supply-chain-compromised USB printer or a threat actor with physical access deploying a rogue USB device.

Exploit ScenarioDerived

An attacker with physical access to the target system connects a USB device emulating a printer (e.g., using a Raspberry Pi Zero or BadUSB hardware) programmed to respond to the IEEE 1284 GET_DEVICE_ID control transfer with exactly two bytes containing an inflated length value such as 0x03FF (claiming 1023 bytes). The usblp driver trusts this length, leaving 1021 bytes of stale kmalloc heap in the device_id_string buffer. A co-located local process then invokes the IOCNR_GET_DEVICE_ID ioctl or reads the ieee1284_id sysfs attribute to receive a copy_to_user() of the full claimed length, potentially recovering sensitive kernel memory contents such as cryptographic keys, tokens, or other recently freed heap objects. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Heap memory disclosure in the Linux kernel usblp USB printer driver allows a local attacker with a malicious USB printer to expose up to 1021 bytes of uninitialized kmalloc heap to userspace. The driver's usblp_cache_device_id_string() blindly trusts a device-supplied 2-byte big-endian length prefix in the IEEE 1284 GET_DEVICE_ID response, leaking stale kernel heap contents via the ieee1284_id sysfs attribute and the IOCNR_GET_DEVICE_ID ioctl. No public exploit identified at time of analysis; EPSS is 0.02% (5th percentile) and the vulnerability is not listed in CISA KEV, but vendor patches are confirmed across multiple stable kernel branches.

RemediationAI

Apply the vendor-released patches by upgrading to Linux kernel 6.6.140 or later on the 6.6.x stable branch, 6.12.88 or later on the 6.12.x stable branch, 6.18.30 or later on the 6.18.x stable branch, 7.0.7 or later on the 7.0.x stable branch, or 7.1-rc3 or later on mainline. Upstream fix commits are available at https://git.kernel.org/stable/c/522d17e93a85575256894212d10e5a1fa6f36529 and related commits listed in the references. For systems where immediate patching is not feasible, blacklist or unload the usblp kernel module using 'modprobe -r usblp' or by adding 'blacklist usblp' to /etc/modprobe.d/usblp-blacklist.conf - note this completely disables USB printer support. Alternatively, restrict physical USB port access to trusted devices using USB device authorization (echo 0 > /sys/bus/usb/devices/usbX/authorized_default) to prevent unauthorized USB printers from being enumerated. On systems with mandatory access control, tighten SELinux or AppArmor policies to deny unprivileged access to the ieee1284_id sysfs attribute and the IOCNR_GET_DEVICE_ID ioctl to limit data exfiltration even if a malicious device is connected.

Affected VersionsENISA

Linux patch: 6.12.88
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6e29c32a27218f2dcd4a4e9b0b3c5e7728640698
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <522d17e93a85575256894212d10e5a1fa6f36529
Linux patch: 6.18.30
Linux patch: 7.1-rc3
Linux patch: 6.6.140
Linux 0 <7.0.7
Linux 0 <6.6.140
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8247f52d822180e94ccbfdab91613af386a4e34d
Linux patch: 7.0.7
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7a400c6fe3617e31e690e3f7ca37bb335e0498f3
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6d8142141c942c0d8e79343cffda9c44bb1f3f4f
Linux 0 <6.18.30
Linux 0 <6.12.88

Affected Packages

euvd linux fix: 6.6.140, 6.12.88, 6.18.30, 7.0.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in drivers/usb/class/usblp.c, specifically the interaction between usblp_ctrl_msg() and usblp_cache_device_id_string(). During USB printer probing, a 1024-byte buffer is kmalloc'd and a USB control transfer (GET_DEVICE_ID per IEEE 1284) is issued. The bug is that usblp_ctrl_msg() collapses the usb_control_msg() return value to 0/-errno, discarding the actual byte count transferred. A printer (or malicious USB device) that sends only 2 bytes with an inflated length field (e.g., 0x03FF claiming 1023 bytes) leaves bytes 2-1022 holding stale heap data from prior allocations. The driver then exposes this stale content via sysfs and ioctl without bounds-checking against actual received data. CWE-401 (Missing Release of Memory after Effective Lifetime) is assigned, though CWE-908 (Use of Uninitialized Resource) and CWE-200 (Exposure of Sensitive Information to Unauthorized Actor) more precisely describe the actual disclosure impact. Affected CPE: cpe:2.3:o:linux:linux_kernel across a wide version range starting from the initial kernel git commit (1da177e4c3f4).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE 6.3 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 09, 2026 - 21:07 NVD
5.5 (MEDIUM)
Patch available
May 28, 2026 - 12:01 EUVD
CVE Published
May 28, 2026 - 10:16 nvd
MEDIUM 5.5
CVE Published
May 28, 2026 - 10:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

usb: usblp: fix heap leak in IEEE 1284 device ID via short response

usblp_ctrl_msg() collapses the usb_control_msg() return value to 0/-errno, discarding the actual number of bytes transferred. A broken printer can complete the GET_DEVICE_ID control transfer short and the driver has no way to know.

usblp_cache_device_id_string() reads the 2-byte big-endian length prefix from the response and trusts it (clamped only to the buffer bounds). The buffer is kmalloc(1024) at probe time. A device that sends exactly two bytes (e.g. 0x03 0xFF, claiming a 1023-byte ID) leaves device_id_string[2..1022] holding stale kmalloc heap.

That stale data is then exposed:

  • via the ieee1284_id sysfs attribute (sprintf("%s", buf+2), truncated

at the first NUL in the stale heap), and

  • via the IOCNR_GET_DEVICE_ID ioctl, which copy_to_user()s the full

claimed length regardless of NULs, up to 1021 bytes of uninitialized heap, with the leak size chosen by the device.

Fix this up by just zapping the buffer with zeros before each request sent to the device.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy