cbcvebase.
CVE-2023-53020
published 2025-03-27

CVE-2023-53020: In the Linux kernel, the following vulnerability has been resolved: l2tp: close all race conditions in l2tp_tunnel_register() The code in…

PriorityP416medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.13%
3.2th percentile
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().

Affected

14 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.11-1 (bookworm)linux 6.1.11-1 (bookworm)
linuxlinux
linuxlinux>= 37159ef2c1ae1e696b24b260b241209a19f92c60 < 2d77e5c0ad79004b5ef901895437e9cce6dfcc7e2d77e5c0ad79004b5ef901895437e9cce6dfcc7e
linuxlinux>= 37159ef2c1ae1e696b24b260b241209a19f92c60 < 77e8ed776cdb1a24b2aab8fe7c6f1f154235e1ce77e8ed776cdb1a24b2aab8fe7c6f1f154235e1ce
linuxlinux>= 37159ef2c1ae1e696b24b260b241209a19f92c60 < cef0845b6dcfa2f6c2c832e7f9622551456c741dcef0845b6dcfa2f6c2c832e7f9622551456c741d
linuxlinux>= 37159ef2c1ae1e696b24b260b241209a19f92c60 < 0b2c59720e65885a394a017d0cf9cab1189146820b2c59720e65885a394a017d0cf9cab118914682
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.178-15.10.178-1
linuxlinux_kernel>= 0 < 6.1.11-16.1.11-1
linuxlinux_kernel>= 0 < 6.1.11-16.1.11-1
linuxlinux_kernel>= 0 < 6.1.11-16.1.11-1
linuxlinux_kernel>= 3.6 < 5.10.1665.10.166
linuxlinux_kernel>= 5.11 < 5.15.915.15.91
linuxlinux_kernel>= 5.16 < 6.1.96.1.9

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.