Bug 2297577 (CVE-2024-40993) - CVE-2024-40993 kernel: netfilter: ipset: Fix suspicious rcu_dereference_protected()
Summary: CVE-2024-40993 kernel: netfilter: ipset: Fix suspicious rcu_dereference_prote...
Keywords:
Status: NEW
Alias: CVE-2024-40993
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:48 UTC by OSIDB Bzimport
Modified: 2024-08-30 12:56 UTC (History)
4 users (show)

Fixed In Version: kernel 6.1.96, kernel 6.6.36, kernel 6.9.7, kernel 6.10-rc5
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-12 13:48:13 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().


Note You need to log in before you can comment on or make changes to this bug.