CVE-2023-53020: l2tp: close all race conditions in l2tp_tunnel_register()
Vulnerability summary
CVE-2023-53020 is a medium (CVSS 4.7) vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.4% of scored vulnerabilities.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 27-03-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: l2tp: close all race conditions in l2tp_tunnel_register() The code in l2tp_tunnel_register() is racy in several ways: 1. It modifies the tunnel socket _after_ publishing it. 2. It calls setup_udp_tunnel_sock() on an existing socket without locking. 3. It changes sock lock class on fly, which triggers many syzbot reports. This patch amends all of them by moving socket initialization code before publishing and under sock lock. As suggested by Jakub, the l2tp lockdep class is not necessary as we can just switch to bh_lock_sock_nested().
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.14% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu113 products
- linuxAll versions (No fix recorded) | < 5.15.0-70.77
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1034.38
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 37159ef2c1ae1e696b24b260b241209a19f92c60, < 2d77e5c0ad79004b5ef901895437e9cce6dfcc7e | ≥ 37159ef2c1ae1e696b24b260b241209a19f92c60, < 77e8ed776cdb1a24b2aab8fe7c6f1f154235e1ce | ≥ 37159ef2c1ae1e696b24b260b241209a19f92c60, < cef0845b6dcfa2f6c2c832e7f9622551456c741d | ≥ 37159ef2c1ae1e696b24b260b241209a19f92c60, < 0b2c59720e65885a394a017d0cf9cab118914682 | 3.6
- linux_kernel≥ 3.6, < 5.10.166 | ≥ 5.11, < 5.15.91 | ≥ 5.16, < 6.1.9 | 6.2:rc1 | 6.2:rc2 | 6.2:rc3 | 6.2:rc4
Debian1 product
- linux< 6.1.11-1
3 vendors · 116 products