Local privilege escalation in Linux kernel cls_u32
CVE-2023-3609 is a use-after-free vulnerability in the Linux kernel's cls_u32 traffic-control classifier. When tcf_change_indev() fails, u32_set_parms() immediately returns an error after tcf_bind_filter() has modified a reference counter, leaving reference accounting inconsistent. An attacker able to manipulate the affected counter to zero can cause premature object deallocation and subsequent use-after-free, potentially enabling local privilege escalation.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow a local attacker to escalate privileges through a kernel use-after-free, potentially compromising the affected system beyond the attacker's original permissions.
If you can’t patch tonight, do this now.
Limit untrusted users' ability to administer traffic-control configuration, including access to network namespaces and privileges that permit netlink traffic-control operations. Restrict unprivileged local code execution where practical until a fixed kernel or live patch is deployed.
Patch, then assume compromise.
Update to a Linux kernel incorporating upstream fix commit 04c55383fa5689357bcdd2c8036725a55ed632bc or the corresponding vendor backport. Fixed vendor builds include RHEL 7 kernel 3.10.0-1160.102.1.el7 and RHEL 8.6 kernel 4.18.0-372.80.1.el8_6 for their respective product channels. Reboot after a conventional kernel update. Supported RHEL deployments can alternatively apply the applicable vendor kpatch-patch update, which patches the running kernel without a conventional reboot.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
41 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.