{"id":"CVE-2026-23120","summary":"l2tp: avoid one data-race in l2tp_tunnel_del_work()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nl2tp: avoid one data-race in l2tp_tunnel_del_work()\n\nWe should read sk-\u003esk_socket only when dealing with kernel sockets.\n\nsyzbot reported the following data-race:\n\nBUG: KCSAN: data-race in l2tp_tunnel_del_work / sk_common_release\n\nwrite to 0xffff88811c182b20 of 8 bytes by task 5365 on cpu 0:\n  sk_set_socket include/net/sock.h:2092 [inline]\n  sock_orphan include/net/sock.h:2118 [inline]\n  sk_common_release+0xae/0x230 net/core/sock.c:4003\n  udp_lib_close+0x15/0x20 include/net/udp.h:325\n  inet_release+0xce/0xf0 net/ipv4/af_inet.c:437\n  __sock_release net/socket.c:662 [inline]\n  sock_close+0x6b/0x150 net/socket.c:1455\n  __fput+0x29b/0x650 fs/file_table.c:468\n  ____fput+0x1c/0x30 fs/file_table.c:496\n  task_work_run+0x131/0x1a0 kernel/task_work.c:233\n  resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]\n  __exit_to_user_mode_loop kernel/entry/common.c:44 [inline]\n  exit_to_user_mode_loop+0x1fe/0x740 kernel/entry/common.c:75\n  __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]\n  syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]\n  syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]\n  syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]\n  do_syscall_64+0x1e1/0x2b0 arch/x86/entry/syscall_64.c:100\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nread to 0xffff88811c182b20 of 8 bytes by task 827 on cpu 1:\n  l2tp_tunnel_del_work+0x2f/0x1a0 net/l2tp/l2tp_core.c:1418\n  process_one_work kernel/workqueue.c:3257 [inline]\n  process_scheduled_works+0x4ce/0x9d0 kernel/workqueue.c:3340\n  worker_thread+0x582/0x770 kernel/workqueue.c:3421\n  kthread+0x489/0x510 kernel/kthread.c:463\n  ret_from_fork+0x149/0x290 arch/x86/kernel/process.c:158\n  ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246\n\nvalue changed: 0xffff88811b818000 -\u003e 0x0000000000000000","modified":"2026-05-02T08:14:14.348014316Z","published":"2026-02-14T15:09:51.223Z","related":["SUSE-SU-2026:1573-1","SUSE-SU-2026:1661-1","SUSE-SU-2026:1668-1","SUSE-SU-2026:21114-1","SUSE-SU-2026:21123-1","SUSE-SU-2026:21237-1","SUSE-SU-2026:21255-1","SUSE-SU-2026:21352-1","SUSE-SU-2026:21361-1","openSUSE-SU-2026:20572-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23120.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1f63ca44b4f419a1663d94d1bb0b4e2beb73fdb4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32d417497b79efb403d75f4c185fe6fd9d64b94f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36c40a80109f1771d59558050b1a71e13c60c759"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d6d414b214ce31659bded2f8df50c93a3769474"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68e92085427c84e7679ddb53c0d68836d220b6e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a29f6bf60f2590fe5e9c4decb451e19afad2bcf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eae074dab764ea181bbed5e88626889319177498"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23120.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23120"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d00fa9adc528c1b0e64d532556764852df8bd7b9"},{"fixed":"1f63ca44b4f419a1663d94d1bb0b4e2beb73fdb4"},{"fixed":"36c40a80109f1771d59558050b1a71e13c60c759"},{"fixed":"eae074dab764ea181bbed5e88626889319177498"},{"fixed":"68e92085427c84e7679ddb53c0d68836d220b6e7"},{"fixed":"3d6d414b214ce31659bded2f8df50c93a3769474"},{"fixed":"32d417497b79efb403d75f4c185fe6fd9d64b94f"},{"fixed":"7a29f6bf60f2590fe5e9c4decb451e19afad2bcf"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"15df699fdc5af46a9fb15ae2d9326294852de5b5"},{"last_affected":"18bdaefc715b4530b4b2fe670506bb47713664cc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23120.json"}}],"schema_version":"1.7.5"}