{"id":"CVE-2023-4208","aliases":["CVE-2023-4208"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in Linux kernel's net/sched: cls_u32 component","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de Use After Free en el componente net/sched: cls_u32 del kernel de Linux puede ser explotada para conseguir una escalada local de privilegios. Cuando se llama a u32_change() en un filtro existente, toda la estructura tcf_result se copia siempre en la nueva instancia del filtro. Esto causa un problema cuando se actualiza un filtro vinculado a una clase, ya que tcf_unbind_filter() siempre llama a la instancia antigua en la ruta de éxito, disminuyendo filter_cnt de la clase aún referenciada y permitiendo que se elimine, lo que lleva a un Use After Free. Recomendamos actualizar el commit a partir de 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.","source":"nvd"}],"published":"2023-09-06T13:53:23.843Z","modified":"2026-06-17T06:37:19.093Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"3.18","fixed":"6.5","status":"affected"}],"vendor":"Linux","product":"Kernel","package":"kernel","repo":"https://git.kernel.org","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.18","fixed":"4.14.322"},{"status":"affected","introduced":"4.15","fixed":"4.19.291"},{"status":"affected","introduced":"4.20","fixed":"5.4.253"},{"status":"affected","introduced":"5.5","fixed":"5.10.190"},{"status":"affected","introduced":"5.11","fixed":"5.15.126"},{"status":"affected","introduced":"5.16","fixed":"6.1.45"},{"status":"affected","introduced":"6.2","fixed":"6.4.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81","tags":["patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://kernel.dance/3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5492","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["valis","Muhammad Alifa Ramdhan of STAR Labs"],"assigner":"Google","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-4208","url":"https://www.cve.org/CVERecord?id=CVE-2023-4208","licence":"CVE Terms of Use","modified":"2025-02-13T17:09:17.757Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-4208","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4208","licence":"Public domain","modified":"2026-06-17T06:37:19.093Z"}],"updatedAt":"2026-11-25T22:58:27.723Z","epss":{"score":0.00315,"percentile":0.26291,"date":"2026-12-02T12:00:21.000Z"}}