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.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=0323bce598eea038714f941ce2b22541c46d488f | patch vendor advisory mailing list |
https://kernel.dance/0323bce598eea038714f941ce2b22541c46d488f | patch vendor advisory |
https://www.debian.org/security/2023/dsa-5480 | third party advisory |
https://www.debian.org/security/2023/dsa-5492 | third party advisory |
http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html | third party advisory vdb entry |
https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html | third party advisory mailing list |
http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html | third party advisory vdb entry |
https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html | third party advisory mailing list |
https://security.netapp.com/advisory/ntap-20240202-0003/ | third party advisory |