{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39703","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.115Z","datePublished":"2025-09-05T17:21:09.768Z","dateUpdated":"2026-08-05T12:04:42.024Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:04:42.024Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet, hsr: reject HSR frame if skb can't hold tag\n\nReceiving HSR frame with insufficient space to hold HSR tag in the skb\ncan result in a crash (kernel BUG):\n\n[   45.390915] skbuff: skb_under_panic: text:ffffffff86f32cac len:26 put:14 head:ffff888042418000 data:ffff888042417ff4 tail:0xe end:0x180 dev:bridge_slave_1\n[   45.392559] ------------[ cut here ]------------\n[   45.392912] kernel BUG at net/core/skbuff.c:211!\n[   45.393276] Oops: invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI\n[   45.393809] CPU: 1 UID: 0 PID: 2496 Comm: reproducer Not tainted 6.15.0 #12 PREEMPT(undef)\n[   45.394433] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014\n[   45.395273] RIP: 0010:skb_panic+0x15b/0x1d0\n\n<snip registers, remove unreliable trace>\n\n[   45.402911] Call Trace:\n[   45.403105]  <IRQ>\n[   45.404470]  skb_push+0xcd/0xf0\n[   45.404726]  br_dev_queue_push_xmit+0x7c/0x6c0\n[   45.406513]  br_forward_finish+0x128/0x260\n[   45.408483]  __br_forward+0x42d/0x590\n[   45.409464]  maybe_deliver+0x2eb/0x420\n[   45.409763]  br_flood+0x174/0x4a0\n[   45.410030]  br_handle_frame_finish+0xc7c/0x1bc0\n[   45.411618]  br_handle_frame+0xac3/0x1230\n[   45.413674]  __netif_receive_skb_core.constprop.0+0x808/0x3df0\n[   45.422966]  __netif_receive_skb_one_core+0xb4/0x1f0\n[   45.424478]  __netif_receive_skb+0x22/0x170\n[   45.424806]  process_backlog+0x242/0x6d0\n[   45.425116]  __napi_poll+0xbb/0x630\n[   45.425394]  net_rx_action+0x4d1/0xcc0\n[   45.427613]  handle_softirqs+0x1a4/0x580\n[   45.427926]  do_softirq+0x74/0x90\n[   45.428196]  </IRQ>\n\nThis issue was found by syzkaller.\n\nThe panic happens in br_dev_queue_push_xmit() once it receives a\ncorrupted skb with ETH header already pushed in linear data. When it\nattempts the skb_push() call, there's not enough headroom and\nskb_push() panics.\n\nThe corrupted skb is put on the queue by HSR layer, which makes a\nsequence of unintended transformations when it receives a specific\ncorrupted HSR frame (with incomplete TAG).\n\nFix it by dropping and consuming frames that are not long enough to\ncontain both ethernet and hsr headers.\n\nAlternative fix would be to check for enough headroom before skb_push()\nin br_dev_queue_push_xmit().\n\nIn the reproducer, this is injected via AF_PACKET, but I don't easily\nsee why it couldn't be sent over the wire from adjacent network.\n\nFurther Details:\n\nIn the reproducer, the following network interface chain is set up:\n\n┌────────────────┐   ┌────────────────┐\n│ veth0_to_hsr   ├───┤  hsr_slave0    ┼───┐\n└────────────────┘   └────────────────┘   │\n                                          │ ┌──────┐\n                                          ├─┤ hsr0 ├───┐\n                                          │ └──────┘   │\n┌────────────────┐   ┌────────────────┐   │            │┌────────┐\n│ veth1_to_hsr   ┼───┤  hsr_slave1    ├───┘            └┤        │\n└────────────────┘   └────────────────┘                ┌┼ bridge │\n                                                       ││        │\n                                                       │└────────┘\n                                                       │\n                                        ┌───────┐      │\n                                        │  ...  ├──────┘\n                                        └───────┘\n\nTo trigger the events leading up to crash, reproducer sends a corrupted\nHSR fr\n---truncated---"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - The bug is triggered purely by a received HSR/PRP-tagged frame processed by the HSR rx_handler in net/hsr/, with no local access required. HSR slaves are commonly veth/tap/bridge/tunnel-backed in virtualized and industrial-gateway deployments, where an undersized inner Ethernet frame delivered through a routed L2-over-IP tunnel (VXLAN/GRE) reaches the handler from an arbitrary remote host.\nAC:L - The attacker only needs to send a single HSR/PRP frame shorter than ETH_HLEN + HSR_HLEN (20 bytes); the missing length check is hit deterministically on every such frame with no timing, race, or memory-layout precondition.\nPR:N - There is no authentication, capability check, or credential validation anywhere on the path from netif_receive_skb() through hsr_handle_frame() to hsr_forward_skb(); any unauthenticated sender of a frame on the HSR-enslaved link is sufficient.\nUI:N - Frame processing happens automatically in the NAPI/softirq receive path as soon as the frame arrives; no victim action is required.\nS:U - The corruption and its effects stay within the kernel network stack of the same host, with no crossing of a VM, IOMMU, or sandbox security authority.\nC:H - The corrupted mac_len/network_header cause out-of-bounds reads past skb->tail in hsr_get_skb_sequence_nr() and create_stripped_skb_hsr(), and when headroom suffices br_dev_queue_push_xmit()'s skb_push(ETH_HLEN) turns 14 bytes of uninitialized kernel heap into the Ethernet header of a frame that is then transmitted, disclosing kernel memory to the network.\nI:H - Attacker-controlled skb geometry corruption (network_header, mac_len, and len inconsistent with the linear buffer) propagates into the bridge/forwarding path where skb_push moves skb->data outside the intended data region, corrupting packet contents and providing the memory-corruption primitive that is only accidentally caught by the skb_under_panic BUG().\nA:H - The documented syzbot outcome is skb_under_panic() hitting BUG() at net/core/skbuff.c:211 from softirq/IRQ context, which is a fatal kernel panic, and it can be re-triggered at will with a single crafted frame."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/hsr/hsr_slave.c"],"versions":[{"version":"f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7","lessThan":"8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d","status":"affected","versionType":"git"},{"version":"48b491a5cc74333c4a6a82fe21cea42c055a3b0b","lessThan":"3ae272ab523dd6bdc26e879027ed79feac9dd1b3","status":"affected","versionType":"git"},{"version":"48b491a5cc74333c4a6a82fe21cea42c055a3b0b","lessThan":"b640188b8a6690e685939053c7efdbc7818b5f4e","status":"affected","versionType":"git"},{"version":"48b491a5cc74333c4a6a82fe21cea42c055a3b0b","lessThan":"b117c41b00902c1a7e24347c405cb82504aeae0b","status":"affected","versionType":"git"},{"version":"48b491a5cc74333c4a6a82fe21cea42c055a3b0b","lessThan":"acd69b597bd3f76d3b3d322b84082226c00eeaa4","status":"affected","versionType":"git"},{"version":"48b491a5cc74333c4a6a82fe21cea42c055a3b0b","lessThan":"61009439e4bd8d74e705ee15940760321be91d8a","status":"affected","versionType":"git"},{"version":"48b491a5cc74333c4a6a82fe21cea42c055a3b0b","lessThan":"7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7","status":"affected","versionType":"git"},{"version":"4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436","status":"affected","versionType":"git"},{"version":"5.10.42","lessThan":"5.10.241","status":"affected","versionType":"semver"},{"version":"5.12.9","lessThan":"5.13","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/hsr/hsr_slave.c"],"versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.10.241","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.149","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.44","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.4","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.42","versionEndExcluding":"5.10.241"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.190"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.149"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.12.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.16.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.17"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/8d9bc4a375a1ba05f7dfa0407de8e510ab9bd14d"},{"url":"https://git.kernel.org/stable/c/3ae272ab523dd6bdc26e879027ed79feac9dd1b3"},{"url":"https://git.kernel.org/stable/c/b640188b8a6690e685939053c7efdbc7818b5f4e"},{"url":"https://git.kernel.org/stable/c/b117c41b00902c1a7e24347c405cb82504aeae0b"},{"url":"https://git.kernel.org/stable/c/acd69b597bd3f76d3b3d322b84082226c00eeaa4"},{"url":"https://git.kernel.org/stable/c/61009439e4bd8d74e705ee15940760321be91d8a"},{"url":"https://git.kernel.org/stable/c/7af76e9d18a9fd6f8611b3313c86c190f9b6a5a7"}],"title":"net, hsr: reject HSR frame if skb can't hold tag","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T17:42:32.610Z"}},{"x_adpType":"supplier","providerMetadata":{"orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP","dateUpdated":"2026-05-12T12:06:25.657Z"},"affected":[{"vendor":"Siemens","product":"SIMATIC CN 4100","versions":[{"status":"affected","version":"0","lessThan":"V5.0","versionType":"custom"}],"defaultStatus":"unknown"}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"}]}]}}