{"id":"CVE-2024-27064","summary":"netfilter: nf_tables: Fix a memory leak in nf_tables_updchain","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: Fix a memory leak in nf_tables_updchain\n\nIf nft_netdev_register_hooks() fails, the memory associated with\nnft_stats is not freed, causing a memory leak.\n\nThis patch fixes it by moving nft_stats_alloc() down after\nnft_netdev_register_hooks() succeeds.","modified":"2026-03-20T12:35:23.066618Z","published":"2024-05-01T13:04:05.514Z","related":["SUSE-SU-2024:2802-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27064.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27064.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27064"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b9703ed44ffbfba85c103b9de01886a225e14b38"},{"fixed":"79846fdcc548d617b0b321addc6a3821d3b75b20"},{"fixed":"4e4623a4f6e133e671f65f9ac493bddaaf63e250"},{"fixed":"e77a6b53a3a547b6dedfc40c37cee4f310701090"},{"fixed":"7eaf837a4eb5f74561e2486972e7f5184b613f6e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"d131ce7a319d3bff68d5a9d5509bb22e4ce33946"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27064.json"}}],"schema_version":"1.7.5"}