Article View: linux.kernel.netdev
Article #10254Re: [PATCH] net: wwan: iosm: fix potential skb leak in MUX DL decode
From: Fang Xieyan
Date: Tue, 03 Nov 2026 10:51
Date: Tue, 03 Nov 2026 10:51
17 lines
8878 bytes
8878 bytes
Hi, Agreed on the main finding - skb->data cannot be NULL there. Same conclusion as in the thread with Loic: https://lore.kernel.org/netdev/20261102105307.11263-1-fangxy@xiaopeng.com/ I'll drop this version and send a cleanup that removes the unreachable check instead, without a Fixes: tag so stable does not pick it up as a leak fix. The pre-existing findings on the missing skb->len checks and the unchecked next_cmd_index walk in ipc_mux_dl_acb_decode() are being addressed in a series I'm preparing. pw-bot: cr
Technical Details
Message-ID:
<20261103105146.34477-1-fangxy@xiaopeng.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355487-linux-kernel-netdev=dewy.ruReferences:
<179369405864.488856.5590338519083448566@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355487-linux-kernel-netdev=dewy.ru
From: fangxy@xiaopeng.com (Fang Xieyan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net: wwan: iosm: fix potential skb leak in MUX DL decode
Date: Tue, 3 Nov 2026 18:51:46 +0800
Organization: Usenet Network
Message-ID: <20261103105146.34477-1-fangxy@xiaopeng.com>
References: <179369405864.488856.5590338519083448566@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="3151591"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:y1tpPOMW2cUM6GpTj7+a0hwpWWs= sha256:l+ucHPEm4hOMEWdUfNX/VSZ19CQfb87hvwm4M2eT3QA=
sha1:p44TufctffD8O76uHqWs43zRkD8= sha256:vsQ4nIYkM4BCSjOPe115m26844Fcm0Mvb3VRo/ydFOw=
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 3CF5011281D; Tue, 3 Nov 2026 14:19:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
header.d=xiaopeng.com
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 8VB1K4hcQGph;
Tue, 3 Nov 2026 14:19:05 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355487-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=xiaopeng.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 2503E1127C8; Tue, 3 Nov 2026 14:18:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id E4C4E369A2; Tue, 3 Nov 2026 11:01:01 +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=1793703113;
b=crMpYH/mrIIpAUIJTWmBKnbqn1lKj4hty1bm1J0ifdUaSzJcbNplw01n0yyrcbh9iZK1
f2qbHv/BMdzl+v632wtLcj7Wbec12Lf+e9OrDPu6GZ98j1oLHSu0ywfFfuagRSh7VmsjC
kKA6jFApXX/P0CZpywunoZL6iaWnQE414s1tesZtniIa8jF/jcCtDfZ9hgzyXGnvHC0A+
BvTU7EY7rkOHOq5qE8eJa5145C6NOncOvLMa5xhaEhu9nMIbWufZIzqTHmRixE7JAsqvh
kLPaK+TYesRdCHQO6aMHxfti/vvkObGxa96Jf89yPgZhW/xLAhZgv6jluuUWY1PfdyA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793703113;
h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:
X-Alimail-AntiSpam:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding;
bh=yve30OsJK2xindd1FBXy9Xv7cVmfGR9bOzhjL1cRnLI=;
b=m0iXnMS54x90CmPD7Pf3cnHg0WfKZDR5IYJNgFMBSX/2mi26Jfbj+EtuHhEta/bII8/s
3NZEqKoqZScoKWVJonVwl2AK8nLDHarepz2nKe0eYI3o0az0KfdQH4veQ4fcry7tBvt2s
PMEmtnaYPKrM51s07dDfoM+g+TmjKCKmvSYYYcExEeJCt9Bvf6P5N3nHJYBsyBrDUthu+
J2+YOS9BPzGx46mtrakfKzSYLGXRi/Yd5Wqei/z03TD1hlYq7ZgZP5gfwuLb94R85jxEe
Og/T+SVRCeZNMnX0OE1Ex4BdjLS6IosyMvXKQbOwW+gE2mwmHCOLurvCtAUOtjFJMsg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=xiaopeng.com header.i=@xiaopeng.com header.a=rsa-sha256 header.s=default header.b=dXIUWkvu;
dmarc=none header.from=xiaopeng.com;
spf=pass smtp.mailfrom=xiaopeng.com;
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 84787606B121;
Tue, 3 Nov 2026 10:51:53 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (1024-bit key, unprotected) header.d=xiaopeng.com header.i=@xiaopeng.com header.a=rsa-sha256 header.s=default header.b=dXIUWkvu
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=115.124.28.171
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793703112;
b=Ars2FBLjVBZGvShQD/Mbov8SGl65ysFqdwqwoPzoLDU7V1NVy23SIeKML8juitaWiwfY
XXdwsmw4n26rwURGUa1iOwALoDkHJlAb1UCYf0I79LQSGeBfU1zpse2aGQtZWWk/0irBf
27qWQppx3au7hzbprMvLCUBHm030BOZ3Qc+LdgSycSwhsQ8tN51gxB+mlHovH9C5+KvT1
DsZ0ZJK85+cvYr3Mn54Ra6zgWJwvZUYQk6/crpg7+3OJyLwxmDqp2Yry8bLwSrTHAc8xX
c8KnUGOwLHhCydi1BbcRc5ieNpvEZu73bZjRExtmxsY+wDEsckZxqGCEvk+Ebaeem8A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793703112;
h=DMARC-Filter:DKIM-Signature:X-Alimail-AntiSpam:Received:From:To:Cc:
Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=yve30OsJK2xindd1FBXy9Xv7cVmfGR9bOzhjL1cRnLI=;
b=DDMzK1UBPCT9Pt6vPRsUP0/UMtKkKrLE1qcqv2a9Vae0OKRBYm/c4KJVPyMwRLuAijv8
QTfz+EOJeJa0BVai3YKN2/EFqZd2i+Hgb/wrp+1ly+163m/qa5zUmENUzVf4UBcCziKBr
3/X5F78C1JlM6JtKVK58Aee/6Bv8c+9JCtkRRqQtMvBZm94FJY9MCV0luUu9YZkxIgEkl
mnO61SB1wzmthiHcI7a5VnL32sgx4HrhsEDA3mssxflfzOr4CraoqP+8NzaU/rCSwOelU
s8smsEfqsQsZOGch9orCVDq5ygOyk3glEans9EAElJ0muL1BQpRQlFKwBnx90R+hiNw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=xiaopeng.com;
spf=pass smtp.mailfrom=xiaopeng.com;
dkim=pass header.d=xiaopeng.com header.i=@xiaopeng.com header.a=rsa-sha256 header.s=default header.b=dXIUWkvu;
arc=none smtp.remote-ip=115.124.28.171
X-Received: from out28-171.mail.aliyun.com (out28-171.mail.aliyun.com [115.124.28.171])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5614A606A82E
for <netdev@vger.kernel.org>; Tue, 3 Nov 2026 10:51:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5614A606A82E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xiaopeng.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xiaopeng.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=xiaopeng.com; s=default;
t=1793703108; h=From:To:Subject:Date:Message-ID:MIME-Version;
bh=yve30OsJK2xindd1FBXy9Xv7cVmfGR9bOzhjL1cRnLI=;
b=dXIUWkvu9CjDJA8H5kqUlRVnSlPu5vwoHlaZBK/bpFvIeL3LwtL760WlPecLxDHGiqGALsao/PTeLZJwxsDM1H/RLHzEF/6xUOdQhN4heHm5gmnx9CcmG0/JO0I/3ITYENj3eBFULGtIYMje/a7SbgqztPc/t8k7kSyIBUvLelI=
X-Alimail-AntiSpam: AC=CONTINUE;BC=0.136758|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.00690489-0.000466603-0.992629;FP=17182226299554687800|0|0|0|0|-1|-1|-1;HT=maildocker-contentspam033037026024;MF=fangxy@xiaopeng.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.jvivrQZ_1793703106;
X-Received: from localhost.localdomain(mailfrom:fangxy@xiaopeng.com fp:SMTPD_---.jvivrQZ_1793703106 cluster:ay29)
by smtp.aliyun-inc.com;
Tue, 03 Nov 2026 18:51:47 +0800
X-Cc: Loic Poulain <loic.poulain@oss.qualcomm.com>,
Sergey Ryazanov <ryazanov.s.a@gmail.com>,
netdev@vger.kernel.org,
Guanglei Zhu <zhugl3@xiaopeng.com>
X-Mailer: git-send-email 2.50.1
X-In-Reply-To: <179369405864.488856.5590338519083448566@kernel.org>
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