{"id":"CVE-2023-4206","state":"PUBLISHED","title":"Use-after-free in Linux kernel's net/sched: cls_route component","description":"A use-after-free vulnerability in the Linux kernel's net/sched: cls_route component can be exploited to achieve local privilege escalation.\n\nWhen route4_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 b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8.","publishedAt":"2023-09-06T13:53:05.197Z","updatedAt":"2025-02-13T17:09:16.643Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Google"},"assigner":"Google","products":["Linux Kernel"],"affected":[{"vendor":"Linux","product":"Kernel","packageName":"kernel","defaultStatus":"unaffected","versions":[{"version":"3.18","status":"affected","lessThan":"6.5","versionType":"custom"}],"repo":"https://git.kernel.org"}],"references":["https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8","https://kernel.dance/b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8","https://www.debian.org/security/2023/dsa-5492","https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/4xxx/CVE-2023-4206.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-4206","state":"PUBLISHED","datePublished":"2023-09-06T13:53:05.197Z","dateUpdated":"2025-02-13T17:09:16.643Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2023-08-07T13:02:24.450Z"},"containers":{"cna":{"title":"Use-after-free in Linux kernel's net/sched: cls_route component","descriptions":[{"lang":"en","value":"A use-after-free vulnerability in the Linux kernel's net/sched: cls_route component can be exploited to achieve local privilege escalation.\n\nWhen route4_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 b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8."}],"affected":[{"vendor":"Linux","product":"Kernel","packageName":"kernel","defaultStatus":"unaffected","versions":[{"version":"3.18","status":"affected","lessThan":"6.5","versionType":"custom"}],"repo":"https://git.kernel.org"}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8","tags":["patch"]},{"url":"https://kernel.dance/b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8"},{"url":"https://www.debian.org/security/2023/dsa-5492"},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416 Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2024-01-11T19:06:38.250Z"},"datePublic":"2023-08-01T03:10:37.000Z","impacts":[{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"CAPEC-233 Privilege Escalation"}]}],"credits":[{"lang":"en","value":"valis","user":"00000000-0000-4000-9000-000000000000","type":"finder"},{"lang":"en","value":"Bing-Jhong Billy Jheng","user":"00000000-0000-4000-9000-000000000000","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8","tags":["patch","x_transferred"]},{"url":"https://kernel.dance/b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5492","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T07:17:12.232Z"}}]}}}