7.8
CWE
416
Advisory Published
Advisory Published
Updated

CVE-2023-4207: Use-after-free in Linux kernel's net/sched: cls_fw component

First published: Wed Sep 06 2023(Updated: )

A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. When 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. We recommend upgrading past commit 76e42ae831991c828cffa8c37736ebfb831ad5ec.

Credit: cve-coordination@google.com

Affected SoftwareAffected VersionHow to fix
debian/linux<=4.19.249-2<=4.19.289-2
5.10.197-1
5.10.191-1
6.1.66-1
6.1.69-1
6.5.13-1
6.6.9-1
F5 Traffix Systems Signaling Delivery Controller>=1<=5=5.2.0
5.2.0
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager<=ISVG 10.0.2
Linux kernel<6.5
Debian=12.0
Linux Kernel>=3.18<4.14.326
Linux Kernel>=4.15<4.19.295
Linux Kernel>=4.20<5.4.253
Linux Kernel>=5.5<5.10.190
Linux Kernel>=5.11<5.15.126
Linux Kernel>=5.16<6.1.45
Linux Kernel>=6.2<6.4.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-4207?

    CVE-2023-4207 is a use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component that can be exploited to achieve local privilege escalation.

  • How severe is CVE-2023-4207?

    CVE-2023-4207 has a severity rating of 7.8 (High).

  • Which software is affected by CVE-2023-4207?

    CVE-2023-4207 affects the Linux Kernel versions up to 6.5, Debian Linux 12.0, and certain versions of the 'linux' package from the Debian repository.

  • How can CVE-2023-4207 be fixed on Linux?

    To fix CVE-2023-4207 on Linux, it is recommended to update to version 5.10.191-1, 6.1.52-1, or 6.5.3-1 of the 'linux' package provided by the Debian repository, or update to a patched version of the Linux Kernel.

  • Are there any references for CVE-2023-4207?

    Yes, you can find references for CVE-2023-4207 at the following URLs: [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76e42ae831991c828cffa8c37736ebfb831ad5ec [2] https://kernel.dance/76e42ae831991c828cffa8c37736ebfb831ad5ec [3] https://www.debian.org/security/2023/dsa-5492

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203