From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B93E4AC163 for ; Mon, 12 Oct 2026 17:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791824451; cv=none; b=YAHhiyzLVtjP0HOVmKRw3XKziI0e1hA0Iqog4z/FODi0Aq0vtt7WcZKeROU9PJJ0njoC8S9GubW6LHWKcNQ2P/zSLuhBecPQJigdzUNjcFqy0IAYUie39D9RLLGgcsEyP2f34832BZKNlFOxoq+CUaAulRawBjzRPW++fx+J2eM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791824451; c=relaxed/simple; bh=YHRxEnhISzYbhxdYgROze8JOSodjmfiGqLyBf+tRR8k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=PHH3KWv25qX04uEVtb5PI1NZh8GhybfL8+mPpc42SzapjLFlXUDOyoxyvkTL3Oqd7LWWwHMmYHfqfk5APAWL3zbEbbp2q/1hnzhdyg9qDd2cdfzK7bhyJQN51bGGLAwncAlCs85CLBVVl8bRnolPBUTr0clhwSPnV73y85KjcmI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=CKJ7JyBK; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="CKJ7JyBK" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 6C14F4E411FF for ; Mon, 12 Oct 2026 17:00:47 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 383C7601A6; Mon, 12 Oct 2026 17:00:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id F1AE111D70C58; Mon, 12 Oct 2026 19:00:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1791824446; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=YHRxEnhISzYbhxdYgROze8JOSodjmfiGqLyBf+tRR8k=; b=CKJ7JyBKbL4O8BzwF9cCKd0MdDQRTYJrJYWMs77iGiqK2BQ2wUKsrt/OhkJ29aA0jDYh1r 5a1Op8nOK7HOUB7qpHF7CKPL/rlCKI0z8qZ8OiWn12QKB4P1rPRPcOzhv82RToQcUJ1JeL aXapwAVZr0lw7rYLeHJBaMt7EAlXSBdjPJLjEWxdJCpJfAt1pljtxy5/Qa85GfKZiRHzo2 etLQdw8dPEYGar/96PBHTaQoYxBi/umQRQAPklXRMN1pB9zNDCXGhUocoo5EcHhij+ESVj CbuCAOGJ9Nn+/3BZPn14al351SDkCD5YkTu7biyL6i/ts+48dbaWcy+9etGzgw== From: Miquel Raynal To: Aryan Arora Cc: Alexander Aring , Stefan Schmidt , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , David Girault , linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+19cbce4cc656ecd4febc@syzkaller.appspotmail.com Subject: Re: [PATCH] mac802154: Cancel scan work synchronously during hardware teardown In-Reply-To: <20261012120934.64632-1-aryanarora.w1@gmail.com> (Aryan Arora's message of "Mon, 12 Oct 2026 17:39:34 +0530") References: <20261012120934.64632-1-aryanarora.w1@gmail.com> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Mon, 12 Oct 2026 19:00:41 +0200 Message-ID: <87v77626rq.fsf@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Last-TLS-Session-Version: TLSv1.3 On 12/10/2026 at 17:39:34 +0530, Aryan Arora wrote: > Scan cleanup uses cancel_delayed_work(), which does not wait for a > running scan worker. The worker can requeue itself after cancellation, > leaving an active delayed-work timer when the PHY allocation is freed. > > Cancel scan work synchronously before destroying the workqueue. > > Fixes: 57588c71177f ("mac802154: Handle passive scanning") > Reported-by: syzbot+19cbce4cc656ecd4febc@syzkaller.appspotmail.com > Closes: https://syzkaller.appspot.com/bug?extid=19cbce4cc656ecd4febc > Tested-by: syzbot+19cbce4cc656ecd4febc@syzkaller.appspotmail.com > Signed-off-by: Aryan Arora > --- I thought this had already been fixed but apparently not. Reviewed-by: Miquel Raynal