{"id":"DEBIAN-CVE-2024-53211","details":"In the Linux kernel, the following vulnerability has been resolved:  net/l2tp: fix warning in l2tp_exit_net found by syzbot  In l2tp's net exit handler, we check that an IDR is empty before destroying it:  \tWARN_ON_ONCE(!idr_is_empty(&pn-\u003el2tp_tunnel_idr)); \tidr_destroy(&pn-\u003el2tp_tunnel_idr);  By forcing memory allocation failures in idr_alloc_32, syzbot is able to provoke a condition where idr_is_empty returns false despite there being no items in the IDR. This turns out to be because the radix tree of the IDR contains only internal radix-tree nodes and it is this that causes idr_is_empty to return false. The internal nodes are cleaned by idr_destroy.  Use idr_for_each to check that the IDR is empty instead of idr_is_empty to avoid the problem.","modified":"2026-09-15T09:02:37.781843690Z","published":"2024-12-27T14:15:29.017Z","upstream":["CVE-2024-53211"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-53211"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-53211.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-53211.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}