Article View: linux.kernel.netdev
Article #6358[BUG] net: bridge: VLAN operations emit wrong link event types
From: Cheng Yongkang
Date: Thu, 22 Oct 2026 09:16
Date: Thu, 22 Oct 2026 09:16
40 lines
12059 bytes
12059 bytes
Hi all, br_vlan_rtm_process_one() reuses the VLAN operation command map for the RTNLGRP_LINK notification type. A successful RTM_NEWVLAN therefore multicasts RTM_SETLINK, while RTM_DELVLAN multicasts RTM_DELLINK even though the target netdevice still exists. br_fill_ifinfo() also omits IFLA_PROTINFO unless the event is RTM_NEWLINK. Observed on Linux v7.3, commit 08ab31164c55f20c7a2653de3186ae333470e2c1: RTM_NEWVLAN -> ACK 0 link notification nlmsg_type=19 (RTM_SETLINK) IFLA_PROTINFO absent RTM_DELVLAN -> ACK 0 link notification nlmsg_type=17 (RTM_DELLINK) IFLA_PROTINFO absent target port still exists after the DELVLAN The kernel's dynamic-debug output independently confirmed br_fill_ifinfo event 19 and event 17 for the port. The request handlers need RTM_SETLINK/RTM_DELLINK operation semantics, but successful VLAN changes should emit RTM_NEWLINK, matching the older br_setlink()/br_dellink() notification paths. The 2015 notification compatibility fix established that ABI, and the later RTM VLAN path regressed it. I found no matching upstream fix or CVE. The self-contained PoC and full serial log are available on request. This was found with a multi-agent workflow; both event types were reproduced in QEMU. Thanks, Cheng Yongkang
Technical Details
Message-ID:
<20261022091618.3651826-1-teel4res@gmail.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-350462-linux-kernel-netdev=dewy.ruShow 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-350462-linux-kernel-netdev=dewy.ru
From: teel4res@gmail.com (Cheng Yongkang)
Newsgroups: linux.kernel.netdev
Subject: [BUG] net: bridge: VLAN operations emit wrong link event types
Date: Thu, 22 Oct 2026 02:16:18 -0700
Organization: Usenet Network
Message-ID: <20261022091618.3651826-1-teel4res@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="173841"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:bkTMl5GUvTYH5vQt7vpjtGvPzg8= sha256:B6CVV0SSnBD/tfEKar/zXcebkG4uXwmZ0YVSZJfb6I4=
sha1:5Xui3lQwjoNKa4Ssu0DdOkLOA2o= sha256:ACYum/N+cahfIFSGGmzNtcU2GJU2jsj1hAY4aJYqtDE=
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 2BACD111204; Thu, 22 Oct 2026 12:23:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
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=gmail.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 SRej5AcX5nHP;
Thu, 22 Oct 2026 12:23:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-350462-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 1EB3F1111FE; Thu, 22 Oct 2026 12:23:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 6690A25130; Thu, 22 Oct 2026 09:16:38 +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=1792660586;
b=uuiU/cRXlFgtomQAIlvG+1D+zSslMTO8L6Nb8mFrpGQS3Fwrno5CTPkLSO1ZM0MRAJCQ
wxlNXLTpt0q88AQVRPGsht7APg8SajpHfsxz+ae2W3cjRMGTnZxEzKosUiPwHOJEfYxiw
FHsuOmJVsYtFGNOZoAC8EhKP11g6GRRoIJh/uluNS2hc6VSPLB6K+Pn2yRO9Dtl6P4Smm
INePozxfMOMkfVb2Xk9SdwHujbUQ1BLFODx6VMFB5Z4CZIufqWw1Rg77vhW4tqu09AyIW
NPiOexr5G47/AJA8NQN3kbqdk3uzite1UdAYgGcSzFE75Lq8Dqovhvc2Ku9kGZcaKHg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792660586;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-Id:
X-Mailer:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding;
bh=s3Hbpdq8bJvy97QquSYSmiPRVKUjmKCEWWHbHnrtGGY=;
b=hkpGS58mk/ebq3UwAzE5Y1nWxwlgHfAuOi2zXBZCM2qmq6A/rj3bkAFiZY3+hh6rDQ2c
oN7wLc8uS38w+56LsvbqnhIqY0nPkTXhKVNRK2C8g/ITgsdGzn21rngngrllKKWPWunP+
yRNF20rp1NKyGZJl04B7vm5QMPvVNTis+Yc0/+23nuqSAg4ufISaeO3nSudnOWxN3Zp99
RU1zyHep3/YkVSP7pDyuQPzVETk3SeRUM7NqQvbQUrH4l10WOtX8+ohlUs0Iljyw7goIz
vbnScAb4BiyKdKnb/7wi9Y+S0uqydH47nSvNWE3rwnKeA2UQb3k7ZBXQcmnA6hXvI0Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=AAEn501j;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.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 B4B0A606A339;
Thu, 22 Oct 2026 09:16:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=AAEn501j
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.46
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792660585;
b=5cD55JyQZkmisk/JaroqnMDf44axeXiQKXXYQVQ55p327ywjmAd9Ml9oUl2gvs86D+ED
Cmoe5JFincE44zxRq1j52wcZ34Ow7llk0Bf9qTsNz1cNZKc/AgPX7OJh1jdqdMiydiHx8
qSaQAnrPg67MWqnfTw1QJN+bpCNEG3xXMahK7RXD56dr1/pxYS1suYw1rbAHDBMPeBeXN
KkE1PHquLgG1z7+d/6nldn98cG5+BIOHqLKWoBM2u9TiWQg2a6CgRytnT4XFdJiUFkTOu
O+7N5PuL+M3Ws+8BRUc+f3PjcQCpP3Ojl+5Ig3psCR0VH4LZMkimTlnA4fzgyUKYGug==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792660585;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-Id:X-Mailer:MIME-Version:Content-Type:
Content-Transfer-Encoding;
bh=s3Hbpdq8bJvy97QquSYSmiPRVKUjmKCEWWHbHnrtGGY=;
b=u4psD0IU73bZVB9LRZEAa38aUZSzEbjrPOj6FOI+Zma8n0UigYkdlDvo6ah+9IKozUl3
hbQND6PtIoJqURTwAdGOXp2E6pFq9rO4a0Q1yqsPRVv4mtTPO+mdA57y+GA0antfVEPpa
LNpCpzBuZvL8yL6pujUVgRmiEOPt+v3bQBhQFPMONDunxASmbuACBlNq5ZMZTYkQ/u9k7
hQZiZkX3vwybZFAaglEgS15vN50aSu8oeQhqzV7Xzyzl5qpK47qTU3dkLJObj6jNCORRC
ropWoYp2WZkC+8WQAyl90e/2twoKfpkKul1ptOLqP8KXCsVHMClJRBmBCvT/XxVzobQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=AAEn501j;
arc=none smtp.remote-ip=74.125.82.46
X-Received: from mail-dl1-f46.google.com (mail-dl1-f46.google.com [74.125.82.46])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 844B9606A31D
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 09:16:25 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 844B9606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dl1-f46.google.com with SMTP id a92af1059eb24-181516de561so326273c88.1
for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 02:16:25 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792660585; x=1793265385; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:mime-version:message-id:date
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=s3Hbpdq8bJvy97QquSYSmiPRVKUjmKCEWWHbHnrtGGY=;
b=AAEn501jZOYxOn/VI6FYdNPLrY/oYI3of9nt0mbAfy8oGc1FK7wwLz6x3PxpReHu3E
640YXtHra1T7Lgmx6IAcbSLbz/ki7fQWyAtsynbF2L/0oq+aGxr+fm4JLA6hr1r9q5IH
FCHzenYHAV/5s3NAsmh+fNPOFh1uvA0oU3fbv+1X8B0am2fqSpjye5mbpz/YGLE0q0Ei
lOJJvwJTaNsFgkG9wKedi9AUu291lV/GH3+YKbL3yu9cB/4DjGsMcyU/8VD02vRT4WDb
PFpgcdkZuy/RKbbT1TcPutonfq/0LuhFsaXvzrPuIlIgmEG/HCwiHiniwVFWpYtnRcn2
6tlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792660585; x=1793265385;
h=content-transfer-encoding:content-type:mime-version:message-id:date
:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=s3Hbpdq8bJvy97QquSYSmiPRVKUjmKCEWWHbHnrt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u5gLxwBLbuiOutL30bIhWOstHXYISghHpREvBTipHBfS0qVYV
dprpOPmHPzVNFdtTXPc6WLHuQeZ2feY6HEkUmcP8uvn4ASEBo0Ou3a3w8ZzNd5WYFYUGyxHHzWt
PCi7FB28YVELAoH+oVQ=
X-Received: by 2002:a05:7022:127:b0:14a:6a66:f6e3 with SMTP id a92af1059eb24-192f4fb0ed2mr3798839c88.20.1792660584630;
Thu, 22 Oct 2026 02:16:24 -0700 (PDT)
X-Received: from youngkk-vm.localdomain (67.216.200.102.16clouds.com. [67.216.200.102])
by smtp.gmail.com with ESMTPSA id a92af1059eb24-1903ca044d4sm14095227c88.17.2026.10.22.02.16.21
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 22 Oct 2026 02:16:24 -0700 (PDT)
X-Cc: "David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
bridge@lists.linux.dev,
netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.34.1
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