CVE-2023-53020
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2023
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
l2tp: close all race conditions in l2tp_tunnel_register()
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().
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 37159ef2c1ae1e696b24b260b241209a19f92c60 | affected | git | 2d77e5c0ad79004b5ef901895437e9cce6dfcc7e | Unavailable | None listed |
| 37159ef2c1ae1e696b24b260b241209a19f92c60 | affected | git | 77e8ed776cdb1a24b2aab8fe7c6f1f154235e1ce | Unavailable | None listed |
| 37159ef2c1ae1e696b24b260b241209a19f92c60 | affected | git | cef0845b6dcfa2f6c2c832e7f9622551456c741d | Unavailable | None listed |
| 37159ef2c1ae1e696b24b260b241209a19f92c60 | affected | git | 0b2c59720e65885a394a017d0cf9cab118914682 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3.6 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 3.6 | Unavailable | None listed |
| 5.10.166 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.91 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.9 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |