Bug 1227795 (CVE-2024-40993) - VUL-0: CVE-2024-40993: kernel: netfilter: ipset: Fix suspicious rcu_dereference_protected()
Summary: VUL-0: CVE-2024-40993: kernel: netfilter: ipset: Fix suspicious rcu_dereferen...
Status: RESOLVED FIXED
Alias: CVE-2024-40993
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413920/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-40993:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 12:32 UTC by SMASH SMASH
Modified: 2024-07-15 12:41 UTC (History)
1 user (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-07-15 12:32:04 UTC
In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: Fix suspicious rcu_dereference_protected()

When destroying all sets, we are either in pernet exit phase or
are executing a "destroy all sets command" from userspace. The latter
was taken into account in ip_set_dereference() (nfnetlink mutex is held),
but the former was not. The patch adds the required check to
rcu_dereference_protected() in ip_set_dereference().

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40993
https://www.cve.org/CVERecord?id=CVE-2024-40993
https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1
https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5
https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2
https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a
https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33
https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6
https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40993.mbox
Comment 1 Robert Frohl 2024-07-15 12:41:48 UTC
does not affect our kernels, closing