cve.bz

CVE-2023-1829 linux linux kernel: Use After Free

7.8 highEPSS 1.1%Fix available

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

On this page
A use-after-free vulnerability in the Linux Kernel traffic control index filter (tcindex) can be exploited to achieve local privilege escalation. The tcindex_delete function which does not properly deactivate filters in case of a perfect hashes while deleting the underlying structure which can later lead to double freeing the structure. A local attacker user can use this vulnerability to elevate its privileges to root. We recommend upgrading past commit 8c710f75256bb3cf05ac7b1672c82b92c43f3d28 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ .

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
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. 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 2025-02-07. 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-2023-1829 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1829?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1829?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-2023-1829 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
Linux Kernelfrom 3.8.0 before 4.14.308
Linux Kernelfrom 4.15.0 before 4.19.276
Linux Kernelfrom 4.20.0 before 5.4.235
Linux Kernelfrom 5.5.0 before 5.10.173
Linux Kernelfrom 5.11.0 before 5.15.100
Linux Kernelfrom 5.16.0 before 6.1.18
Linux Kernelfrom 6.2.0 before 6.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.178-3~deb10u1DLA-3404-1
Debian12, 13, 14linux6.1.20-1DEBIAN-CVE-2023-1829
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1829
Ubuntu18.04:LTSlinux4.15.0-210.221UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-aws4.15.0-1155.168UBUNTU-CVE-2023-1829 USN-6058-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1101.109~18.04.1UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1164.179UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1107.113~18.04.1UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-1829
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1149.165UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1104.113~18.04.1UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-148.165~18.04.1UBUNTU-CVE-2023-1829 USN-6047-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1048.53~18.04.1UBUNTU-CVE-2023-1829 USN-6052-1
Ubuntu18.04:LTSlinux-kvm4.15.0-1139.144UBUNTU-CVE-2023-1829 USN-6047-1
74 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-477_10_1, kpatch-patch-4_18_0-477_10_1-debuginfo, kpatch-patch-4_18_0-477_10_1-debugsource0:1-2.el8_8RHSA-2023:4531
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-477_13_1, kpatch-patch-4_18_0-477_15_1, kpatch-patch-4_18_0-477_13_1-debuginfo and 3 more0:1-1.el8_8RHSA-2023:4531
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.21.1.el8_8RHSA-2023:4517
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.21.1.el8_8RHSA-2023:4517
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.21.1.rt7.284.el8_8RHSA-2023:4541
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.21.1.rt7.284.el8_8RHSA-2023:4541
Red Hatrhel_aus:8.2::baseos, rhel_tus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.119.1.el8_2RHSA-2023:7434
Red Hatrhel_aus:8.4::baseos, rhel_tus:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.103.1.el8_4RHSA-2023:4962
Red Hatrhel_e4s:8.1::baseoskpatch-patch-4_18_0-147_78_1, kpatch-patch-4_18_0-147_78_1-debuginfo, kpatch-patch-4_18_0-147_78_1-debugsource0:1-6.el8_1RHSA-2023:4516
Red Hatrhel_e4s:8.1::baseoskpatch-patch-4_18_0-147_80_1, kpatch-patch-4_18_0-147_80_1-debuginfo, kpatch-patch-4_18_0-147_80_1-debugsource0:1-5.el8_1RHSA-2023:4516
Red Hatrhel_e4s:8.1::baseoskpatch-patch-4_18_0-147_81_1, kpatch-patch-4_18_0-147_81_1-debuginfo, kpatch-patch-4_18_0-147_81_1-debugsource0:1-4.el8_1RHSA-2023:4516
Red Hatrhel_e4s:8.1::baseoskpatch-patch-4_18_0-147_83_1, kpatch-patch-4_18_0-147_83_1-debuginfo, kpatch-patch-4_18_0-147_83_1-debugsource0:1-3.el8_1RHSA-2023:4516
25 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 moresuse-module-tools15.3.17-150300.3.22.1SUSE-SU-2023:4158-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.164.1SUSE-SU-2024:2185-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.164.1.150300.18.96.1SUSE-SU-2024:2185-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.219.1SUSE-SU-2024:2184-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.194.1SUSE-SU-2024:2183-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.164.1SUSE-SU-2024:2185-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.69.1SUSE-SU-2023:2820-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.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1suse-module-tools15.1.25-150100.3.25.1SUSE-SU-2023:4160-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.194.1.150200.9.99.1SUSE-SU-2024:2183-1
162 more for SUSE in the JSON and on SUSE's page.

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

For Red Hat Enterprise Linux 7, please use the mitigation to disable module cls_tcindex, because similar use-after-free issues also exists in the Linux Kernel's traffic control index filter and will not be fixed before Red Hat Enterprise Linux 8.

Red Hat's mitigation

To mitigate this issue, prevent the module cls_tcindex from being loaded. Please see https://access.redhat.com/solutions/41278 on how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.21.1.rt7.284.el8_8Fixed 2023-08-08RHSA-2023:4541
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.21.1.el8_8Fixed 2023-08-08RHSA-2023:4517
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-08-08RHSA-2023:4531
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.87.1.el8_1Fixed 2023-08-08RHSA-2023:4515
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2023-08-08RHSA-2023:4516
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.119.1.el8_2Fixed 2023-11-21RHSA-2023:7434
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.119.1.rt13.170.el8_2Fixed 2023-11-21RHSA-2023:7431
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.119.1.el8_2Fixed 2023-11-21RHSA-2023:7434
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2023-11-21RHSA-2023:7417
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.119.1.el8_2Fixed 2023-11-21RHSA-2023:7434
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.103.1.el8_4Fixed 2023-09-05RHSA-2023:4962
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.103.1.rt7.178.el8_4Fixed 2023-09-05RHSA-2023:4961
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.103.1.el8_4Fixed 2023-09-05RHSA-2023:4962
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.103.1.el8_4Fixed 2023-09-05RHSA-2023:4962
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2023-09-05RHSA-2023:4967
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelWill not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
3 more in the JSON and on Red Hat's page.

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-2023-1829.

References

Check your stackJSON