CVE-2021-47175
published high CVSS 3.1 · 7.8net/sched: fq_pie: fix OOB access in the traffic path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < e6294c06e7c62ffdd5bf3df696d3a4fcbb753d3c · ec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 7a1bdec12e43e29cc34a4394590337069d8812ce · ec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < e70f7a11876a1a788ceadf75e9e5f7af2c868680 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (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/sched: fq_pie: fix OOB access in the traffic path the following script: # tc qdisc add dev eth0 handle 0x1 root fq_pie flows 2 # tc qdisc add dev eth0 clsact # tc filter add dev eth0 egress matchall action skbedit priority 0x10002 # ping 192.0.2.2 -I eth0 -c2 -w1 -q produces the following splat: BUG: KASAN: slab-out-of-bounds in fq_pie_qdisc_enqueue+0x1314/0x19d0 [sch_fq_pie] Read of size 4 at addr ffff888171306924 by task ping/942 CPU: 3 PID: 942 Comm: ping Not tainted 5.12.0+ #441 Hardware name: Red Hat KVM, BIOS 1.11.1-4.module+el8.1.0+4066+0f1aadab 04/01/2014 Call Trace: dump_stack+0x92/0xc1 print_address_description.constprop.7+0x1a/0x150 kasan_report.cold.13+0x7f/0x111 fq_pie_qdisc_enqueue+0x1314/0x19d0 [sch_fq_pie] __dev_queue_xmit+0x1034/0x2b10 ip_finish_output2+0xc62/0x2120 __ip_finish_output+0x553/0xea0 ip_output+0x1ca/0x4d0 ip_send_skb+0x37/0xa0 raw_sendmsg+0x1c4b/0x2d00 sock_sendmsg+0xdb/0x110 __sys_sendto+0x1d7/0x2b0 __x64_sys_sendto+0xdd/0x1b0 do_syscall_64+0x3c/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe69735c3eb Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 48 8d 05 75 42 2c 00 41 89 ca 8b 00 85 c0 75 14 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 75 c3 0f 1f 40 00 41 57 4d 89 c7 41 56 41 89 RSP: 002b:00007fff06d7fb38 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000055e961413700 RCX: 00007fe69735c3eb RDX: 0000000000000040 RSI: 000055e961413700 RDI: 0000000000000003 RBP: 0000000000000040 R08: 000055e961410500 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff06d81260 R13: 00007fff06d7fb40 R14: 00007fff06d7fc30 R15: 000055e96140f0a0 Allocated by task 917: kasan_save_stack+0x19/0x40 __kasan_kmalloc+0x7f/0xa0 __kmalloc_node+0x139/0x280 fq_pie_init+0x555/0x8e8 [sch_fq_pie] qdisc_create+0x407/0x11b0 tc_modify_qdisc+0x3c2/0x17e0 rtnetlink_rcv_msg+0x346/0x8e0 netlink_rcv_skb+0x120/0x380 netlink_unicast+0x439/0x630 netlink_sendmsg+0x719/0xbf0 sock_sendmsg+0xe2/0x110 ____sys_sendmsg+0x5ba/0x890 ___sys_sendmsg+0xe9/0x160 __sys_sendmsg+0xd3/0x170 do_syscall_64+0x3c/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae The buggy address belongs to the object at ffff888171306800 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 36 bytes to the right of 256-byte region [ffff888171306800, ffff888171306900) The buggy address belongs to the page: page:00000000bcfb624e refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x171306 head:00000000bcfb624e order:1 compound_mapcount:0 flags: 0x17ffffc0010200(slab|head|node=0|zone=2|lastcpupid=0x1fffff) raw: 0017ffffc0010200 dead000000000100 dead000000000122 ffff888100042b40 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888171306800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888171306880: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff888171306900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888171306980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888171306a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fix fq_pie traffic path to avoid selecting 'q->flows + q->flows_cnt' as a valid flow: it's an address beyond the allocated memory.
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is in the fq_pie qdisc traffic path, reached after configuring the qdisc via tc/netlink and sending packets; kernel guidance classifies tc/qdisc bugs as Local. AC:L - An attacker who installs fq_pie can reliably force the OOB index by hashing into the last flow, or by setting skb priority/classid to flows_cnt (e.g. skbedit), with no conditions outside their control. PR:L - Creating and configuring fq_pie requires CAP_NET_ADMIN, which is obtainable in a user namespace via netlink_ns_capable(net->user_ns), so privileges are Low rather than High. UI:N - Once the attacker has CAP_NET_ADMIN in their userns, they can create the qdisc and trigger the OOB themselves by transmitting packets; no victim interaction is required. S:U - Exploitation corrupts kernel heap memory and can escalate privileges within the same kernel authority; it does not cross a VM, IOMMU, or other security boundary. C:H - The bug performs an out-of-bounds read of an entire fq_pie_flow (~100+ bytes) past the flows array into adjacent slab memory, and the resulting heap corruption can be leveraged for further information disclosure. I:H - Every hit writes out-of-bounds (at least accu_prob on the drop path), and the enqueue path performs flow_queue_add and list_add_tail on the OOB flow, enabling classic kernel heap list corruption and arbitrary write primitives. A:H - The OOB access causes a KASAN-detectable slab-out-of-bounds fault and can oops/panic the kernel, fully impacting availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < e6294c06e7c62ffdd5bf3df696d3a4fcbb753d3c (affected · git)ec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 7a1bdec12e43e29cc34a4394590337069d8812ce (affected · git)ec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < e70f7a11876a1a788ceadf75e9e5f7af2c868680 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (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/sched: fq_pie: fix OOB access in the traffic path
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2103264cfe8676bc7d0e0ddbea6d762b9805910dbc473eaf6fea1214b77f61a4
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record