CVE-2024-40993: Linux kernel · netfilter: ipset: Fix suspicious rcu_dereference_protected()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 24 Nov 2026, 19:27 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-6.2pkg:deb/ubuntu/linux-azure-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-fde-5.19pkg:deb/ubuntu/linux-azure-fde-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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
- ubuntu.com/security/CVE-2024-40993 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-40993 (opens in a new tab)
- git.kernel.org/linus/8ecd06277a7664f4ef018abae3abd3451d64e7a6 (opens in a new tab)
- git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1 (opens in a new tab)
- git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a (opens in a new tab)
- git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2 (opens in a new tab)
- git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33 (opens in a new tab)
- git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4 (opens in a new tab)
- git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5 (opens in a new tab)
- git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6 (opens in a new tab)