CVE-2026-46167·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to patch the USB printer driver heap leak vulnerability. This vulnerability affects systems running kernel versions 6.19 through 7.0.6 that have USB printer devices connected. Apply the kernel update through your distribution's package manager and reboot the system to ensure the patched kernel is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and verify if it falls within the vulnerable range (6.19 to 7.0.6)
- Step 2: Confirm USB printer devices are enumerated using `lsusb | grep -i printer` or `lpstat -p -d` to list print devices
- Step 3: Review kernel logs for USB device initialization errors with `sudo dmesg | grep -i usb` and check for usblp driver failures
- Step 4: After patching, verify the new kernel is running with `uname -r` and confirm it shows version 7.0.7 or later, then test printer functionality with `lpstat -r`
FAQ
What is CVE-2026-46167?
This vulnerability exists in the USB printer line protocol (usblp) driver where an uninitialized kernel heap buffer can leak stale memory to userspace when a printer responds abnormally to status requests. A malicious or malfunctioning printer device can trigger disclosure of sensitive kernel memory through the LPGETSTATUS ioctl call.
Is CVE-2026-46167 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. Exploitation requires physical or logical access to connect a malicious USB printer device.
What versions of Kernel are affected by CVE-2026-46167?
Linux kernel versions 6.19 through 7.0.6 are vulnerable. The fix is available in kernel 7.0.7 and later versions.
How do I check if my server is vulnerable to CVE-2026-46167?
Run `uname -r` to display your kernel version. If the output shows a version between 6.19 and 7.0.6, your system is vulnerable. Additionally, verify if USB printer support is loaded with `lsmod | grep usblp`.
Does Defensia detect CVE-2026-46167?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46167 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/087d97342c100138ea7d75a50977c9c2319f957b
- https://git.kernel.org/stable/c/0f7c41314ebf17049917a452684db371babf711a
- https://git.kernel.org/stable/c/6b0e7438e31c74b01514d31ff35c1e688c4baaba
- https://git.kernel.org/stable/c/762a6ccf391db0d629e590a803a3a2231e17dd3f
- https://git.kernel.org/stable/c/a502b997668401a6821501fc98b7f9220f9b6ff2
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46167. Free for 1 server.
Get started free