Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix a memory leak in nf_tables_updchain If nft_netdev_register_hooks() fails, the memory associated with nft_stats is not freed, causing a memory leak. This patch fixes it by moving nft_stats_alloc() down after nft_netdev_register_hooks() succeeds.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b9703ed44ffbfba85c103b9de01886a225e14b38 before 79846fdcc548d617b0b321addc6a3821d3b75b20; affected b9703ed44ffbfba85c103b9de01886a225e14b38 before 4e4623a4f6e133e671f65f9ac493bddaaf63e250; affected b9703ed44ffbfba85c103b9de01886a225e14b38 before e77a6b53a3a547b6dedfc40c37cee4f310701090; affected b9703ed44ffbfba85c103b9de01886a225e14b38 before 7eaf837a4eb5f74561e2486972e7f5184b613f6e; affected d131ce7a319d3bff68d5a9d5509bb22e4ce33946; affected 6.3.3 before 6.4 |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.6.23 through 6.6.*; unaffected 6.7.11 through 6.7.*; unaffected 6.8.2 through 6.8.*; unaffected 6.9 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20
- https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250
- https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090
- https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.