Hexret
CVE-2024-1086high 7.8PoC available

Linux nf_tables double-free via unvalidated verdict (CVE-2024-1086)

A packet-verdict validator checks only the masked action bits, so a DROP verdict carrying a positive error field slips through; the drop path then frees the packet and returns that positive value as an accept, freeing it a second time.

Product
Linux kernel (netfilter: nf_tables)
Vendor
Linux
Affected
3.15 through 6.8 (before 5.15.149, 6.1.76, 6.6.15, 6.7.3)
Fixed in
5.15.149, 6.1.76, 6.6.15, 6.7.3 (commit f342de4e2f33)
Weakness
CWE-416
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
31 Jan 2024

Practice this CVE, free

Classified as

References

Related CVEs

  • CVE-2023-3269high 7.82023

    StackRot: maple-tree VMA node freed under the read lock

    Linux kernel (memory management, maple-tree VMA store) · CWE-416

    During stack expansion the kernel replaces a node in the RCU-safe VMA tree and frees the old node, while holding only the shared read lock, so a concurrent read-lock-only lookup can dereference the freed node.

  • CVE-2019-2215high 7.82019

    Bad Binder: freed binder thread still on an epoll waitlist

    Android / Linux kernel Binder driver (drivers/android/binder.c) · CWE-416

    A device thread hands its wait queue to epoll, then a thread-exit path frees the thread without removing that registration, so epoll cleanup later dereferences freed kernel memory.

  • CVE-2019-0708critical 9.82019

    BlueKeep: Windows RDP MS_T120 pre-auth use-after-free (CVE-2019-0708)

    Microsoft Remote Desktop Services / RDP (termdd.sys) · CWE-416

    RDP binds the internal channel MS_T120 to a fixed slot, but a client can bind that same name to a second slot too. On teardown the channel object is freed once while the duplicate binding still points at it, so a later channel operation dereferences a dangling pointer: a pre-authentication, wormable use-after-free. So dangerous that Microsoft shipped out-of-band patches even for out-of-support Windows XP and Server 2003, and the NSA issued a rare public advisory urging patching for fear of a WannaCry-scale worm.

  • CVE-2017-9798high 7.52017

    Optionsbleed: a request-pool method enters a global table

    Apache HTTP Server runtime method registration and OPTIONS handling · CWE-416

    An unrecognized method in a per-directory Limit directive was registered globally using memory owned by temporary `.htaccess` processing. After that pool was freed, an OPTIONS response walked stale method-name pointers and could reflect process memory in its Allow header.