A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. Flaw in the error handling of bound chains causes a use-after-free in the abort path of NFT_MSG_NEWRULE. The vulnerability requires CAP_NET_ADMIN to be triggered. We recommend upgrading past commit 4bedf9eee016286c835e3d8fa981ddece5338795.
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=4bedf9eee016286c835e3d8fa981ddece5338795 | patch vendor advisory mailing list |
https://kernel.dance/4bedf9eee016286c835e3d8fa981ddece5338795 | patch vendor 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 mailing list |
https://security.netapp.com/advisory/ntap-20230818-0005/ | third party advisory vdb entry |