# CVE-2025-39703: net, hsr: reject HSR frame if skb can't hold tag

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.79% (percentile 53, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-05T17:21:09.768Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, \< 8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 3ae272ab523dd6bdc26e879027ed79feac9dd1b3; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< b640188b8a6690e685939053c7efdbc7818b5f4e; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< b117c41b00902c1a7e24347c405cb82504aeae0b; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< acd69b597bd3f76d3b3d322b84082226c00eeaa4; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 61009439e4bd8d74e705ee15940760321be91d8a; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; \>= 5.10.42, \< 5.10.241; \>= 5.12.9, \< 5.13
- Anyone running Linux 5.13

## Description

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

net, hsr: reject HSR frame if skb can't hold tag

Receiving HSR frame with insufficient space to hold HSR tag in the skb
can result in a crash (kernel BUG):

\[   45.390915\] skbuff: skb\_under\_panic: text:ffffffff86f32cac len:26 put:14 head:ffff888042418000 data:ffff888042417ff4 tail:0xe end:0x180 dev:bridge\_slave\_1
\[   45.392559\] ------------\[ cut here \]------------
\[   45.392912\] kernel BUG at net/core/skbuff.c:211!
\[   45.393276\] Oops: invalid opcode: 0000 \[\#1\] SMP DEBUG\_PAGEALLOC KASAN NOPTI
\[   45.393809\] CPU: 1 UID: 0 PID: 2496 Comm: reproducer Not tainted 6.15.0 \#12 PREEMPT(undef)
\[   45.394433\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
\[   45.395273\] RIP: 0010:skb\_panic+0x15b/0x1d0

\<snip registers, remove unreliable trace\>

\[   45.402911\] Call Trace:
\[   45.403105\]  \<IRQ\>
\[   45.404470\]  skb\_push+0xcd/0xf0
\[   45.404726\]  br\_dev\_queue\_push\_xmit+0x7c/0x6c0
\[   45.406513\]  br\_forward\_finish+0x128/0x260
\[   45.408483\]  \_\_br\_forward+0x42d/0x590
\[   45.409464\]  maybe\_deliver+0x2eb/0x420
\[   45.409763\]  br\_flood+0x174/0x4a0
\[   45.410030\]  br\_handle\_frame\_finish+0xc7c/0x1bc0
\[   45.411618\]  br\_handle\_frame+0xac3/0x1230
\[   45.413674\]  \_\_netif\_receive\_skb\_core.constprop.0+0x808/0x3df0
\[   45.422966\]  \_\_netif\_receive\_skb\_one\_core+0xb4/0x1f0
\[   45.424478\]  \_\_netif\_receive\_skb+0x22/0x170
\[   45.424806\]  process\_backlog+0x242/0x6d0
\[   45.425116\]  \_\_napi\_poll+0xbb/0x630
\[   45.425394\]  net\_rx\_action+0x4d1/0xcc0
\[   45.427613\]  handle\_softirqs+0x1a4/0x580
\[   45.427926\]  do\_softirq+0x74/0x90
\[   45.428196\]  \</IRQ\>

This issue was found by syzkaller.

The panic happens in br\_dev\_queue\_push\_xmit() once it receives a
corrupted skb with ETH header already pushed in linear data. When it
attempts the skb\_push() call, there's not enough headroom and
skb\_push() panics.

The corrupted skb is put on the queue by HSR layer, which makes a
sequence of unintended transformations when it receives a specific
corrupted HSR frame (with incomplete TAG).

Fix it by dropping and consuming frames that are not long enough to
contain both ethernet and hsr headers.

Alternative fix would be to check for enough headroom before skb\_push()
in br\_dev\_queue\_push\_xmit().

In the reproducer, this is injected via AF\_PACKET, but I don't easily
see why it couldn't be sent over the wire from adjacent network.

Further Details:

In the reproducer, the following network interface chain is set up:

┌────────────────┐   ┌────────────────┐
│ veth0\_to\_hsr   ├───┤  hsr\_slave0    ┼───┐
└────────────────┘   └────────────────┘   │
                                          │ ┌──────┐
                                          ├─┤ hsr0 ├───┐
                                          │ └──────┘   │
┌────────────────┐   ┌────────────────┐   │            │┌────────┐
│ veth1\_to\_hsr   ┼───┤  hsr\_slave1    ├───┘            └┤        │
└────────────────┘   └────────────────┘                ┌┼ bridge │
                                                       ││        │
                                                       │└────────┘
                                                       │
                                        ┌───────┐      │
                                        │  ...  ├──────┘
                                        └───────┘

To trigger the events leading up to crash, reproducer sends a corrupted
HSR fr
---truncated---

## Affected and fixed versions

- Linux: \>= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, \< 8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 3ae272ab523dd6bdc26e879027ed79feac9dd1b3; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< b640188b8a6690e685939053c7efdbc7818b5f4e; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< b117c41b00902c1a7e24347c405cb82504aeae0b; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< acd69b597bd3f76d3b3d322b84082226c00eeaa4; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 61009439e4bd8d74e705ee15940760321be91d8a; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; \>= 5.10.42, \< 5.10.241; \>= 5.12.9, \< 5.13 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 5.13 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39703. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39703.md
Affected: Linux >= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, < 8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 3ae272ab523dd6bdc26e879027ed79feac9dd1b3; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < b640188b8a6690e685939053c7efdbc7818b5f4e; >= 48b491a5cc74333c4a6a82f…
Fixed in: Linux 8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d, Linux 3ae272ab523dd6bdc26e879027ed79feac9dd1b3, Linux 61009439e4bd8d74e705ee15940760321be91d8a, Linux 7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7, Linux 5.10.241, Linux 5.13

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39703 being exploited?

There is no confirmed exploitation: CVE-2025-39703 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39703?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-39703?

Linux \>= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, \< 8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 3ae272ab523dd6bdc26e879027ed79feac9dd1b3; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< b640188b8a6690e685939053c7efdbc7818b5f4e; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< b117c41b00902c1a7e24347c405cb82504aeae0b; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< acd69b597bd3f76d3b3d322b84082226c00eeaa4; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 61009439e4bd8d74e705ee15940760321be91d8a; \>= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, \< 7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; \>= 5.10.42, \< 5.10.241; \>= 5.12.9, \< 5.13; Linux 5.13.

### Is there a fix for CVE-2025-39703?

Yes. Fixed in Linux 8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d, Linux 3ae272ab523dd6bdc26e879027ed79feac9dd1b3, Linux 61009439e4bd8d74e705ee15940760321be91d8a, Linux 7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7, Linux 5.10.241, Linux 5.13. Upgrade Linux to 5.13 or later.

### How do I check if I'm affected by CVE-2025-39703?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d>
- patch: <https://git.kernel.org/stable/c/3ae272ab523dd6bdc26e879027ed79feac9dd1b3>
- patch: <https://git.kernel.org/stable/c/b640188b8a6690e685939053c7efdbc7818b5f4e>
- patch: <https://git.kernel.org/stable/c/b117c41b00902c1a7e24347c405cb82504aeae0b>
- patch: <https://git.kernel.org/stable/c/acd69b597bd3f76d3b3d322b84082226c00eeaa4>
- patch: <https://git.kernel.org/stable/c/61009439e4bd8d74e705ee15940760321be91d8a>
- patch: <https://git.kernel.org/stable/c/7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39703>

HTML: <https://flawdb.com/CVE-2025-39703> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39703>
