7.0
HIGH CVSS 3.1
CVE-2024-27020
netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get() nft_unregister_expr() can concurrent with __nft_expr_type_get(), and there is not any protection when iterate over nf_tables_expressions list in __nft_expr_type_get(). Therefore, there is potential data-race of nf_tables_expressions list entry. Use list_for_each_entry_rcu() to iterate over nf_tables_expressions list in __nft_expr_type_get(), and use rcu_read_lock() in the caller nft_expr_type_get() to protect the entire type query process.

INFO

Published Date :

May 1, 2024, 6:15 a.m.

Last Modified :

Nov. 4, 2025, 6:16 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2024-27020 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
This addresses a Linux kernel data race vulnerability by updating kernel packages.
  • Update the affected kernel packages.
  • Reboot the system after updating the kernel.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-27020.

URL Resource
https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f Patch
https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907 Patch
https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5 Patch
https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05 Patch
https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a Patch
https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b Patch
https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c Patch
https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf Patch
https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f Patch
https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907 Patch
https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5 Patch
https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05 Patch
https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a Patch
https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b Patch
https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c Patch
https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-27020 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-27020 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-27020 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-27020 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 04, 2025

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f
    Added Reference https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907
    Added Reference https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5
    Added Reference https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05
    Added Reference https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a
    Added Reference https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b
    Added Reference https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c
    Added Reference https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 05, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 30, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-362
    Added CVSS V3.1 CISA-ADP AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 23, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f No Types Assigned https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f Patch
    Changed Reference Type https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907 No Types Assigned https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907 Patch
    Changed Reference Type https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5 No Types Assigned https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5 Patch
    Changed Reference Type https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05 No Types Assigned https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05 Patch
    Changed Reference Type https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a No Types Assigned https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a Patch
    Changed Reference Type https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b No Types Assigned https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b Patch
    Changed Reference Type https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c No Types Assigned https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c Patch
    Changed Reference Type https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf No Types Assigned https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf Patch
    Added CWE NIST CWE-362
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.13 up to (excluding) 4.19.313 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.275 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.216 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.157 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.29 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.8 *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 03, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://git.kernel.org/stable/c/939109c0a8e2a006a6cc8209e262d25065f4403a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/b38a133d37fa421c8447b383d788c9cc6f5cb34c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/934e66e231cff2b18faa2c8aad0b8cec13957e05 [No types assigned]
    Removed Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
    Removed Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
    Removed Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 03, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ [No types assigned]
    Added Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ [No types assigned]
    Added Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 01, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get() nft_unregister_expr() can concurrent with __nft_expr_type_get(), and there is not any protection when iterate over nf_tables_expressions list in __nft_expr_type_get(). Therefore, there is potential data-race of nf_tables_expressions list entry. Use list_for_each_entry_rcu() to iterate over nf_tables_expressions list in __nft_expr_type_get(), and use rcu_read_lock() in the caller nft_expr_type_get() to protect the entire type query process.
    Added Reference kernel.org https://git.kernel.org/stable/c/0b6de00206adbbfc6373b3ae38d2a6f197987907 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8d56bad42ac4c43c6c72ddd6a654a2628bf839c5 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a9ebf340d123ae12582210407f879d6a5a1bc25b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/01f1a678b05ade4b1248019c2dcca773aebbeb7f [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f969eb84ce482331a991079ab7a5c4dc3b7f89bf [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact