On Fri, 26 Apr 2024 14:25:11 +0200, Rajashekar kuruva wrote: > > When multiple plug-in and plug-out events occur, > there is a risk of encountering a NULL pointer dereference > leading to a kernel panic during a headset use-case. > this issue arises in the snd_usb_endpoint_close function Such a scenario can't happen: ep->iface_ref is changed only in chip->mutex lock, hence it can't be NULL there. thanks, Takashi
- Follow-Ups:
- Re: [PATCH] [RFC PATCH] ALSA: usb-audio: endpoint: Prevent NULL pointer deference in snd_usb_endpoint_close
- From: Rajashekar Kuruva (Temp)
- Re: [PATCH] [RFC PATCH] ALSA: usb-audio: endpoint: Prevent NULL pointer deference in snd_usb_endpoint_close
- References:
- Prev by Date: [PATCH] [RFC PATCH] ALSA: usb-audio: endpoint: Prevent NULL pointer deference in snd_usb_endpoint_close
- Next by Date: Re: [PATCH v20 08/41] usb: host: xhci-mem: Allow for interrupter clients to choose specific index
- Previous by thread: [PATCH] [RFC PATCH] ALSA: usb-audio: endpoint: Prevent NULL pointer deference in snd_usb_endpoint_close
- Next by thread: Re: [PATCH] [RFC PATCH] ALSA: usb-audio: endpoint: Prevent NULL pointer deference in snd_usb_endpoint_close
- Index(es):