Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26835
HistoryApr 17, 2024 - 10:10 a.m.

CVE-2024-26835 netfilter: nf_tables: set dormant flag on hook register failure

2024-04-1710:10:02
Linux
www.cve.org
linux kernel
netfilter
nf_tables
dormant flag
hook registration
memory pressure
table deletion
vulnerability

7.7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: set dormant flag on hook register failure

We need to set the dormant flag again if we fail to register
the hooks.

During memory pressure hook registration can fail and we end up
with a table marked as active but no registered hooks.

On table/base chain deletion, nf_tables will attempt to unregister
the hook again which yields a warn splat from the nftables core.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/netfilter/nf_tables_api.c"
    ],
    "versions": [
      {
        "version": "bf8083bbf8fa",
        "lessThan": "a6411f3c48f9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e10f661adc55",
        "lessThan": "ae4360cbd385",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d9c4da8cb74e",
        "lessThan": "31ea574aeca1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "179d9ba5559a",
        "lessThan": "664264a5c55b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "179d9ba5559a",
        "lessThan": "0c9302a6da26",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "179d9ba5559a",
        "lessThan": "f2135bbf1494",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "179d9ba5559a",
        "lessThan": "6f2496366426",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "179d9ba5559a",
        "lessThan": "bccebf647017",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/netfilter/nf_tables_api.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.270",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.211",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.150",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.80",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.19",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.7",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%