4.7

CVE-2023-53020: l2tp: close all race conditions in l2tp_tunnel_register()

Modified
AliasesUBUNTU-CVE-2023-53020DEBIAN-CVE-2023-53020
Published 27-03-2025Last modified 11-05-2026

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.

Priority
Routine

Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.7/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.14%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 27-03-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

8 links