Bug 1223740 (CVE-2024-27064) - VUL-0: CVE-2024-27064: kernel: netfilter: nf_tables: Fix a memory leak in nf_tables_updchain
Summary: VUL-0: CVE-2024-27064: kernel: netfilter: nf_tables: Fix a memory leak in nf_...
Status: NEW
Alias: CVE-2024-27064
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/403855/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-27064:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 12:33 UTC by SMASH SMASH
Modified: 2024-07-15 11:34 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-02 12:33:48 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-27064
https://www.cve.org/CVERecord?id=CVE-2024-27064
https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250
https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20
https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e
https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-27064.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2278382