Re: [PATCH RFC] usb: atm: cxacru: fix NULL pointer dereference on uninitialized atm_dev
Jie Wang <[email protected]>
| Newsgroups | dev.linux.lists.syzbot |
|---|---|
| Message-ID | <[email protected]> |
The cxacru_poll_status() hunk guards an unreachable state: cxacru_atm_start() only fails on the MAC read, which is before polling starts, so usbatm_atm_init() never reaches its atm_dev = NULL path with poll_work pending, and cxacru_unbind() already cancels the work via cancel_delayed_work_sync().