{
  "id": "CVE-2026-98229",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98229",
  "published_at": "2026-10-06T08:45:03.904Z",
  "title": "xfrm: save input state data before secpath resets",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: save input state data before secpath resets\n\nxfrm_input() stores the current xfrm_state in the skb secpath while it\ncontinues receive-side processing. Some input paths can reset that secpath\nbefore xfrm_input() has finished dereferencing the state.\n\nReceive callback users such as VTI and XFRM interfaces can reset the\nsecpath. The VTI receive path does so before checking whether the packet\ncrosses network namespaces, while the XFRM interface path does so only for\ncross-network-namespace packets. The XFRM_MAX_DEPTH error path can also\nreset the secpath before the final drop callback reports the current\nstate's protocol.\n\nIf secpath_reset() drops the last state reference while the state is\nconcurrently deleted, xfrm_input() can still dereference the freed state\nwhen selecting transport_finish() or reporting the drop callback protocol.\n\nSave the state protocol on the stack while the state is still valid,\nand use the already saved address family for transport_finish(). A larval\nXFRM_STATE_ACQ state has no type, so retain nexthdr as its protocol. This\npreserves the existing drop-path fallback while avoiding the post-reset\nstate dereferences without adding an extra state reference to every\nreceived packet.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0, \u003c 35de97850987b3d022ed17df5b2577242e746daf",
          "\u003e= df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0, \u003c 148db154066b066616b82c12d373e786eba1f96a",
          "\u003e= df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0, \u003c 537a5ae18b2be70f8eb0aca843682e81a69aab91",
          "\u003e= df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0, \u003c 3cf5cdecd99c9c186a5ea518d93bbf3045b6e3aa"
        ],
        "fixed_in": [
          "35de97850987b3d022ed17df5b2577242e746daf",
          "148db154066b066616b82c12d373e786eba1f96a",
          "537a5ae18b2be70f8eb0aca843682e81a69aab91",
          "3cf5cdecd99c9c186a5ea518d93bbf3045b6e3aa"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.15"
        ],
        "fixed_in": [
          "0",
          "6.12.112",
          "6.18.54",
          "7.2.8",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 35de97850987b3d022ed17df5b2577242e746daf or 148db154066b066616b82c12d373e786eba1f96a or 537a5ae18b2be70f8eb0aca843682e81a69aab91 or 3cf5cdecd99c9c186a5ea518d93bbf3045b6e3aa or later.",
      "Upgrade Linux to 0 or 6.12.112 or 6.18.54 or 7.2.8 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
