CVE-2021-47136
published high CVSS 3.1 · 8.6net: zero-initialize tc skb extension on allocation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux038ebb1a713d114d54dbf14868a73181c0c92758 to < ac493452e937b8939eaf2d24cac51a4804b6c20e · 038ebb1a713d114d54dbf14868a73181c0c92758 to < 86ab133b695ed7ba1f8786b12f4ca43137ad8c18 · 038ebb1a713d114d54dbf14868a73181c0c92758 to < 9453d45ecb6c2199d72e73c993e9d98677a2801b · 7154bda4cfc1f41b339121475d2b0234141f3492 · 5.7.15 to < 5.8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.10.42 through 5.10.* (unaffected · semver) · 5.12.9 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
Show 69 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kbaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kb-develaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseppc64le | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-bases390x | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-basex86_64 | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-devels390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-develnoarch | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-docsnoarch | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_158-defaultppc64le | Advisory build | 1-150300.7.3.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_158-defaults390x | Advisory build | 1-150300.7.3.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_158-defaultx86_64 | Advisory build | 1-150300.7.3.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-macrosnoarch | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-builds390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preempt-develaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preempt-develx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-sourcenoarch | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symss390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-symsx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-zfcpdumps390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-15-SP3 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.3.18-150300.59.158.1 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-bases390x | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.3.18-150300.59.158.1.150300.18.92.5 | SUSE-SU-2024:1489-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.3.18-150300.166.1 | SUSE-SU-2024:1465-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.3.18-150300.166.1 | SUSE-SU-2024:1465-1 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Description
In the Linux kernel, the following vulnerability has been resolved: net: zero-initialize tc skb extension on allocation Function skb_ext_add() doesn't initialize created skb extension with any value and leaves it up to the user. However, since extension of type TC_SKB_EXT originally contained only single value tc_skb_ext->chain its users used to just assign the chain value without setting whole extension memory to zero first. This assumption changed when TC_SKB_EXT extension was extended with additional fields but not all users were updated to initialize the new fields which leads to use of uninitialized memory afterwards. UBSAN log: [ 778.299821] UBSAN: invalid-load in net/openvswitch/flow.c:899:28 [ 778.301495] load of value 107 is not a valid value for type '_Bool' [ 778.303215] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.12.0-rc7+ #2 [ 778.304933] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 [ 778.307901] Call Trace: [ 778.308680] <IRQ> [ 778.309358] dump_stack+0xbb/0x107 [ 778.310307] ubsan_epilogue+0x5/0x40 [ 778.311167] __ubsan_handle_load_invalid_value.cold+0x43/0x48 [ 778.312454] ? memset+0x20/0x40 [ 778.313230] ovs_flow_key_extract.cold+0xf/0x14 [openvswitch] [ 778.314532] ovs_vport_receive+0x19e/0x2e0 [openvswitch] [ 778.315749] ? ovs_vport_find_upcall_portid+0x330/0x330 [openvswitch] [ 778.317188] ? create_prof_cpu_mask+0x20/0x20 [ 778.318220] ? arch_stack_walk+0x82/0xf0 [ 778.319153] ? secondary_startup_64_no_verify+0xb0/0xbb [ 778.320399] ? stack_trace_save+0x91/0xc0 [ 778.321362] ? stack_trace_consume_entry+0x160/0x160 [ 778.322517] ? lock_release+0x52e/0x760 [ 778.323444] netdev_frame_hook+0x323/0x610 [openvswitch] [ 778.324668] ? ovs_netdev_get_vport+0xe0/0xe0 [openvswitch] [ 778.325950] __netif_receive_skb_core+0x771/0x2db0 [ 778.327067] ? lock_downgrade+0x6e0/0x6f0 [ 778.328021] ? lock_acquire+0x565/0x720 [ 778.328940] ? generic_xdp_tx+0x4f0/0x4f0 [ 778.329902] ? inet_gro_receive+0x2a7/0x10a0 [ 778.330914] ? lock_downgrade+0x6f0/0x6f0 [ 778.331867] ? udp4_gro_receive+0x4c4/0x13e0 [ 778.332876] ? lock_release+0x52e/0x760 [ 778.333808] ? dev_gro_receive+0xcc8/0x2380 [ 778.334810] ? lock_downgrade+0x6f0/0x6f0 [ 778.335769] __netif_receive_skb_list_core+0x295/0x820 [ 778.336955] ? process_backlog+0x780/0x780 [ 778.337941] ? mlx5e_rep_tc_netdevice_event_unregister+0x20/0x20 [mlx5_core] [ 778.339613] ? seqcount_lockdep_reader_access.constprop.0+0xa7/0xc0 [ 778.341033] ? kvm_clock_get_cycles+0x14/0x20 [ 778.342072] netif_receive_skb_list_internal+0x5f5/0xcb0 [ 778.343288] ? __kasan_kmalloc+0x7a/0x90 [ 778.344234] ? mlx5e_handle_rx_cqe_mpwrq+0x9e0/0x9e0 [mlx5_core] [ 778.345676] ? mlx5e_xmit_xdp_frame_mpwqe+0x14d0/0x14d0 [mlx5_core] [ 778.347140] ? __netif_receive_skb_list_core+0x820/0x820 [ 778.348351] ? mlx5e_post_rx_mpwqes+0xa6/0x25d0 [mlx5_core] [ 778.349688] ? napi_gro_flush+0x26c/0x3c0 [ 778.350641] napi_complete_done+0x188/0x6b0 [ 778.351627] mlx5e_napi_poll+0x373/0x1b80 [mlx5_core] [ 778.352853] __napi_poll+0x9f/0x510 [ 778.353704] ? mlx5_flow_namespace_set_mode+0x260/0x260 [mlx5_core] [ 778.355158] net_rx_action+0x34c/0xa40 [ 778.356060] ? napi_threaded_poll+0x3d0/0x3d0 [ 778.357083] ? sched_clock_cpu+0x18/0x190 [ 778.358041] ? __common_interrupt+0x8e/0x1a0 [ 778.359045] __do_softirq+0x1ce/0x984 [ 778.359938] __irq_exit_rcu+0x137/0x1d0 [ 778.360865] irq_exit_rcu+0xa/0x20 [ 778.361708] common_interrupt+0x80/0xa0 [ 778.362640] </IRQ> [ 778.363212] asm_common_interrupt+0x1e/0x40 [ 778.364204] RIP: 0010:native_safe_halt+0xe/0x10 [ 778.365273] Code: 4f ff ff ff 4c 89 e7 e8 50 3f 40 fe e9 dc fe ff ff 48 89 df e8 43 3f 40 fe eb 90 cc e9 07 00 00 00 0f 00 2d 74 05 62 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 64 05 62 00 f4 c3 cc cc 0f 1f 44 00 [ 778.369355] RSP: 0018:ffffffff84407e48 EFLAGS: 00000246 [ 778.370570] RAX ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Scenarios
- en: AV:N - The vulnerable mlx5 paths (mlx5e_tc_update_skb / mlx5e_restore_skb) run on the NIC receive softirq path and attach an uninitialized TC_SKB_EXT when hardware reports a TC chain restore; a remote attacker triggers this by sending packets that miss hardware offload into OVS/TC. AC:L - Once the victim runs the intended OVS+mlx5 TC offload deployment, the attacker reliably hits the bug by sending traffic that takes a hardware chain-miss/restore path; no race or attacker-uncontrollable timing is required. PR:N - Packet processing on ingress requires no authentication or local privileges; configuring TC/OVS is victim environment setup, not attacker privilege. UI:N - No victim user action is needed; received packets alone exercise the restore path and subsequent OVS reads of the uninitialized fields. S:U - Impact stays within the host kernel networking/OVS datapath authority; there is no VM escape, IOMMU bypass, or other cross-boundary breakout. C:L - Uninitialized slab leftovers for mru (u16) and post_ct (bool) are consumed into OVS flow metadata and can surface via OVS upcalls (e.g. OVS_PACKET_ATTR_MRU); this is a small bounded heap disclosure, not an arbitrary read. I:L - Garbage post_ct/mru corrupt conntrack state and MRU used for OVS classification/forwarding/fragmentation decisions, enabling limited mis-handling of packets, but not an arbitrary kernel write or control-flow hijack primitive. A:H - A non-zero leftover mru greater than the output MTU causes OVS to drop packets on the miss path, so repeated remote traffic can sustain denial of forwarding for affected datapath flows; under the overestimate rule this is treated as high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 038ebb1a713d114d54dbf14868a73181c0c92758 to < ac493452e937b8939eaf2d24cac51a4804b6c20e (affected · git)038ebb1a713d114d54dbf14868a73181c0c92758 to < 86ab133b695ed7ba1f8786b12f4ca43137ad8c18 (affected · git)038ebb1a713d114d54dbf14868a73181c0c92758 to < 9453d45ecb6c2199d72e73c993e9d98677a2801b (affected · git)7154bda4cfc1f41b339121475d2b0234141f3492 (affected · git)5.7.15 to < 5.8 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.9 (affected)0 to < 5.9 (unaffected · semver)5.10.42 through 5.10.* (unaffected · semver)5.12.9 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
net: zero-initialize tc skb extension on allocation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 65779403fbd49570fe5e3dd13e003e36335fd6e00e19db3d5f37694742c878e6
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record