CVE-2024-33621
Description
In the Linux kernel, the following vulnerability has been resolved:
ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound
Raw packet from PF_PACKET socket ontop of an IPv6-backed ipvlan device will hit WARN_ON_ONCE() in sk_mc_loop() through sch_direct_xmit() path.
WARNING: CPU: 2 PID: 0 at net/core/sock.c:775 sk_mc_loop+0x2d/0x70 Modules linked in: sch_netem ipvlan rfkill cirrus drm_shmem_helper sg drm_kms_helper CPU: 2 PID: 0 Comm: swapper/2 Kdump: loaded Not tainted 6.9.0+ #279 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 RIP: 0010:sk_mc_loop+0x2d/0x70 Code: fa 0f 1f 44 00 00 65 0f b7 15 f7 96 a3 4f 31 c0 66 85 d2 75 26 48 85 ff 74 1c RSP: 0018:ffffa9584015cd78 EFLAGS: 00010212 RAX: 0000000000000011 RBX: ffff91e585793e00 RCX: 0000000002c6a001 RDX: 0000000000000000 RSI: 0000000000000040 RDI: ffff91e589c0f000 RBP: ffff91e5855bd100 R08: 0000000000000000 R09: 3d00545216f43d00 R10: ffff91e584fdcc50 R11: 00000060dd8616f4 R12: ffff91e58132d000 R13: ffff91e584fdcc68 R14: ffff91e5869ce800 R15: ffff91e589c0f000 FS: 0000000000000000(0000) GS:ffff91e898100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f788f7c44c0 CR3: 0000000008e1a000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace:
? __warn (kernel/panic.c:693) ? sk_mc_loop (net/core/sock.c:760) ? report_bug (lib/bug.c:201 lib/bug.c:219) ? handle_bug (arch/x86/kernel/traps.c:239) ? exc_invalid_op (arch/x86/kernel/traps.c:260 (discriminator 1)) ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:621) ? sk_mc_loop (net/core/sock.c:760) ip6_finish_output2 (net/ipv6/ip6_output.c:83 (discriminator 1)) ? nf_hook_slow (net/netfilter/core.c:626) ip6_finish_output (net/ipv6/ip6_output.c:222) ? __pfx_ip6_finish_output (net/ipv6/ip6_output.c:215) ipvlan_xmit_mode_l3 (drivers/net/ipvlan/ipvlan_core.c:602) ipvlan ipvlan_start_xmit (drivers/net/ipvlan/ipvlan_main.c:226) ipvlan dev_hard_start_xmit (net/core/dev.c:3594) sch_direct_xmit (net/sched/sch_generic.c:343) __qdisc_run (net/sched/sch_generic.c:416) net_tx_action (net/core/dev.c:5286) handle_softirqs (kernel/softirq.c:555) __irq_exit_rcu (kernel/softirq.c:589) sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043)
The warning triggers as this: packet_sendmsg packet_snd //skb->sk is packet sk __dev_queue_xmit __dev_xmit_skb //q->enqueue is not NULL __qdisc_run sch_direct_xmit dev_hard_start_xmit ipvlan_start_xmit ipvlan_xmit_mode_l3 //l3 mode ipvlan_process_outbound //vepa flag ipvlan_process_v6_outbound ip6_local_out __ip6_finish_output ip6_finish_output2 //multicast packet sk_mc_loop //sk->sk_family is AF_PACKET
Call ip{6}_local_out() with NULL sk in ipvlan as other tunnels to fix this.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
In the Linux kernel, ipvlan devices can trigger a kernel WARN_ON when sending raw PF_PACKET sockets over IPv6 due to improper use of skb->sk.
Vulnerability
Description
CVE-2024-33621 is a denial-of-service vulnerability in the Linux kernel's ipvlan driver. The issue occurs when raw packets from a PF_PACKET socket are transmitted over an IPv6-backed ipvlan device. The kernel function ipvlan_process_v4_outbound and ipvlan_process_v6_outbound wrongly use the skb->sk field, which can be NULL or invalid for packets originating from PF_PACKET sockets. This leads to a WARN_ON in sk_mc_loop() when the packet traverses the sch_direct_xmit path, as seen in the official description's kernel trace [description].
Exploitation
Requirements
An attacker must have the ability to send raw packets from a PF_PACKET socket on an IPv6-configured ipvlan device. This typically requires local access to the system (CAP_NET_RAW capability in a container or on a host). No special network position is needed beyond being able to create a PF_PACKET socket. The vulnerability is triggered entirely within the network stack processing, so it does not require advanced authentication beyond what is needed to open a raw socket.
Impact
When triggered, the kernel emits a WARN_ON and stack trace (as shown in the description), which may cause a system crash or instability on some configurations (e.g., if panic_on_warn is set). The impact is a denial of service for the local system. Siemens has reported that this CVE affects the GNU/Linux subsystem of SIMATIC S7-1500 TM MFP devices, labeling it as a medium-severity issue (CVSS v3 base score 5.5) [1].
Mitigation
The fix was applied in the Linux kernel commit b3dc6e8003b500861fa307e9a3400c52e78e4d3a [4]. Users should update their kernel to a version containing this patch. The vulnerability is also listed in Siemens advisory SSA-265688 [1], which recommends applying the vendor-provided updates for affected products.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
63- osv-coords62 versionspkg:rpm/almalinux/bpftoolpkg:rpm/almalinux/kernelpkg:rpm/almalinux/kernel-64kpkg:rpm/almalinux/kernel-64k-corepkg:rpm/almalinux/kernel-64k-debugpkg:rpm/almalinux/kernel-64k-debug-corepkg:rpm/almalinux/kernel-64k-debug-develpkg:rpm/almalinux/kernel-64k-debug-devel-matchedpkg:rpm/almalinux/kernel-64k-debug-modulespkg:rpm/almalinux/kernel-64k-debug-modules-corepkg:rpm/almalinux/kernel-64k-debug-modules-extrapkg:rpm/almalinux/kernel-64k-develpkg:rpm/almalinux/kernel-64k-devel-matchedpkg:rpm/almalinux/kernel-64k-modulespkg:rpm/almalinux/kernel-64k-modules-corepkg:rpm/almalinux/kernel-64k-modules-extrapkg:rpm/almalinux/kernel-abi-stablelistspkg:rpm/almalinux/kernel-corepkg:rpm/almalinux/kernel-cross-headerspkg:rpm/almalinux/kernel-debugpkg:rpm/almalinux/kernel-debug-corepkg:rpm/almalinux/kernel-debug-develpkg:rpm/almalinux/kernel-debug-devel-matchedpkg:rpm/almalinux/kernel-debug-modulespkg:rpm/almalinux/kernel-debug-modules-corepkg:rpm/almalinux/kernel-debug-modules-extrapkg:rpm/almalinux/kernel-debug-uki-virtpkg:rpm/almalinux/kernel-develpkg:rpm/almalinux/kernel-devel-matchedpkg:rpm/almalinux/kernel-docpkg:rpm/almalinux/kernel-headerspkg:rpm/almalinux/kernel-modulespkg:rpm/almalinux/kernel-modules-corepkg:rpm/almalinux/kernel-modules-extrapkg:rpm/almalinux/kernel-rtpkg:rpm/almalinux/kernel-rt-corepkg:rpm/almalinux/kernel-rt-debugpkg:rpm/almalinux/kernel-rt-debug-corepkg:rpm/almalinux/kernel-rt-debug-develpkg:rpm/almalinux/kernel-rt-debug-modulespkg:rpm/almalinux/kernel-rt-debug-modules-corepkg:rpm/almalinux/kernel-rt-debug-modules-extrapkg:rpm/almalinux/kernel-rt-develpkg:rpm/almalinux/kernel-rt-modulespkg:rpm/almalinux/kernel-rt-modules-corepkg:rpm/almalinux/kernel-rt-modules-extrapkg:rpm/almalinux/kernel-toolspkg:rpm/almalinux/kernel-tools-libspkg:rpm/almalinux/kernel-tools-libs-develpkg:rpm/almalinux/kernel-uki-virtpkg:rpm/almalinux/kernel-zfcpdumppkg:rpm/almalinux/kernel-zfcpdump-corepkg:rpm/almalinux/kernel-zfcpdump-develpkg:rpm/almalinux/kernel-zfcpdump-devel-matchedpkg:rpm/almalinux/kernel-zfcpdump-modulespkg:rpm/almalinux/kernel-zfcpdump-modules-corepkg:rpm/almalinux/kernel-zfcpdump-modules-extrapkg:rpm/almalinux/libperfpkg:rpm/almalinux/perfpkg:rpm/almalinux/python3-perfpkg:rpm/almalinux/rtlapkg:rpm/almalinux/rv
< 4.18.0-553.16.1.el8_10+ 61 more
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 4.18.0-553.16.1.el8_10
- (no CPE)range: < 5.14.0-427.31.1.el9_4
- (no CPE)range: < 5.14.0-427.31.1.el9_4
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
12- git.kernel.org/stable/c/0049a623dfbbb49888de7f0c2f33a582b5ead989nvdPatch
- git.kernel.org/stable/c/13c4543db34e0da5a7d2f550b6262d860f248381nvdPatch
- git.kernel.org/stable/c/183c4b416454b9983dc1b8aa0022b748911adc48nvdPatch
- git.kernel.org/stable/c/1abbf079da59ef559d0ab4219d2a0302f7970761nvdPatch
- git.kernel.org/stable/c/54213c09801e0bd2549ac42961093be36f65a7d0nvdPatch
- git.kernel.org/stable/c/54768bacfde60e8e4757968d79f8726711dd2cf5nvdPatch
- git.kernel.org/stable/c/b3dc6e8003b500861fa307e9a3400c52e78e4d3anvdPatch
- git.kernel.org/stable/c/cb53706a3403ba67f4040b2a82d9cf79e11b1a48nvdPatch
- cert-portal.siemens.com/productcert/html/ssa-265688.htmlnvd
- cert-portal.siemens.com/productcert/html/ssa-398330.htmlnvd
- cert-portal.siemens.com/productcert/html/ssa-613116.htmlnvd
- lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlnvd
News mentions
0No linked articles in our index yet.