Bug 1215113 (CVE-2023-4207) - VUL-0: CVE-2023-4207: kernel-source-azure,kernel-source-rt,kernel-source: net/sched UAF
Summary: VUL-0: CVE-2023-4207: kernel-source-azure,kernel-source-rt,kernel-source: net...
Status: RESOLVED DUPLICATE of bug 1214149
Alias: CVE-2023-4207
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/377515/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-07 09:04 UTC by Cathy Hu
Modified: 2024-02-28 12:35 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cathy Hu 2023-09-07 09:04:08 UTC
CVE-2023-4207

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.



References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-4207
https://bugzilla.redhat.com/show_bug.cgi?id=2237757
https://www.cve.org/CVERecord?id=CVE-2023-4207
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76e42ae831991c828cffa8c37736ebfb831ad5ec
https://kernel.dance/76e42ae831991c828cffa8c37736ebfb831ad5ec
Comment 1 Cathy Hu 2023-09-07 09:04:39 UTC
I think CVE-2023-4207 is a duplicate to the fixing commit 76e42ae831991c828cffa8c37736ebfb831ad5ec "net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-fr
ee" described in CVE-2023-4128


I will talk to mitre
Comment 2 Cathy Hu 2023-09-12 07:17:26 UTC
Alphabet CNA has confirmed this to be a duplicate to bnc#1214149, closing as duplicate

*** This bug has been marked as a duplicate of bug 1214149 ***