Description
A use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component can be exploited to achieve local privilege escalation. If tcf_change_indev() fails, u32_set_parms() will immediately return an error after incrementing or decrementing the reference counter in tcf_bind_filter(). If an attacker can control the reference counter and set it to zero, they can cause the reference to be freed, leading to a use-after-free vulnerability. We recommend upgrading past commit 04c55383fa5689357bcdd2c8036725a55ed632bc.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Kernel
Default version status: unaffected
4.14.0 to < 4.14.322affected4.15.0 to < 4.19.291affected4.20.0 to < 5.4.248affected5.5.0 to < 5.10.185affected5.11.0 to < 5.15.118affected5.16.0 to < 6.1.35affected6.2.0 to < 6.3.9affected6.4.0unaffected04c55383fa5689357bcdd2c8036725a55ed632bcunaffected
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=04c55383fa5689357bcdd2c8036725a55ed632bc ↗
- https://kernel.dance/04c55383fa5689357bcdd2c8036725a55ed632bc ↗
- https://security.netapp.com/advisory/ntap-20230818-0005/ ↗
- https://www.debian.org/security/2023/dsa-5480 ↗
- http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html ↗
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html ↗
- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html ↗
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html ↗