A use-after-free vulnerability was found in the Linux kernel's netfilter subsystem in net/netfilter/nf_tables_api.c. Mishandled error handling with NFT_MSG_NEWRULE makes it possible to use a dangling pointer in the same transaction causing a use-after-free vulnerability. This flaw allows a local attacker with user access to cause a privilege escalation issue. We recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97.
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/stable/linux.git/commit/?id=1240eb93f0616b21c675416516ff3d74798fdc97 | patch mailing list |
https://kernel.dance/1240eb93f0616b21c675416516ff3d74798fdc97 | patch |
https://www.debian.org/security/2023/dsa-5448 | third party advisory |
https://www.debian.org/security/2023/dsa-5461 | third party advisory |
https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html | third party advisory |
https://security.netapp.com/advisory/ntap-20230818-0004/ | third party advisory |
http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html | third party advisory vdb entry |
https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html | third party advisory vdb entry |