Description
A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. If tcf_change_indev() fails, fw_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 0323bce598eea038714f941ce2b22541c46d488f.
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
2.6 to < 6.5affected
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=0323bce598eea038714f941ce2b22541c46d488f ↗
- https://kernel.dance/0323bce598eea038714f941ce2b22541c46d488f ↗
- https://www.debian.org/security/2023/dsa-5480 ↗
- https://www.debian.org/security/2023/dsa-5492 ↗
- 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://security.netapp.com/advisory/ntap-20240202-0003/ ↗