CVE-2023-1829 Use-after-free in tcindex (traffic control index filter) in the Linux Kernel
A local attacker can exploit a use-after-free in the Linux Kernel tcindex filter to escalate privileges to root.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-1829?
CVE-2023-1829 is a high-severity use after free vulnerability in Linux kernel, published on 12 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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/ .
Weakness: CWE-416
Which versions are affected by CVE-2023-1829?
It affects 1 product.
Linux distribution packages (20)
suse-module-tools SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 15.2.18-150200.4.15.1 |
kgraft-patch-SLE12-SP5_Update_50 SUSE:Linux Enterprise Live Patching 12 SP5 | All versions | 2-2.1 |
kgraft-patch-SLE12-SP5_Update_52 SUSE:Linux Enterprise Live Patching 12 SP5 | All versions | 2-2.1 |
kgraft-patch-SLE12-SP5_Update_53 SUSE:Linux Enterprise Live Patching 12 SP5 | All versions | 2-2.1 |
kgraft-patch-SLE12-SP5_Update_54 SUSE:Linux Enterprise Live Patching 12 SP5 | All versions | 2-8.10.1 |
kernel-livepatch-SLE15-SP1_Update_45 SUSE:Linux Enterprise Live Patching 15 SP1 | All versions | 2-150100.2.1 |
kernel-livepatch-SLE15-SP1_Update_47 SUSE:Linux Enterprise Live Patching 15 SP1 | All versions | 2-150100.2.1 |
kernel-livepatch-SLE15-SP2_Update_41 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 2-150200.2.1 |
kernel-livepatch-SLE15-SP2_Update_42 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 2-150200.2.1 |
kernel-livepatch-SLE15-SP2_Update_44 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 2-150200.2.1 |
kernel-livepatch-SLE15-SP2_Update_45 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 2-150200.2.1 |
kernel-livepatch-SLE15-SP2_Update_48 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 2-150200.5.6.2 |
kernel-livepatch-SLE15-SP3_Update_37 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 2-150300.2.2 |
kernel-livepatch-SLE15-SP3_Update_38 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 2-150300.2.1 |
kernel-livepatch-SLE15-SP3_Update_40 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 2-150300.2.1 |
kernel-livepatch-SLE15-SP3_Update_41 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 2-150300.2.1 |
kernel-livepatch-SLE15-SP3_Update_44 SUSE:Linux Enterprise Live Patching 15 SP3 | All versions | 2-150300.7.6.2 |
suse-module-tools SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 15.2.18-150200.4.15.1 |
suse-module-tools SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 15.2.18-150200.4.15.1 |
suse-module-tools openSUSE:Tumbleweed | All versions | 16.0.36-1.1 |
Products include Linux kernel.
How do I fix CVE-2023-1829?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-1829 being exploited?
There is no known exploitation of CVE-2023-1829 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-26169, DEBIAN-CVE-2023-1829, GHSA-4x82-r4q4-7g8x, SUSE-SU-2023:4097-1, SUSE-SU-2023:4264-1, SUSE-SU-2023:4774-1 and 15 more.