On Tue, Nov 10, 2026 at 05:28:06PM -0600, Adam Crawford wrote: > On QMux reception, record header is first decoded to retrieve the record > length. However, an empty record is not rejected. Its header is consumed > but no frame is parsed, so <rx.rlen> remains null while the reception > buffer may still contain data. > If such records fill the reception buffer up to its end, a BUG_ON() is > triggered in qcc_qmux_recv(), as a null record length is not expected > with data stored up to the buffer end. This can be triggered by any > client connected to a QMux listener.
Thanks for the report. However, I chose to not take your patch. Empty records are not forbidden by QMux protocol, even if there is no really any usage for them. The main issue was in fact with the BUG_ON() itself which is outdated as buffer realignment is now supported. As such the solution was simply to remove it. -- Amaury Denoyelle

