Skip to content
Fencer Vulns
high 7.8

CVE-2024-42272 json

sched: act_ct: take care of padding in struct zones_ht_key

published 2024-08-17 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-39495

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 15%
public exploits
0
none known

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

Patch / fix

  • Linux Linux 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10, 6.10.4, 6.11
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
  • linux Debian 12 6.1.106-1
  • linux Debian 14, Debian 13 6.10.4-1

debian advisories DEBIAN-CVE-2024-42272

  • linux Ubuntu 22.04 LTS 5.15.0-125.135
  • linux Ubuntu 24.04 LTS 6.8.0-50.51
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1020.22
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1019.21
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1069.75
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1015.19

ubuntu advisories UBUNTU-CVE-2024-42272

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 9 5.14.0-427.40.1.el9_4
  • rv RHEL 9 5.14.0-427.40.1.el9_4
  • perf RHEL 9 5.14.0-427.40.1.el9_4
  • rtla RHEL 9 5.14.0-427.40.1.el9_4
  • bpftool RHEL 9 7.3.0-427.40.1.el9_4
  • libperf RHEL 9 5.14.0-427.40.1.el9_4
  • kernel-rt RHEL 9 5.14.0-427.40.1.el9_4
  • kernel-64k RHEL 9 5.14.0-427.40.1.el9_4

red hat advisories RHSA-2024:8158RHSA-2024:8157RHSA-2024:8162

  • kernel AlmaLinux 9 5.14.0-427.40.1.el9_4
  • rv AlmaLinux 9 5.14.0-427.40.1.el9_4
  • perf AlmaLinux 9 5.14.0-427.40.1.el9_4
  • rtla AlmaLinux 9 5.14.0-427.40.1.el9_4
  • bpftool AlmaLinux 9 7.3.0-427.40.1.el9_4
  • libperf AlmaLinux 9 5.14.0-427.40.1.el9_4
  • kernel-rt AlmaLinux 9 5.14.0-427.40.1.el9_4
  • kernel-64k AlmaLinux 9 5.14.0-427.40.1.el9_4

almalinux advisories ALSA-2024:8162

  • kernel Rocky Linux 9 5.14.0-427.40.1.el9_4

rocky linux advisories RLSA-2024:8162

  • kernel CBL-Mariner 2.0 5.15.167.1-1

azure linux advisories AZL-49749

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-42272 updated cvss 5.5

kernel: sched: act_ct: take care of padding in struct zones_ht_key

  • Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 more
    affected: no fix available
  • Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-debuginfo-common-s390x 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.88.1.el9_2
    fixed: vendor fix RHSA-2024:8157
  • Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-427.40.1.el9_4, perf 5.14.0-427.40.1.el9_4, rtla 5.14.0-427.40.1.el9_4, kernel-devel-matched 5.14.0-427.40.1.el9_4, kernel-64k-devel-matched 5.14.0-427.40.1.el9_4, kernel-debug-devel-matched 5.14.0-427.40.1.el9_4, +6 more
    fixed: vendor fix RHSA-2024:8162
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) perf 5.14.0-284.88.1.el9_2, rtla 5.14.0-284.88.1.el9_2, kernel-devel-matched 5.14.0-284.88.1.el9_2, kernel-64k-devel-matched 5.14.0-284.88.1.el9_2, kernel-debug-devel-matched 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.88.1.el9_2, +5 more
    fixed: vendor fix RHSA-2024:8157
  • 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, kernel-core 5.14.0-427.40.1.el9_4, kernel-tools 5.14.0-427.40.1.el9_4, python3-perf 5.14.0-427.40.1.el9_4, +28 more
    fixed: vendor fix RHSA-2024:8162
  • 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, kernel-core 5.14.0-284.88.1.el9_2, kernel-tools 5.14.0-284.88.1.el9_2, python3-perf 5.14.0-284.88.1.el9_2, +28 more
    fixed: vendor fix RHSA-2024:8157
  • Red Hat Enterprise Linux CRB (v. 9) libperf 5.14.0-427.40.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.40.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.40.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.40.1.el9_4, kernel-debuginfo-common-ppc64le 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-kvm 5.14.0-427.40.1.el9_4, kernel-rt-core 5.14.0-427.40.1.el9_4, kernel-rt-modules 5.14.0-427.40.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.40.1.el9_4, kernel-rt-debug-core 5.14.0-427.40.1.el9_4, +6 more
    fixed: vendor fix RHSA-2024:8162
  • 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-modules 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-core 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-modules-core 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-modules 5.14.0-284.88.1.rt14.373.el9_2, +4 more 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-kvm 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-modules 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-kvm 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-core 5.14.0-284.88.1.rt14.373.el9_2, +6 more
    fixed: vendor fix RHSA-2024:8158
show 2 more
  • 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-modules 5.14.0-427.40.1.el9_4, kernel-rt-debug-core 5.14.0-427.40.1.el9_4, kernel-rt-modules-core 5.14.0-427.40.1.el9_4, kernel-rt-debug-modules 5.14.0-427.40.1.el9_4, +4 more
    fixed: vendor fix RHSA-2024:8162
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-doc 5.14.0-284.88.1.el9_2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-102-01 updated cvss 5.5

Siemens SIMATIC S7-1500 TM MFP

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

Classification

Weakness
  • CWE-908 Use of Uninitialized Resource
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.