sched: act_ct: take care of padding in struct zones_ht_key
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 10 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: sched: act_ct: take care of padding in struct zones_ht_key Blamed commit increased lookup key size from 2 bytes to 16 bytes, because zones_ht_key got a struct net pointer. Make sure rhashtable_lookup() is not using the padding bytes which are not initialized. BUG: KMSAN: uninit-value in rht_ptr_rcu include/linux/rhashtable.h:376 [inline] BUG: KMSAN: uninit-value in __rhashtable_lookup include/linux/rhashtable.h:607 [inline] BUG: KMSAN: uninit-value in rhashtable_lookup include/linux/rhashtable.h:646 [inline] BUG: KMSAN: uninit-value in rhashtable_lookup_fast include/linux/rhashtable.h:672 [inline] BUG: KMSAN: uninit-value in tcf_ct_flow_table_get+0x611/0x2260 net/sched/act_ct.c:329 rht_ptr_rcu include/linux/rhashtable.h:376 [inline] __rhashtable_lookup include/linux/rhashtable.h:607 [inline] rhashtable_lookup include/linux/rhashtable.h:646 [inline] rhashtable_lookup_fast include/linux/rhashtable.h:672 [inline] tcf_ct_flow_table_get+0x611/0x2260 net/sched/act_ct.c:329 tcf_ct_init+0xa67/0x2890 net/sched/act_ct.c:1408 tcf_action_init_1+0x6cc/0xb30 net/sched/act_api.c:1425 tcf_action_init+0x458/0xf00 net/sched/act_api.c:1488 tcf_action_add net/sched/act_api.c:2061 [inline] tc_ctl_action+0x4be/0x19d0 net/sched/act_api.c:2118 rtnetlink_rcv_msg+0x12fc/0x1410 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x375/0x650 net/netlink/af_netlink.c:2550 rtnetlink_rcv+0x34/0x40 net/core/rtnetlink.c:6665 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0xf52/0x1260 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x10da/0x11e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x30f/0x380 net/socket.c:745 ____sys_sendmsg+0x877/0xb60 net/socket.c:2597 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2651 __sys_sendmsg net/socket.c:2680 [inline] __do_sys_sendmsg net/socket.c:2689 [inline] __se_sys_sendmsg net/socket.c:2687 [inline] __x64_sys_sendmsg+0x307/0x4a0 net/socket.c:2687 x64_sys_call+0x2dd6/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable key created at: tcf_ct_flow_table_get+0x4a/0x2260 net/sched/act_ct.c:324 tcf_ct_init+0xa67/0x2890 net/sched/act_ct.c:1408
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.221 to before 5.10.224; 5.15.162 to before 5.15.165; 6.1.96 to before 6.1.104; 6.6.36 to before 6.6.45; 6.9.7 to before 6.10 | 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10 | Patch available | CNA |
| Linux | Linux | 6.10 and later | 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10.4, 6.11 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.221 to before 5.10.224; 5.15.162 to before 5.15.165; 6.1.96 to before 6.1.104; 6.6.36 to before 6.6.45; 6.9.7 to before 6.10 Fixed in 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10 Patch available CNA
- Linux VendorLinux Affected 6.10 and later Fixed in 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10.4, 6.11 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.221 to before 5.10.224; 5.15.162 to before 5.15.165; 6.1.96 to before 6.1.104; 6.6.36 to before 6.6.45; 6.9.7 to before 6.10; 6.10 to before 6.10.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* | 6.11 rc1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.10.221 to before 5.10.224; 5.15.162 to before 5.15.165; 6.1.96 to before 6.1.104; 6.6.36 to before 6.6.45; 6.9.7 to before 6.10; 6.10 to before 6.10.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* Versions 6.11 rc1 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10
- Fix · CNA Linux (Linux) Fixed in 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10.4, 6.11
Red Hat 3 advisories
- RHSA-2024:8162 Released 2024-10-16 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.40.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.40.1.el9_4, kernel-64k-devel-5.14.0-427.40.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.40.1.el9_4, kernel-5.14.0-427.40.1.el9_4, kernel-64k-5.14.0-427.40.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.40.1.el9_4, libperf-5.14.0-427.40.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.40.1.el9_4, kernel-rt-core-5.14.0-427.40.1.el9_4, kernel-rt-debug-5.14.0-427.40.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.40.1.el9_4, kernel-rt-core-5.14.0-427.40.1.el9_4, kernel-rt-debug-5.14.0-427.40.1.el9_4 +9
- RHSA-2024:8157 Released 2024-10-16 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.88.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.88.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.88.1.el9_2, kernel-64k-devel-5.14.0-284.88.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.88.1.el9_2, kernel-5.14.0-284.88.1.el9_2, kernel-64k-5.14.0-284.88.1.el9_2 +29
- RHSA-2024:8158 Released 2024-10-16 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-core-5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-5.14.0-284.88.1.rt14.373.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-core-5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-5.14.0-284.88.1.rt14.373.el9_2 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:8157 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:8157 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:8157 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:8162 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:8158 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:8158 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
Timeline
- 2026-10-02 Threatist record created from CVE-2024-42272
- 2026-10-03 Alias added: GHSA-cfx8-vqq2-xr93
References
Patch 6
- https://git.kernel.org/stable/c/7c03ab555eb1ba26c77fd7c25bdf44a0ac23edee
- https://git.kernel.org/stable/c/3ddefcb8f75e312535e2e7d5fef9932019ba60f2
- https://git.kernel.org/stable/c/d06daf0ad645d9225a3ff6958dd82e1f3988fa64
- https://git.kernel.org/stable/c/d7cc186d0973afce0e1237c37f7512c01981fb79
- https://git.kernel.org/stable/c/3a5b68869dbe14f1157c6a24ac71923db060eeab
- https://git.kernel.org/stable/c/2191a54f63225b548fd8346be3611c3219a24738
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-42272 · CVE Program
- CVE-2024-42272 · NVD
- FIRST EPSS
- GHSA-cfx8-vqq2-xr93 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-42272 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences