Skip to contentSkip to conversation

CVE-2026-68120: rtase: Workaround for TX hang caused by hardware packet parsing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 10

lore
Share & tools
lore
#0 lore raw

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

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

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

rtase: Workaround for TX hang caused by hardware packet parsing

The hardware performs packet parsing before packet transmission. Parsing incomplete IPv4, IPv6, TCP, or UDP headers may trigger a TX hang because the hardware parser expects additional protocol header data that is not present in the packet.

The hardware performs additional PTP parsing on UDP packets identified by destination ports 319/320 at the expected UDP destination port offset.

If such a packet has transport data smaller than RTASE_MIN_PAD_LEN, the hardware parser expects additional packet data and may trigger a TX hang.

To avoid these hardware issues, the driver applies the following workarounds.

Drop malformed packets that may trigger this hardware issue before transmission.

For IPv4 non-initial fragments, the hardware does not check the fragment offset before parsing the expected transport header location. As a result, these packets are still subject to transport header parsing even though they do not contain a transport header. If the transport data is shorter than the minimum transport header required by the hardware parser, pad the transport data to the minimum transport header length required by the hardware parser. Packets that also match the hardware PTP parsing conditions continue to follow the corresponding workaround.

For IPv6 fragmented packets, neither of the above hardware issues occurs because the hardware only continues packet parsing when the IPv6 Base Header Next Header field directly indicates UDP. Packets carrying a Fragment Header do not continue through the subsequent packet parsing stages.

For packets identified for hardware PTP parsing, pad the transport data so it reaches RTASE_MIN_PAD_LEN before transmission.

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

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

	Issue introduced in 6.12 with commit d6e882b89fdf80be0ab4f914ec10f75215e49495 and fixed in 6.12.101 with commit fe3a7320711eec6537e4890892f7ab9776d8618f
	Issue introduced in 6.12 with commit d6e882b89fdf80be0ab4f914ec10f75215e49495 and fixed in 6.18.42 with commit 4a4f3aa6af205bee539b5670afa2cd4e4953750e
	Issue introduced in 6.12 with commit d6e882b89fdf80be0ab4f914ec10f75215e49495 and fixed in 7.1.6 with commit 0f54f5048615e4e2802697855ea6374613548301
	Issue introduced in 6.12 with commit d6e882b89fdf80be0ab4f914ec10f75215e49495 and fixed in 7.2-rc5 with commit 1c50efa1faf3a1a96e100b07ec7a2f3164d90bee

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-68120

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:
drivers/net/ethernet/realtek/rtase/rtase.h drivers/net/ethernet/realtek/rtase/rtase_main.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/fe3a7320711eec6537e4890892f7ab9776d8618f
	https://git.kernel.org/stable/c/4a4f3aa6af205bee539b5670afa2cd4e4953750e
	https://git.kernel.org/stable/c/0f54f5048615e4e2802697855ea6374613548301
	https://git.kernel.org/stable/c/1c50efa1faf3a1a96e100b07ec7a2f3164d90bee