Lucene search

K
cvelistLinuxCVELIST:CVE-2024-27403
HistoryMay 17, 2024 - 11:40 a.m.

CVE-2024-27403 netfilter: nft_flow_offload: reset dst in route object after setting up flow

2024-05-1711:40:17
Linux
www.cve.org
linux kernel
netfilter
nft_flow_offload

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

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

netfilter: nft_flow_offload: reset dst in route object after setting up flow

dst is transferred to the flow object, route object does not own it
anymore. Reset dst in route object, otherwise if flow_offload_add()
fails, error path releases dst twice, leading to a refcount underflow.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "include/net/netfilter/nf_flow_table.h",
      "net/netfilter/nf_flow_table_core.c"
    ],
    "versions": [
      {
        "version": "a3c90f7a2323",
        "lessThan": "4c167af9f6b5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a3c90f7a2323",
        "lessThan": "012df10717da",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a3c90f7a2323",
        "lessThan": "558b00a30e05",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a3c90f7a2323",
        "lessThan": "670548c8db44",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a3c90f7a2323",
        "lessThan": "9e0f0430389b",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "include/net/netfilter/nf_flow_table.h",
      "net/netfilter/nf_flow_table_core.c"
    ],
    "versions": [
      {
        "version": "4.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.16",
        "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"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%