{"id":"CVE-2023-4207","aliases":["CVE-2023-4207"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in Linux kernel's net/sched: cls_fw component","summary":"A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation.\n\nWhen fw_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 76e42ae831991c828cffa8c37736ebfb831ad5ec.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation.\n\nWhen fw_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 76e42ae831991c828cffa8c37736ebfb831ad5ec.","source":"cvelist"},{"lang":"es","text":"Se puede explotar una vulnerabilidad de use-after-free en el componente Linux kernel's net/sched: cls_fw para conseguir una escalada local de privilegios. Cuando se llama a fw_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 76e42ae831991c828cffa8c37736ebfb831ad5ec.","source":"nvd"}],"published":"2023-09-06T13:53:22.834Z","modified":"2026-06-17T06:37:18.963Z","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.326"},{"status":"affected","introduced":"4.15","fixed":"4.19.295"},{"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=76e42ae831991c828cffa8c37736ebfb831ad5ec","tags":["issue-tracking","mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://kernel.dance/76e42ae831991c828cffa8c37736ebfb831ad5ec","tags":["patch","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":["mailing-list","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["valis","Bing-Jhong Billy Jheng"],"assigner":"Google","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-4207","url":"https://www.cve.org/CVERecord?id=CVE-2023-4207","licence":"CVE Terms of Use","modified":"2025-02-13T17:09:17.204Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-4207","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4207","licence":"Public domain","modified":"2026-06-17T06:37:18.963Z"}],"updatedAt":"2026-11-25T22:58:27.722Z","epss":{"score":0.00316,"percentile":0.26435,"date":"2026-12-02T12:00:21.000Z"}}