Skip to content

8021q: reclaim cleared egress QoS mappings

Artem Dinaburg netdev stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28021q: use RCU for egress QoS mappingsinclude/linux/if_vlan.h net/8021q/vlan_dev.c net/8021q/vlan_netlink.c +1 more+46 -320 replies
2/28021q: delete cleared egress QoS mappingsnet/8021q/vlan_dev.c net/8021q/vlan_netlink.c+14 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 6.18.y 0/2] 8021q: reclaim cleared egress QoS mappings

Hi,

Please apply these two patches to 6.18.y. Together they fix CVE-2026-46153.

Patch 2 (upstream 7dddc74af369) deletes cleared egress QoS mappings instead of keeping them as tombstones that accumulate until the device is torn down. It depends on patch 1 (upstream fc69decc811b), which makes the mapping lists RCU-protected so that a node can be unlinked safely.

The May 4 notice in this thread reported that 7dddc74af369 failed to apply to 6.18.y; its prerequisite fc69decc811b had not been queued. Both patches differ from upstream only in one context line, because 6.18.y predates the kmalloc_obj() conversion.

Both commits are in 7.0.7 and in mainline since 7.1. 6.12.y and older stable series lack them as well; this request covers only 6.18.y.

Compiled net/8021q/vlan_dev.o, net/8021q/vlan_netlink.o and net/8021q/vlanproc.o with CONFIG_WERROR=y on 6.18.65 from a cumulative x86_64 tree, with and without the current queue-6.18 patches. No kernel boot or runtime test was performed.

An LLM was used to prepare these backports and to check applicability and stable-queue history; I reviewed the result.

Thanks,
Artem Dinaburg