cve.bz

CVE-2024-42272 linux linux kernel: Use of Uninitialized Resource

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-908 Use of Uninitialized Resource
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-42272 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42272?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42272?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42272 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.10.221 before 5.10.224
Linuxfrom 5.15.162 before 5.15.165
Linuxfrom 6.1.96 before 6.1.104
Linuxfrom 6.6.36 before 6.6.45
Linuxfrom 6.9.7 before 6.10
Linux6.10 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.224
Linux5.155.15.165
Linux6.16.1.104
Linux6.66.6.45
Linux6.106.10.4
Linuxlater releases6.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.226-1DLA-3912-1
Debian11linux-6.16.1.119-1~deb11u1DLA-4008-1
Debian12linux6.1.106-1DEBIAN-CVE-2024-42272
Debian13, 14linux6.10.4-1DEBIAN-CVE-2024-42272
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-42272
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2024-42272
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1072.78~20.04.1UBUNTU-CVE-2024-42272 USN-7100-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1078.87~20.04.1UBUNTU-CVE-2024-42272 USN-7194-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1071.79~20.04.1UBUNTU-CVE-2024-42272 USN-7100-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-42272
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1055.62~20.04.1UBUNTU-CVE-2024-42272 USN-7100-1
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-125.135~20.04.1UBUNTU-CVE-2024-42272 USN-7100-1
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1065.68~20.04.1UBUNTU-CVE-2024-42272 USN-7100-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1067.73~20.04.1UBUNTU-CVE-2024-42272 USN-7144-1
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1032.32~20.04.1UBUNTU-CVE-2024-42272
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1070.76~20.04.1UBUNTU-CVE-2024-42272 USN-7100-1
46 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-427.40.1.el9_4RHSA-2024:8162
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.3.0-427.40.1.el9_4RHSA-2024:8162
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.3.0-427.40.1.el9_4RHSA-2024:8162
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.40.1.el9_4RHSA-2024:8162
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.40.1.el9_4RHSA-2024:8162
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-427.40.1.el9_4RHSA-2024:8162
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-427.40.1.el9_4RHSA-2024:8162
Red Hatrhel_eus:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.88.1.el9_2RHSA-2024:8157
Red Hatrhel_eus:9.2::appstream, rhel_eus:9.2::crbbpftool-debuginfo0:7.0.0-284.88.1.el9_2RHSA-2024:8157
Red Hatrhel_eus:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.88.1.el9_2RHSA-2024:8157
Red Hatrhel_eus:9.2::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.88.1.el9_2RHSA-2024:8157
Red Hatrhel_eus:9.2::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.88.1.el9_2RHSA-2024:8157
2 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux9bpftool7.3.0-427.40.1.el9_4ALSA-2024:8162
AlmaLinux9rv, perf, rtla and 58 more5.14.0-427.40.1.el9_4ALSA-2024:8162
Rocky Linux9kernel0:5.14.0-427.40.1.el9_4RLSA-2024:8162
Azure Linux2kernel5.15.167.1-1AZL-49749
Alpaquita23linux-lts6.1.104-r0BELL-CVE-2024-42272
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-42272

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 7 and 8 are not affected by this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.40.1.el9_4Fixed 2024-10-16RHSA-2024:8162
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.88.1.el9_2Fixed 2024-10-16RHSA-2024:8157
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.88.1.rt14.373.el9_2Fixed 2024-10-16RHSA-2024:8158
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-42272.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON