Public bug reported:

After the hplip security update to 3.23.12+dfsg0-0ubuntu5.3 (USN-9037-1,
2026-11-10), scanning over USB with an HP ENVY 4500 series all-in-one
fails.

The hpaio backend rejects the scanner's response as larger than its
8192-byte buffer. Downgrading to 3.23.12+dfsg0-0ubuntu5 makes scanning
work again.

System:
- Linux Mint 22.3 (based on Ubuntu 24.04 noble), using Ubuntu's hplip packages 
from noble-security, unmodified
- hplip, libsane-hpaio, libhpmud0: 3.23.12+dfsg0-0ubuntu5.3
- Printer: HP ENVY 4500 series, USB (03f0:c511), LEDM scan protocol 
(scan_type=7)

Steps to reproduce:
1. Connect the printer via USB.
2. Run: scanimage -d 'hpaio:/usb/ENVY_4500_series?serial=XXXX' --mode Color -o 
test.png

Expected: the page is scanned.
Actual:
  scanimage: open of device hpaio:/usb/ENVY_4500_series?serial=XXXX failed: 
Error during device I/O

Journal (journalctl -t scanimage):
  io/hpmud/musb.c 536: claimed ff/cc/0 interface
  scan/sane/http.c 501: http_read: response exceeds buffer (read=8196 len=12 
max=8192)
  io/hpmud/musb.c 562: released ff/cc/0 interface

With all hplip binary packages downgraded to 3.23.12+dfsg0-0ubuntu5
(noble release pocket), the same scan completes successfully.

Upstream:

This matches upstream HPLIP bug 2172090 ("hpaio: chunked http_read()
double-counts bytes_read -> LEDM scan over USB fails"). Fedora fixed the
same regression in hplip 3.26.6-2 (rhbz#2548961).

(ipp-usb was stopped and masked during testing to rule out interference
with the USB device.)

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: regression-update

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174538

Title:
  Regression in 3.23.12+dfsg0-0ubuntu5.3: LEDM scanning over USB fails
  with "http_read: response exceeds buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/2174538/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to