Article View: linux.kernel.netdev
Article #17822Re: [PATCH] bonding: reject IEEE 802.15.4 and 6LoWPAN devices in bond_enslave
From: patchwork-bot+netdevbpf
Date: Tue, 17 Nov 2026 11:50
Date: Tue, 17 Nov 2026 11:50
28 lines
8819 bytes
8819 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 12 Nov 2026 18:38:33 +0530 you wrote:
> When the first non-Ethernet slave is enslaved to a bond,
> bond_setup_by_slave() copies slave_dev->type to the bond device.
> However, the bonding driver does not set up subsystem-specific
> mid-layer contexts or private structures:
>
> 1. IEEE 802.15.4 routines (such as ieee802154_llsec_dump_table(),
> nl-phy.c, and socket callbacks) identify WPAN devices by dev->type
> alone and unconditionally dereference dev->ieee802154_ptr and
> dev->ml_priv (ieee802154_mlme_ops). Because bonding never allocates
> these, this results in a NULL pointer dereference.
>
> [...]
Here is the summary with links:
- bonding: reject IEEE 802.15.4 and 6LoWPAN devices in bond_enslave
https://git.kernel.org/netdev/net/c/297ae1590173
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179491620877.531240.2226036750385717075.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365205-linux-kernel-netdev=dewy.ruReferences:
<20261112130833.233208-1-skalpesh942@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!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365205-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] bonding: reject IEEE 802.15.4 and 6LoWPAN devices in bond_enslave Date: Tue, 17 Nov 2026 11:50:08 +0000 Organization: Usenet Network Message-ID: <179491620877.531240.2226036750385717075.git-patchwork-notify@kernel.org> References: <20261112130833.233208-1-skalpesh942@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2319678"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:oAfvLzE7mEfclgaboymUqkEczkQ= sha256:k13bghSe5vJm9zqqrIBkDLiAH5qaBmMsrjhznTn4RhY= sha1:m1XMJlM9z0O1ChoWeAZJft4QjzI= sha256:i1wXTWCfVDrITMb09leMiODI2RA1/vRFEdT95ZMoB/0= 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 A35C0114F1C; Tue, 17 Nov 2026 14:50:30 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 8tEJIAuoKARJ; Tue, 17 Nov 2026 14:50:26 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-365205-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 4D4FA114F2C; Tue, 17 Nov 2026 14:50:17 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id E73D0603301; Tue, 17 Nov 2026 11:50:16 +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=1794916211; b=4AyhsxQ1S1iUXYXGniEkdK1tzFHR5ElTZmRXVV/+yPm/iZe8K3rCRMohPflPnywdlCWY 1WhY8zTkJ8I3XObwQN7VS9fyo+xNoUk66Hg+UPJQbISkVwAm8AXOBeWcQtwpRRPA498ug cGxyxogI9gHErH+OTX4eKkwLKCeyZpec19D1cWDEFsUJkCd26NkjI+np14PwfmGvHxFHS HBeeff71Xe+Tf2Iox47CwFNeCbL8ZKZnCQplP+QlbqNn+gklDHpl7QRDkBbkrf0s9hbeX xiPhh2DntSTmATNGytZnN5a8NRoYLw+62F9h7tUKEnH2+oNj8GdcKXy463ztvzPJlrw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794916211; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=r1YdVZ14bdR6BreskSYxpV++ApdZZnlmoWMv+w8ECBQ=; b=pPJLpnL+xdILwu/UKE2SrTD+dNHQJqY0XhAm0I9gGDW0+cMo9d+OV7GHieqpOJBhxgpz aUBukQyAJRaO07nPjSc/bpf7WdV+3e/m2xUCS0S+LKFAVgLk40PAqkQoBGqpEySzdMQXN JOyqrO6LGKUc6md92SrIqnwqPYBzT5rPu9CI8bWvsKIYGa1h18iBTa/jkrGf3kz36bTvV LdfFluc4Kv4Os5sqFoKX0u3OG1f+s2gjaDRWBH/ezfknR7wBnsMa8eqDike0FO0fu24Mb KgnInMG10dvtxHDsmNcUcUoH+QhsKlmL5fe5it4xFWcpzeDp4jiJMMn+qdzucJ65cIQ== 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=TnZyV4Pf; 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 416FB606A329; Tue, 17 Nov 2026 11:50:11 +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=TnZyV4Pf 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=1794916210; b=Rld/Z/+TgfZyTeeZ8k+5qoYh0KYSOOt7370fZTjK9E9ws8ZU3gLSEKEAburwH2ROJIev c6U1OC/BVPYRkwx7MC1VkbJ+jcIDmyYWCVDjP6/WSRDOO7jmPNPBpWQ9EAtXQqaY2Li1Z hyCm4cvq2d5R76YqNydAvbvebTh1dbVvABGL9cKBJWubfVPNbmwvIp8mggSucM/dnkwzL IxsqsvJ4cTAw/q5HUwO1XAnjgk09plFcxPIMaBLGSq0RMHIEISo3jtsINJH8zo5Ruqnzr aDpGcPcKBrd6hbtUvLZ3R/WS8By6gC/4A+5UwsHWGQEr2ztYloc290SLrjtV/Osl//g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794916210; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=r1YdVZ14bdR6BreskSYxpV++ApdZZnlmoWMv+w8ECBQ=; b=MOKUOBbbU3xp3kwVnBo4h0JvkOO2oOF7l3zu6CSTcmT8Zkp2onfqVq9jXWlUt8C4Qpyn NsUAAd4Gk1brRzy7vkczBZWDRQB6cgzVTe325mKDNC+mPkoK51pwTMmvhZRakSVCax8cZ XZcBUjoT4C/Y9wCVXKjH0yPD7Hgo3D9DXxFtgH29Nm7XOkayO/00YKhxFgY70xwuUfewA Fyg9nw1YeitP9+WBt3hhDiOiZZvqDpm2mlyQ9RNbkTnmKS3EGhGiVs9xuylfUWbt/Oc3p y80w1U0QhFndUyqVV5+4k+8Xzv7Hta2ZL+2zqHhohr1m/5NM0lmD65b/Ju9WJupr/KA== 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=TnZyV4Pf; 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 63B28606A88C; Tue, 17 Nov 2026 11:50:10 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41EE51F000CB; Tue, 17 Nov 2026 11:50:10 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794916210; bh=r1YdVZ14bdR6BreskSYxpV++ApdZZnlmoWMv+w8ECBQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=TnZyV4PfVd5LNSxO/1Aw9/XMgU695MnKJaEeP8n8vL2UoyaWuOEHV0VspIQ0+9FFz VBTNMpiGttm2aW0wyVmBzEJZHL4JxuymYi/lfaIuTkHe/mXpzncA8tXheyUQmn+80Y HGQIcJVGe14a0KSGZzDE3NCI8SGb/tGoCOoy3t4sHM0FvHj4taayvflVmysaJANwax 7ynmE6+nr/WS3BpWDwHRdtpGYTdhbJt2SPqrTP76I5a9cg9UT2on4avZ84iouAHAQA h+wV7xfniS/CS7Y/CEk/7E4oTc9WxJ8GoL2AJN70kHvhZazSaqb0M7M/tK/+emfTyR R2jQUR7zBrnWw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A4893926661; Tue, 17 Nov 2026 11:50:10 +0000 (UTC) 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 X-In-Reply-To: <20261112130833.233208-1-skalpesh942@gmail.com> X-Cc: jv@jvosburgh.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, socketcan@hartkopp.net, yaojiale02@163.com X-Received-Bytes: 8534