Package: libcups2
Version: 2.4.2-3+deb12u10
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

After upgrading the CUPS packages from 2.4.2-3+deb12u9 to 2.4.2-3+deb12u10
(bookworm-security / DLA-4952-1), opening the print dialog in GTK3
applications (tested with Mousepad and Firefox on Debian 12 Xfce / amd64)
freezes the application UI indefinitely at 100% CPU.
Steps to reproduce:

    Have libcups2 / cups 2.4.2-3+deb12u10 installed on Debian 12 (bookworm).
    Open a GTK3 application such as Mousepad (mousepad --disable-server)
    with the default cups print backend active.
    Press Ctrl+P (File -> Print).

Observed behavior:

    The print dialog freezes immediately before listing printers.
    strace -f shows the GTK3 main thread connecting to /run/cups/cups.sock,
    sending an IPP CUPS-Get-Printers request, and then spinning in an
    infinite tight loop polling the socket without reading:
    poll([{fd=11, events=POLLIN}], 1, 0) = 1 ([{fd=11, revents=POLLIN}])
    The freeze occurs even with a clean HOME directory and even when
    /etc/cups/printers.conf is completely empty.
    Command-line tools (lp, lpstat -t, lpstat -e) and Qt5 print dialogs
    (qpdfview, featherpad) continue to work normally without hanging.

Workaround / Regression confirmation:

    Downgrading libcups2 and the cups binary packages back to
    2.4.2-3+deb12u9 immediately resolves the freeze and restores normal GTK3
    print dialog behavior.

System information:

    Architecture: amd64 (Debian 12 bookworm)
    Affected packages: libcups2, cups, cups-daemon, cups-client
(2.4.2-3+deb12u10)
    Printer setup: Network printer over Ethernet (Epson WF-3520 Series),
    though the hang reproduces even with an empty /etc/cups/printers.conf.

Best regards,


-- 
JMR

Reply via email to