Re: [PATCH] usbredirhost: fix null dereference

2025-04-10 Thread Uri Lublin
Hi Dmitry, Thanks for testing and sending this patch. One comment below. On Wed, Apr 9, 2025 at 12:07 AM Dmitry Frolov wrote: > In function usbredirhost_open_full(), when host->parser==NULL, > the call sequence: > "usbredirhost_close() ---> > usbredirhost_clear_device() ---> > usbre

[PATCH] usbredirhost: fix null dereference

2025-04-08 Thread Dmitry Frolov
In function usbredirhost_open_full(), when host->parser==NULL, the call sequence: "usbredirhost_close() ---> usbredirhost_clear_device() ---> usbredirhost_handle_disconnect()" is called, where host->parser is being derefferenced without a check. Found by Linux Verification Center (linu