CVE-2024-27064

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

23 Dec 2024, 14:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250 - () https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250 - Patch
References () https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20 - () https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20 - Patch
References () https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e - () https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e - Patch
References () https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090 - () https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090 - Patch
First Time Linux
Linux linux Kernel
CWE CWE-401
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

21 Nov 2024, 09:03

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250 - () https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250 -
References () https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20 - () https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20 -
References () https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e - () https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e -
References () https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090 - () https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090 -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nf_tables: corrige una pérdida de memoria en nf_tables_updchain Si nft_netdev_register_hooks() falla, la memoria asociada con nft_stats no se libera, lo que provoca una pérdida de memoria. Este parche lo soluciona moviendo nft_stats_alloc() hacia abajo después de que nft_netdev_register_hooks() tenga éxito.

01 May 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-01 13:15

Updated : 2024-12-23 14:17


NVD link : CVE-2024-27064

Mitre link : CVE-2024-27064

CVE.ORG link : CVE-2024-27064


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime