Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.150, 6.1.80, 6.6.19, 6.7.7
CVEs
CVE-2024-27403
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 23:16 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 17 May 2024, 11:40 UTC

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.

osv:CVE-2024-27403

Kernel

Fixed versions: 5.15.150, 6.1.80, 6.6.19, 6.7.7

Complete source record
{
  "id": "7d2a965d9eb2ec4c45947a7467c520bcc6daea0c9b4b4ead567ce80fc0239b00",
  "url": "https://osv.dev/vulnerability/CVE-2024-27403",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "netfilter: nft_flow_offload: reset dst in route object after setting up flow",
    "summary": "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.",
    "evidence": "osv:CVE-2024-27403",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.150",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.80",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.7.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-27403",
      "aliases": [
        "CVE-2024-27403"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a3c90f7a2323b331ae816d5b0633e68148e25d04"
                },
                {
                  "fixed": "4c167af9f6b5ae4a5dbc243d5983c295ccc2e43c"
                },
                {
                  "fixed": "012df10717da02367aaf92c65f9c89db206c15f4"
                },
                {
                  "fixed": "558b00a30e05753a62ecc7e05e939ca8f0241148"
                },
                {
                  "fixed": "670548c8db44d76e40e1dfc06812bca36a61e9ae"
                },
                {
                  "fixed": "9e0f0430389be7696396c62f037be4bf72cf93e3"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27403.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.16.0"
                },
                {
                  "fixed": "5.15.150"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.80"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.7.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27403.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.468127762Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/012df10717da02367aaf92c65f9c89db206c15f4",
        "https://git.kernel.org/stable/c/4c167af9f6b5ae4a5dbc243d5983c295ccc2e43c",
        "https://git.kernel.org/stable/c/558b00a30e05753a62ecc7e05e939ca8f0241148",
        "https://git.kernel.org/stable/c/670548c8db44d76e40e1dfc06812bca36a61e9ae",
        "https://git.kernel.org/stable/c/9e0f0430389be7696396c62f037be4bf72cf93e3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27403.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-27403",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27403.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-27403",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490814,
  "published_at": "2024-05-17T11:40:17.992+00:00"
}