PT-2023-3482 · Linux+10 · Linux Kernel+10

Pablo Neira Ayuso

·

Published

2023-06-08

·

Updated

2024-07-04

·

CVE-2023-3390

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A use-after-free vulnerability was found in the Linux kernel's netfilter subsystem in net/netfilter/nf tables api.c. Mishandled error handling with NFT MSG NEWRULE makes it possible to use a dangling pointer in the same transaction, causing a use-after-free vulnerability. This flaw allows a local attacker with user access to cause a privilege escalation issue. The vulnerability was exploited in real-world incidents, including the Google kernelCTF instances, where researchers managed to exploit all instances with the same bug.
Recommendations To resolve the issue, upgrade past commit 1240eb93f0616b21c675416516ff3d74798fdc97. As a temporary workaround, consider disabling the vulnerable NFT MSG NEWRULE parameter in the netfilter subsystem until a patch is available. Restrict access to the vulnerable nf tables api.c module to minimize the risk of exploitation. Avoid using the NFT MSG NEWRULE parameter in the affected API endpoint until the issue is resolved.

Exploit

Fix

DoS

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2023:5069
ALSA-2023:5091
ALSA-2023:5244
ALT-PU-2023-4401
ALT-PU-2023-4482
ALT-PU-2023-4663
ALT-PU-2023-5060
ALT-PU-2023-8472
ALT-PU-2024-4263
ALT-PU-2024-4843
AZL-27346
BDU:2023-03677
CESA-2023_5221
CESA-2023_5244
CESA-2023_5255
CVE-2023-3390
DLA-3512-1
DLA-3710-1
DSA-5448-1
DSA-5461-1
LSN-0097-1
MGASA-2023-0237
MGASA-2023-0238
OESA-2023-1448
OPENSUSE-SU-2023_3171-1
OPENSUSE-SU-2023_3172-1
OPENSUSE-SU-2023_3180-1
OPENSUSE-SU-2023_3182-1
OPENSUSE-SU-2023_3302-1
OPENSUSE-SU-2023_3318-1
OPENSUSE-SU-2023_3391-1
OPENSUSE-SU-2023_4166-1
RHSA-2023:4789
RHSA-2023:4888
RHSA-2023:4961
RHSA-2023:4962
RHSA-2023:4967
RHSA-2023:5069
RHSA-2023:5091
RHSA-2023:5093
RHSA-2023:5221
RHSA-2023:5235
RHSA-2023:5238
RHSA-2023:5244
RHSA-2023:5255
RHSA-2023_5069
RHSA-2023_5091
RHSA-2023_5244
RHSA-2023_5255
RHSA-2024:1250
RHSA-2024:1253
RHSA-2024:1268
RHSA-2024:1269
RHSA-2024:1278
RHSA-2024:1306
RLSA-2023:5091
RLSA-2023:5244
RXSA-2023:5244
SUSE-SU-2023:3171-1
SUSE-SU-2023:3172-1
SUSE-SU-2023:3180-1
SUSE-SU-2023:3182-1
SUSE-SU-2023:3302-1
SUSE-SU-2023:3318-1
SUSE-SU-2023:3390-1
SUSE-SU-2023:3391-1
SUSE-SU-2023:3421-1
SUSE-SU-2023:4166-1
SUSE-SU-2023:4175-1
SUSE-SU-2023:4201-1
SUSE-SU-2023:4219-1
SUSE-SU-2023:4239-1
SUSE-SU-2023:4245-1
SUSE-SU-2023:4267-1
SUSE-SU-2023:4279-1
SUSE-SU-2023:4285-1
SUSE-SU-2023:4308-1
SUSE-SU-2023:4326-1
SUSE-SU-2023_3171-1
SUSE-SU-2023_3172-1
SUSE-SU-2023_3180-1
SUSE-SU-2023_3182-1
USN-6246-1
USN-6250-1
USN-6251-1
USN-6252-1
USN-6254-1
USN-6255-1
USN-6260-1
USN-6261-1
USN-6285-1
USN-6385-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu