Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b9703ed44ffbfba85c103b9de01886a225e14b38 to < 79846fdcc548d617b0b321addc6a3821d3b75b20affectedb9703ed44ffbfba85c103b9de01886a225e14b38 to < 4e4623a4f6e133e671f65f9ac493bddaaf63e250affectedb9703ed44ffbfba85c103b9de01886a225e14b38 to < e77a6b53a3a547b6dedfc40c37cee4f310701090affectedb9703ed44ffbfba85c103b9de01886a225e14b38 to < 7eaf837a4eb5f74561e2486972e7f5184b613f6eaffectedd131ce7a319d3bff68d5a9d5509bb22e4ce33946affected6.3.3 to < 6.4affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.6.23 to ≤ 6.6.*unaffected6.7.11 to ≤ 6.7.*unaffected6.8.2 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected