CVE-2023-3390
Vulnerability Summary
Timeline
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. We recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.91%• Percentile: 59%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•linux
< 5.10.179-3 | < 6.1.37-1 | < 6.3.11-1 | < 6.3.11-1
- ubuntu•linux
< 4.4.0-243.277 | < 4.15.0-214.225 | < 5.4.0-155.172 | < 5.15.0-78.85
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1121.127 | < 4.4.0-1159.174 | < 4.15.0-1159.172 | < 5.4.0-1106.114 | < 5.15.0-1040.45
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1040.45~20.04.1
- ubuntu•linux-aws-5.19
< 5.19.0-1029.30~22.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1106.114~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-fips
< 4.15.0-2098.104 | all | < 5.4.0-1106.114+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1159.172~16.04.1
- ubuntu•linux-azure
< 4.15.0-1168.183~14.04.1 | < 4.15.0-1168.183~16.04.1 | all | < 5.4.0-1112.118 | < 5.15.0-1042.49
- ubuntu•linux-azure-4.15
< 4.15.0-1168.183
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1042.49~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1112.118~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1042.49.1
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2077.83 | all | < 5.4.0-1112.118+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1068.74 | < 5.15.0-1021.23
- ubuntu•linux-fips
< 4.4.0-1091.98 | all | < 4.15.0-1114.125 | < 5.4.0-1081.90
- ubuntu•linux-gcp
< 4.15.0-1153.170~16.04.1 | all | < 5.4.0-1109.118 | < 5.15.0-1038.46
- ubuntu•linux-gcp-4.15
< 4.15.0-1153.170
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1038.46~20.04.1
- ubuntu•linux-gcp-5.19
< 5.19.0-1030.32~22.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1109.118~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-fips
< 4.15.0-2061.66 | all | < 5.4.0-1109.118+fips1
- ubuntu•linux-gke
< 5.4.0-1104.111 | < 5.15.0-1038.43
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
< 5.15.0-1038.43~20.04.1
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1073.77 | < 5.15.0-1024.29
- ubuntu•linux-gkeop-5.15
< 5.15.0-1024.29~20.04.1
- ubuntu•linux-gkeop-5.4
all
Showing first 50 affected entries in server-rendered view.
References (26)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1240eb93f0616b21c675416516ff3d74798fdc97
- https://kernel.dance/1240eb93f0616b21c675416516ff3d74798fdc97
- https://www.debian.org/security/2023/dsa-5448
- https://www.debian.org/security/2023/dsa-5461
- https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html
- https://security.netapp.com/advisory/ntap-20230818-0004/
- http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html
- https://lists.debian.org/debian-security-announce/2023/msg00140.html
- https://lists.debian.org/debian-security-announce/2023/msg00153.html
- https://packetstorm.news/tos/aHR0cHM6Ly9wYWNrZXRzdG9ybS5uZXdzL2ZpbGVzLzE3NDU3Ny9LZXJuZWwtTGl2ZS1QYXRjaC1TZWN1cml0eS1Ob3RpY2UtTFNOLTAwOTctMS5odG1sIDE3ODQ3MjE0NzIgODFlMjk3ZjBmM2FiMTIwOTI5Nzg0ZmRlNGM2NWNjNjBhMThhMzBiOGE5NjQ0YzQ0NTFhMzJlZjhiNTk1ZTk2Yg==
- https://ubuntu.com/security/CVE-2023-3390
- https://git.kernel.org/linus/1240eb93f0616b21c675416516ff3d74798fdc97
- https://kernel.dance/#1240eb93f0616b21c675416516ff3d74798fdc97
- https://ubuntu.com/security/notices/USN-6246-1
- https://ubuntu.com/security/notices/USN-6250-1
- https://ubuntu.com/security/notices/USN-6251-1
- https://ubuntu.com/security/notices/USN-6252-1
- https://ubuntu.com/security/notices/USN-6254-1
- https://ubuntu.com/security/notices/USN-6255-1
- https://ubuntu.com/security/notices/USN-6260-1
- https://ubuntu.com/security/notices/USN-6261-1
- https://ubuntu.com/security/notices/USN-6285-1
- https://ubuntu.com/security/notices/USN-6385-1
- https://www.cve.org/CVERecord?id=CVE-2023-3390
- https://security-tracker.debian.org/tracker/CVE-2023-3390