Article View: linux.kernel.netdev
Article #14812Re: [PATCH net] net: wwan: iosm: cancel adb_timer on cleanup to avoid use-after-free
From: Jakub Kicinski
Date: Thu, 12 Nov 2026 01:27
Date: Thu, 12 Nov 2026 01:27
6 lines
8082 bytes
8082 bytes
On Mon, 9 Nov 2026 21:49:33 +0900 hyunjungg wrote: > Found by static analysis; not tested on real hardware (needs an Intel > M.2 7360 WWAN modem). Please don't send these low effort untested driver fixes for networking.
Technical Details
Message-ID:
<20261111172718.1e41f48b@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361423-linux-kernel-netdev=dewy.ruReferences:
<20261109124933.1603575-1-hj351016@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361423-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: wwan: iosm: cancel adb_timer on cleanup to avoid use-after-free Date: Wed, 11 Nov 2026 17:27:18 -0800 Organization: Usenet Network Message-ID: <20261111172718.1e41f48b@kernel.org> References: <20261109124933.1603575-1-hj351016@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="981962"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:nw/sWKtsd9Oo3/qVRi1dnrw/eB0= sha256:cTgR6m1ur70CazXsHZ/Lx17V3VbipPQLXyLYbVbReIw= sha1:dOjxI3P61dO90vfxbEkIemSr7r8= sha256:DBY0rUWe+CMVp1byIYwYfKs/+g7hm4cP0YP/DKxHtpo= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 3B3B51140AA; Thu, 12 Nov 2026 04:33:00 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BmhauUhZouSq; Thu, 12 Nov 2026 04:32:55 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-361423-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 308FB113FE4; Thu, 12 Nov 2026 04:32:44 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 825E1C00E0; Thu, 12 Nov 2026 01:27:34 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794446845; b=qkkCtcYkJK35G5AXK2uNr+0uu+vmKUOlCcjmFkzGGBMw3fQKrGyEYFQfyIKCAEJhkSf+ nXlNqANswrLNtOV5zHJz/05nd9j0tOY8i4pRKaNwI2U93A/dcCPn34YrQiureI0q/qEGJ p5+xVOnNnCAyMorRKyAa14mOdnPu3tloqkmB3a1JNq07RpoVu/uZtqJVryysMqnXlqpK3 xpepd3XMr4+keD8NUZFCu7poX+7bbOmqa3vEej4Sa0+LG+YvPC6D3xbc0BR1r9pSvMFB/ fqZet7Z0o4Onuv5YDW8Ce3am/q5wSt/DdtC/BOY2ozcv2SUEwMD/QZEBGBND3FIdcLw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794446845; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=q/lveT1bVR64vDjyJJw1kviu+yZQdYmoJOsd/WaZ6p8=; b=1N/YU8e28gPivTadX9IMA3TmAqI5uSwP7GYoOoRQYKKfl3utMK3PCyRLxY4JjrXUZSvG ScNYLp8GPEaujqnTOlbGumwr5TuDqJmmt+GgkC/yi+qYwEt/81yoohFYYTxfKHf8xJ/pl +vUNYhu9ZNvQt+F4G+Pm7dpOAgYzPeJiXXXNnkfG/F6WwdMQ8mnCmT5BempIo2deZHPlv Vu+b6k/Sr2LSfzL8j0jg5jXIm9LAW6ckaYc1lGSKkE4sNJOS0tX70rVDoSzN3IP7NEJjJ 9/NhCpsnwjYbxI/aCU7Fo0wstQSYYUI+xwNmT5hmVVi7E7oXxyWpcQn8d4KVbM6buNA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=O0Xse3nj; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85DA6606A88B; Thu, 12 Nov 2026 01:27:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=O0Xse3nj X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794446839; b=aFYFEh+3VPfIlA2ppzc3lfLdu5ZUovCSi1i3IoUdKr5uROs96IYb57nSZTZgJD8wIGjx +5asv8GdNZZ/U9LUH6iqphv7SxVU+ZPLS1tMtYyA4omLu3cFdoyTJoWiK86DeDS7VfBmf Nw3ctow+9lsszTsl5IdKJFZ/oB+Z2B0vHDHvEMlZznLyopRmdL9n4FkF+67N3qk8gXXbv EYFUB5D8AbYx0pa4qxGLNNLmSY1Qg5k93mSM59zAb9Z6BEmO2iO4hQuVOnXmtJaOXs87z iZNJUwcK4YGUx0GclIXzbfJrcqtCPPdcJOUm0lw3bcOl7uHTva8yCk+K/IN3mv+TzGw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794446839; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=q/lveT1bVR64vDjyJJw1kviu+yZQdYmoJOsd/WaZ6p8=; b=4OuVXtTXq6s+rlpaKoATEXXc+2EJ6bfx6CDEHt2YfrV3jdM0RzEJTKQqijUaVvg8A4xt qFZoaLBuWuEo4auiJRSZslmH1PbUFjaYTRTZZZilZg0hQPIA/svhe0HM6Be30hcCymKxo 8qkh62symBEzt46FChxUekpR3O250MSGpsJQUSczf00vuwrPzuJ7+WsJ/AqtIIBtzrvcm 7t5oBh5qe7gUFBBMNmEJFljidiZRuPoSFpyYrmkyrCSkOyrSPlEhff331vDMWVSb4AdUW tHDfyVfD7YhrMB0IB+QbM4pt41cbJ4sBP5TOM40fiRfYqujnTVXLhiiUyWYJuUdkf8Q== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=O0Xse3nj; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3A64606A31C; Thu, 12 Nov 2026 01:27:19 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 049761F00A06; Thu, 12 Nov 2026 01:27:18 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794446839; bh=q/lveT1bVR64vDjyJJw1kviu+yZQdYmoJOsd/WaZ6p8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=O0Xse3nj+TS+Yj85esN1+koCSwhjpteuHkg6I6K+JLFc5/NSltJSsE52iDqkk9BOo S9pwUKkYTWjLWAcLdNB4N0RSsGYgceuDGY2J1tTw/jZLRILLR+MOw2sEV6HUwD47Q8 xYY8wIJwEIu8Vh0f7SAwTYnADSXXD+BHQkCvDY0WvrVa0u7jwZ6IFk/F5qF3Kcc/PK DTJN5HT9oY+6U0lKs/YIoNouNI0EF0RVwvQbQCm1Aap9HetYbiP9Nv0XI9B3k9C4Ug SS6XsYR+1TrRcww4XrORI+9zj30p7xb4nC31uvo4Yf2PE9Pv3en79300Ha212kyUYj hST/dL2X3LYIw== X-Cc: Loic Poulain <loic.poulain@oss.qualcomm.com>, Sergey Ryazanov <ryazanov.s.a@gmail.com>, M Chetan Kumar <m.chetan.kumar@linux.intel.com>, Johannes Berg <johannes@sipsolutions.net>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org X-In-Reply-To: <20261109124933.1603575-1-hj351016@gmail.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list