CVE-2024-1086

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_verdict_init() function allows positive values as drop error within the hook verdict, and hence the nf_hook_slow() function can cause a double free vulnerability when NF_DROP is issued with a drop error which resembles NF_ACCEPT. We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660.
References
Link Resource
http://www.openwall.com/lists/oss-security/2024/04/10/22 Mailing List Patch
http://www.openwall.com/lists/oss-security/2024/04/10/23 Mailing List Patch
http://www.openwall.com/lists/oss-security/2024/04/14/1 Exploit Mailing List
http://www.openwall.com/lists/oss-security/2024/04/15/2 Mailing List
http://www.openwall.com/lists/oss-security/2024/04/17/5 Exploit Mailing List
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660 Patch
https://github.com/Notselwyn/CVE-2024-1086 Exploit Third Party Advisory
https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660 Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html Mailing List
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/ Mailing List
https://news.ycombinator.com/item?id=39828424 Issue Tracking
https://pwning.tech/nftables/ Exploit Technical Description Third Party Advisory
https://security.netapp.com/advisory/ntap-20240614-0009/ Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/10/22 Mailing List Patch
http://www.openwall.com/lists/oss-security/2024/04/10/23 Mailing List Patch
http://www.openwall.com/lists/oss-security/2024/04/14/1 Exploit Mailing List
http://www.openwall.com/lists/oss-security/2024/04/15/2 Mailing List
http://www.openwall.com/lists/oss-security/2024/04/17/5 Exploit Mailing List
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660 Patch
https://github.com/Notselwyn/CVE-2024-1086 Exploit Third Party Advisory
https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660 Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html Mailing List
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7LSPIOMIJYTLZB6QKPQVVAYSUETUWKPF/ Mailing List
https://news.ycombinator.com/item?id=39828424 Issue Tracking
https://pwning.tech/nftables/ Exploit Technical Description Third Party Advisory
https://security.netapp.com/advisory/ntap-20240614-0009/ Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0_s390x:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:7.0_ppc64:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0_ppc64le:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Configuration 5 (hide)

AND
cpe:2.3:o:netapp:a250_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:a250:-:*:*:*:*:*:*:*

Configuration 6 (hide)

AND
cpe:2.3:o:netapp:500f_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:500f:-:*:*:*:*:*:*:*

Configuration 7 (hide)

AND
cpe:2.3:o:netapp:c250_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:c250:-:*:*:*:*:*:*:*

History

13 Feb 2025, 18:16

Type Values Removed Values Added
Summary (en) A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_verdict_init() function allows positive values as drop error within the hook verdict, and hence the nf_hook_slow() function can cause a double free vulnerability when NF_DROP is issued with a drop error which resembles NF_ACCEPT. We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660. (en) A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_verdict_init() function allows positive values as drop error within the hook verdict, and hence the nf_hook_slow() function can cause a double free vulnerability when NF_DROP is issued with a drop error which resembles NF_ACCEPT. We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660.

27 Jan 2025, 20:55

Type Values Removed Values Added
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html - Mailing List
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - Mailing List

Information

Published : 2024-01-31 13:15

Updated : 2025-04-02 20:32


NVD link : CVE-2024-1086

Mitre link : CVE-2024-1086

CVE.ORG link : CVE-2024-1086


JSON object : View

Products Affected

redhat

  • enterprise_linux_workstation
  • enterprise_linux_desktop
  • enterprise_linux_for_power_little_endian
  • enterprise_linux_for_power_big_endian
  • enterprise_linux_server
  • enterprise_linux_for_ibm_z_systems

netapp

  • a250_firmware
  • 500f_firmware
  • c250_firmware
  • a250
  • 500f
  • c250

debian

  • debian_linux

fedoraproject

  • fedora

linux

  • linux_kernel
CWE
CWE-416

Use After Free