CVE-2024-27064

Source
https://cve.org/CVERecord?id=CVE-2024-27064
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27064.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27064
Downstream
Related
Published
2024-05-01T13:04:05.514Z
Modified
2026-03-14T12:30:07.072308Z
Summary
netfilter: nf_tables: Fix a memory leak in nf_tables_updchain
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftables: Fix a memory leak in nftables_updchain

If nftnetdevregisterhooks() fails, the memory associated with nftstats is not freed, causing a memory leak.

This patch fixes it by moving nftstatsalloc() down after nftnetdevregister_hooks() succeeds.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27064.json"
}
References

Affected packages

Git / 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 Unknown introduced commit / All previous commits are affected
Last affected
d131ce7a319d3bff68d5a9d5509bb22e4ce33946

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27064.json"