CVE-2026-98442 (GCVE-0-2026-98442)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:14 – Updated: 2026-10-24 14:08
VLAI
Title
net/sched: act_ct: fix helper UAF due to extensions realloc
Summary
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix helper UAF due to extensions realloc While calling the helpers, a raw pointer to the extensions area is wired into expectations list: -> nf_ct_helper() -> helper->help() -> nf_ct_expect_related_report() -> nf_ct_expect_insert() -> hlist_add_head_rcu(&exp->lnode, &master_help->expectations) In case the connection is not confirmed yet, more extensions can be added afterwards with *_ext_add() calls reallocating the extension space and leaving the now invalid pointer in the expectations list that is later accessed while removing the expectation. Make sure that helpers are called at the end after all the other extensions are already added. Note that the helper rejection now leaves the mark and labels set, but that's not different from how the NAT was handled before or how the mark and the labels were handled on confirmation failure. And there are no atomicity guarantees provided by the API anyway.
Impacted products
Vendor Product Version
Linux Linux Affected: a21b06e7319129994f339ed47f512bbe57b77f5b , < 31f5fe29a572037ee19c233dfe506849940c484b (git)
Affected: a21b06e7319129994f339ed47f512bbe57b77f5b , < 1679bbf5fbeac52a310b1a58b2b301bbf388bdbf (git)
Affected: a21b06e7319129994f339ed47f512bbe57b77f5b , < 812c16a255e7773a544e88b39ae6daed25544d30 (git)
Affected: a21b06e7319129994f339ed47f512bbe57b77f5b , < 8988f4d11f3fba0ab38122178836c683ad516a05 (git)
Affected: a21b06e7319129994f339ed47f512bbe57b77f5b , < dad19b59da050cb60d3f7023dac2a042a84bf0bd (git)
Create a notification for this product.
Linux Linux Affected: 6.2
Unaffected: 0 , < 6.2 (semver)
Unaffected: 6.6.160 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sched/act_ct.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "31f5fe29a572037ee19c233dfe506849940c484b",
              "status": "affected",
              "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
              "versionType": "git"
            },
            {
              "lessThan": "1679bbf5fbeac52a310b1a58b2b301bbf388bdbf",
              "status": "affected",
              "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
              "versionType": "git"
            },
            {
              "lessThan": "812c16a255e7773a544e88b39ae6daed25544d30",
              "status": "affected",
              "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
              "versionType": "git"
            },
            {
              "lessThan": "8988f4d11f3fba0ab38122178836c683ad516a05",
              "status": "affected",
              "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
              "versionType": "git"
            },
            {
              "lessThan": "dad19b59da050cb60d3f7023dac2a042a84bf0bd",
              "status": "affected",
              "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/act_ct.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_ct: fix helper UAF due to extensions realloc\n\nWhile calling the helpers, a raw pointer to the extensions area is\nwired into expectations list:\n\n  -\u003e nf_ct_helper()\n   -\u003e helper-\u003ehelp()\n    -\u003e nf_ct_expect_related_report()\n     -\u003e nf_ct_expect_insert()\n      -\u003e hlist_add_head_rcu(\u0026exp-\u003elnode, \u0026master_help-\u003eexpectations)\n\nIn case the connection is not confirmed yet, more extensions can be\nadded afterwards with *_ext_add() calls reallocating the extension\nspace and leaving the now invalid pointer in the expectations list\nthat is later accessed while removing the expectation.\n\nMake sure that helpers are called at the end after all the other\nextensions are already added.\n\nNote that the helper rejection now leaves the mark and labels set,\nbut that\u0027s not different from how the NAT was handled before or how\nthe mark and the labels were handled on confirmation failure.  And\nthere are no atomicity guarantees provided by the API anyway."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug requires a locally supplied RTM_NEWTFILTER action containing TCA_CT_HELPER_NAME and COMMIT, parsed by tcf_ct_init(); a helper-recognized packet then reaches the patched tcf_ct_act(). The packet does not carry the extension-layout/action data, so this is local tc/netlink reachability.\nAC:L - The same actor can choose the helper, COMMIT, and extension state, send a packet such as a TFTP RRQ/WRQ to make nf_ct_expect_insert() link an expectation, groom krealloc, and trigger removal; no race or independent victim state is required.\nPR:L - rtnetlink_rcv_msg() gates a bound RTM_NEWTFILTER action with netlink_net_capable(CAP_NET_ADMIN) against the network namespace\u0027s user_ns. An unprivileged user can obtain that capability in a new user and network namespace.\nUI:N - The attacker installs the clsact/flower action and supplies the helper-recognized trigger traffic themselves; no separate victim action is required.\nS:U - The dangling nf_conn_help.expectations link corrupts memory within the same host kernel security authority; it does not cross a VM, IOMMU, or other scope boundary.\nC:H - After nf_ct_ext_add() moves the extension allocation, exp-\u003elnode.pprev still targets freed storage; reclaiming that storage creates an exploitable kernel UAF capable of memory disclosure.\nI:H - nf_ct_unlink_expect_report() calls hlist_del_rcu(), which writes the expectation\u0027s next pointer through stale exp-\u003elnode.pprev into reclaimed heap memory, enabling heap corruption and potential control-flow hijacking.\nA:H - nf_ct_remove_expectations() or nf_ct_expectation_gc() eventually performs the stale list write, which can corrupt kernel heap objects and cause an oops or panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:08:50.801Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/31f5fe29a572037ee19c233dfe506849940c484b"
        },
        {
          "url": "https://git.kernel.org/stable/c/1679bbf5fbeac52a310b1a58b2b301bbf388bdbf"
        },
        {
          "url": "https://git.kernel.org/stable/c/812c16a255e7773a544e88b39ae6daed25544d30"
        },
        {
          "url": "https://git.kernel.org/stable/c/8988f4d11f3fba0ab38122178836c683ad516a05"
        },
        {
          "url": "https://git.kernel.org/stable/c/dad19b59da050cb60d3f7023dac2a042a84bf0bd"
        }
      ],
      "title": "net/sched: act_ct: fix helper UAF due to extensions realloc",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98442",
    "datePublished": "2026-10-18T15:14:52.614Z",
    "dateReserved": "2026-09-25T10:25:14.349Z",
    "dateUpdated": "2026-10-24T14:08:50.801Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98442",
      "date": "2026-11-17",
      "epss": "0.00129",
      "percentile": "0.0261"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-12T17:52:47.000Z",
      "cve": "CVE-2026-98442",
      "id": "msrc_CVE-2026-98442",
      "initial_release_date": "2026-10-20T01:08:41.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "3",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net/sched: act_ct: fix helper UAF due to extensions realloc",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98442.json",
      "version": "7"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/sched/act_ct.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "31f5fe29a572037ee19c233dfe506849940c484b",
                    "status": "affected",
                    "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1679bbf5fbeac52a310b1a58b2b301bbf388bdbf",
                    "status": "affected",
                    "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "812c16a255e7773a544e88b39ae6daed25544d30",
                    "status": "affected",
                    "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8988f4d11f3fba0ab38122178836c683ad516a05",
                    "status": "affected",
                    "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dad19b59da050cb60d3f7023dac2a042a84bf0bd",
                    "status": "affected",
                    "version": "a21b06e7319129994f339ed47f512bbe57b77f5b",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/sched/act_ct.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.2"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.160",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_ct: fix helper UAF due to extensions realloc\n\nWhile calling the helpers, a raw pointer to the extensions area is\nwired into expectations list:\n\n  -\u003e nf_ct_helper()\n   -\u003e helper-\u003ehelp()\n    -\u003e nf_ct_expect_related_report()\n     -\u003e nf_ct_expect_insert()\n      -\u003e hlist_add_head_rcu(\u0026exp-\u003elnode, \u0026master_help-\u003eexpectations)\n\nIn case the connection is not confirmed yet, more extensions can be\nadded afterwards with *_ext_add() calls reallocating the extension\nspace and leaving the now invalid pointer in the expectations list\nthat is later accessed while removing the expectation.\n\nMake sure that helpers are called at the end after all the other\nextensions are already added.\n\nNote that the helper rejection now leaves the mark and labels set,\nbut that\u0027s not different from how the NAT was handled before or how\nthe mark and the labels were handled on confirmation failure.  And\nthere are no atomicity guarantees provided by the API anyway."
          }
        ],
        "id": "CVE-2026-98442",
        "lastModified": "2026-10-24T14:16:42.080",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-18T16:16:54.503",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1679bbf5fbeac52a310b1a58b2b301bbf388bdbf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/31f5fe29a572037ee19c233dfe506849940c484b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/812c16a255e7773a544e88b39ae6daed25544d30"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8988f4d11f3fba0ab38122178836c683ad516a05"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dad19b59da050cb60d3f7023dac2a042a84bf0bd"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-11-12T03:06:49+00:00",
      "cve": "CVE-2026-98442",
      "id": "CVE-2026-98442",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:fixed": "360",
      "product_status:known_affected": "25",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net/sched: act_ct: fix helper UAF due to extensions realloc",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98442.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-11T01:00:42Z",
      "cve": "CVE-2026-98442",
      "id": "CVE-2026-98442",
      "initial_release_date": "2026-10-18T23:46:48Z",
      "product_status:known_affected": "65",
      "product_status:known_not_affected": "286",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98442",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98442.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…