{"id":"CVE-2023-4208","published":"2023-09-06T13:53:23Z","modified":"2025-02-13T17:09:17Z","title":"Use-after-free in Linux kernel's net/sched: cls_u32 component","vendor":"Linux","product":"Kernel","tier":"tail","description":{"text":"A use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component can be exploited to achieve local privilege escalation.\n\nWhen u32_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.\n\nWe recommend upgrading past commit 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00312,"percentile":0.24716,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81","tags":["patch"]},{"url":"https://kernel.dance/3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5492","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html","tags":[]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":4.94},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Kernel","versions":[">= 3.18, < 6.5"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"euvd":{"id":"EUVD-2023-54082","exploited":false,"provenance":"source"}}