Skip to contentSkip to conversation

CVE-2026-97614: net: dsa: tag_brcm: legacy FCS: request needed tailroom

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: tag_brcm: legacy FCS: request needed tailroom

The legacy FCS tagger calculates the CRC over skb->len bytes starting at skb->data. When a nonlinear skb reaches the tagger, this reads past the linear head into unrelated slab memory.

The tagger appends an Ethernet FCS but does not declare that tailroom. As a result, DSA leaves NETIF_F_SG and NETIF_F_FRAGLIST enabled on the user port, and nonlinear skbs can reach the CRC calculation.

Declare the required tailroom. DSA will then clear those features and the networking core will linearize skbs before the tagger runs.

A KASAN-enabled dsa_loop test using this tagger reports:

  BUG: KASAN: slab-out-of-bounds in crc32_le
  Read of size 1 at addr ffff8880397086c0 by task exp/135

  Call Trace:
   crc32_le (lib/crc/crc32-main.c:38)
   brcm_leg_fcs_tag_xmit (net/dsa/tag_brcm.c:343)
   dsa_user_xmit (net/dsa/user.c:942)
   dev_hard_start_xmit (net/core/dev.c:3937)
   __dev_queue_xmit (net/core/dev.c:4926)
   packet_sendmsg (net/packet/af_packet.c:3110)
   __sys_sendto (net/socket.c:2281)

  The buggy address belongs to the object at ffff888039708400
   which belongs to the cache skbuff_small_head of size 704
  The buggy address is located 0 bytes to the right of
   allocated 704-byte region [ffff888039708400, ffff8880397086c0)

The Linux kernel CVE team has assigned CVE-2026-97614 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit ef07df397a621707903ef0d294a7df11f80cf206 and fixed in 6.18.53 with commit 709451db123d90743fa9104b48f324a8e49f8c6f
	Issue introduced in 6.17 with commit ef07df397a621707903ef0d294a7df11f80cf206 and fixed in 7.2.7 with commit 3eb5c7e1c154c74568620a25c6751bb8d6d8d728
	Issue introduced in 6.17 with commit ef07df397a621707903ef0d294a7df11f80cf206 and fixed in 7.3-rc3 with commit 5be081b83abd3f17d908953b4bb77279f5a149e3

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-97614

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/dsa/tag_brcm.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/709451db123d90743fa9104b48f324a8e49f8c6f
	https://git.kernel.org/stable/c/3eb5c7e1c154c74568620a25c6751bb8d6d8d728
	https://git.kernel.org/stable/c/5be081b83abd3f17d908953b4bb77279f5a149e3