cve.bz

CVE-2024-26852 Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: net/ipv6: avoid possible UAF in ip6_route_mpath_notify() syzbot found another use-after-free in ip6_route_mpath_notify() [1] Commit f7225172f25a ("net/ipv6: prevent use after free in ip6_route_mpath_notify") was not able to fix the root cause. We need to defer the fib6_info_release() calls after ip6_route_mpath_notify(), in the cleanup phase. [1] BUG: KASAN: slab-use-after-free in rt6_fill_node+0x1460/0x1ac0 Read of size 4 at addr ffff88809a07fc64 by task syz-executor.2/23037 CPU: 0 PID: 23037 Comm: syz-executor.2 Not tainted 6.8.0-rc4-syzkaller-01035-gea7f3cfaa588 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:377 [inline] print_report+0x167/0x540 mm/kasan/report.c:488 kasan_report+0x142/0x180 mm/kasan/report.c:601 rt6_fill_node+0x1460/0x1ac0 inet6_rt_notify+0x13b/0x290 net/ipv6/route.c:6184 ip6_route_mpath_notify net/ipv6/route.c:5198 [inline] ip6_route_multipath_add net/ipv6/route.c:5404 [inline] inet6_rtm_newroute+0x1d0f/0x2300 net/ipv6/route.c:5517 rtnetlink_rcv_msg+0x885/0x1040 net/core/rtnetlink.c:6597 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2543 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa3b/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f73dd87dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f73de6550c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f73dd9ac050 RCX: 00007f73dd87dda9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 00007f73dd8ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f73dd9ac050 R15: 00007ffdbdeb7858 </TASK> Allocated by task 23037: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:372 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:389 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:3981 [inline] __kmalloc+0x22e/0x490 mm/slub.c:3994 kmalloc include/linux/slab.h:594 [inline] kzalloc include/linux/slab.h:711 [inline] fib6_info_alloc+0x2e/0xf0 net/ipv6/ip6_fib.c:155 ip6_route_info_create+0x445/0x12b0 net/ipv6/route.c:3758 ip6_route_multipath_add net/ipv6/route.c:5298 [inline] inet6_rtm_newroute+0x744/0x2300 net/ipv6/route.c:5517 rtnetlink_rcv_msg+0x885/0x1040 net/core/rtnetlink.c:6597 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2543 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa3b/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 Freed by task 16: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x4e/0x60 mm/kasan/generic.c:640 poison_slab_object+0xa6/0xe0 m ---truncated---

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th 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: total, assessed 2024-04-19. 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-416 Use After Free
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-26852 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26852?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26852?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-26852 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
Linux4.11 and later

Fixed in

ProductRelease lineFixed in
Linux4.194.19.310
Linux5.45.4.272
Linux5.105.10.213
Linux5.155.15.152
Linux6.16.1.82
Linux6.66.6.22
Linux6.76.7.10
Linuxlater releases6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.316-1DLA-3840-1
Debian10linux-5.105.10.216-1~deb10u1DLA-3842-1
Debian11linux5.10.216-1DSA-5681-1
Debian12linux6.1.82-1DEBIAN-CVE-2024-26852
Debian13, 14linux6.7.12-1DEBIAN-CVE-2024-26852
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-26852
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-26852
Ubuntu20.04:LTSlinux5.4.0-189.209UBUNTU-CVE-2024-26852 USN-6896-1
Ubuntu20.04:LTSlinux-aws5.4.0-1128.138UBUNTU-CVE-2024-26852 USN-6896-5
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1063.69~20.04.1UBUNTU-CVE-2024-26852 USN-6821-3
Ubuntu20.04:LTSlinux-azure5.4.0-1133.140UBUNTU-CVE-2024-26852 USN-6896-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1065.74~20.04.1UBUNTU-CVE-2024-26852
Ubuntu20.04:LTSlinux-bluefield5.4.0-1088.95UBUNTU-CVE-2024-26852 USN-6896-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1132.141UBUNTU-CVE-2024-26852 USN-6896-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1062.70~20.04.1UBUNTU-CVE-2024-26852 USN-6820-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-26852
Ubuntu20.04:LTSlinux-gkeop5.4.0-1095.99UBUNTU-CVE-2024-26852 USN-6896-1
55 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.16.1.el8_10RHSA-2024:5101
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.16.1.el8_10RHSA-2024:5101
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.16.1.rt7.357.el8_10RHSA-2024:5102
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.16.1.rt7.357.el8_10RHSA-2024:5102
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 26 more0:5.14.0-427.28.1.el9_4RHSA-2024:4928
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.3.0-427.28.1.el9_4RHSA-2024:4928
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.3.0-427.28.1.el9_4RHSA-2024:4928
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.28.1.el9_4RHSA-2024:4928
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.28.1.el9_4RHSA-2024:4928
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-427.28.1.el9_4RHSA-2024:4928
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-427.28.1.el9_4RHSA-2024:4928
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.113.1.el8_6RHSA-2024:4902
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-syms, kernel-source and 3 more5.3.18-150300.59.161.1SUSE-SU-2024:1642-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.161.1.150300.18.94.1SUSE-SU-2024:1642-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morekernel-docs5.3.18-150300.59.161.2SUSE-SU-2024:1642-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.216.1SUSE-SU-2024:1870-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.191.1SUSE-SU-2024:1650-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.161.1SUSE-SU-2024:1642-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 2 morekernel-default5.14.21-150400.24.122.2SUSE-SU-2024:2189-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.191.1.150200.9.97.1SUSE-SU-2024:1650-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.191.1SUSE-SU-2024:1650-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-default and 1 more5.14.21-150400.24.122.2SUSE-SU-2024:2189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.122.2.150400.24.58.2SUSE-SU-2024:2189-1
173 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150500.55.62.1SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-64kb, kernel-docs, kernel-debug and 5 more5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.51.1SUSE-SU-2024:1644-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.62.2.150500.6.27.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.122.2SUSE-SU-2024:2189-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.122.2.150400.24.58.2SUSE-SU-2024:2189-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.82.1SUSE-SU-2024:2011-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-553.16.1.rt7.357.el8_10ALSA-2024:5102
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.16.1.el8_10ALSA-2024:5101
AlmaLinux9bpftool7.3.0-427.28.1.el9_4ALSA-2024:4928
AlmaLinux9rv, perf, rtla and 58 more5.14.0-427.28.1.el9_4ALSA-2024:4928
Rocky Linux8kernel0:4.18.0-553.16.1.el8_10RLSA-2024:5101
Rocky Linux8kernel0:4.18.0-553.16.1.el8_10.cloud.0.1RXSA-2024:5101
Rocky Linux8kernel-rt0:4.18.0-553.16.1.rt7.357.el8_10RLSA-2024:5102
Rocky Linux9kernel0:5.14.0-427.28.1.el9_4RLSA-2024:4928
Rocky Linux9kernel0:5.14.0-427.28.1.el9_4.cloud.1.0RXSA-2024:4928
Alpaquita23linux-lts6.1.82-r0BELL-CVE-2024-26852
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-26852

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; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.16.1.rt7.357.el8_10Fixed 2024-08-08RHSA-2024:5102
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.16.1.el8_10Fixed 2024-08-08RHSA-2024:5101
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.113.1.el8_6Fixed 2024-07-29RHSA-2024:4902
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.113.1.el8_6Fixed 2024-07-29RHSA-2024:4902
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.113.1.el8_6Fixed 2024-07-29RHSA-2024:4902
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.70.1.el8_8Fixed 2024-09-03RHSA-2024:6206
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.28.1.el9_4Fixed 2024-07-31RHSA-2024:4928
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.73.1.el9_2Fixed 2024-07-15RHSA-2024:4533
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.73.1.rt14.358.el9_2Fixed 2024-07-15RHSA-2024:4554
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
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-26852.

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