Re: [PATCH] USB: serial: kl5kusb105: fix bulk-out buffer overflow

From: HyeongJun An

Date: Mon Jun 08 2026 - 03:54:50 EST


Hi Johan,

Thanks a lot!

Yes, I used an LLM to compare the custom prepare_write_buffer()
handlers in drivers/usb/serial/. kl5kusb105 passes the full "size"
to the fifo copy, while the ones with a header or trailer, like
safe_serial, reserve that space first.

Thanks,
HyeongJun