{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80848",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-80848"
  ],
  "published": "2026-09-04T15:53:40Z",
  "summary": "xfrm: espintcp: fix UAF during close",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: espintcp: fix UAF during close\n\nZDI reported and analyzed a race condition during close for espintcp\nsockets:\n\n    espintcp_close() frees emsg->skb via kfree_skb() without holding\n    any socket lock. Concurrently, the xfrm_trans_reinject work queue\n    invokes esp_output_tcp_finish() -> espintcp_push_skb() ->\n    espintcp_push_msgs() -> skb_send_sock_locked(), which reads the\n    same skb as a data source.\n\nFix this by adding a synchronize_rcu() call after resetting sk_prot,\nsince esp_output_tcp_finish() runs under RCU and won't use a socket\nwith sk_prot == &tcp_prot.  Simply taking the socket lock in\nespintcp_close() could lead to leaks, if esp_output_tcp_finish()\nre-adds an skb in the slot we just freed. After this, the existing\nbarrier() is no longer needed.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.187",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80848"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/29121c5e6591da527e8e36ddac7120dc527f574d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ed5d9102190c45fc70121c036b0626b740040b75"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4bc0dfa28dca6fc0084203732695968049c44072"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ff8dd7a932f34409a56e1b91a1219340f17457e9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4b31a875693c480c611519faca46216514e3e052"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/24efebecf415ba264adba0f0491cec436463a14f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/eb3bbf29c723fe75c0eb92be14f0ec92971fe272"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/54b41ad14da9a981131ab6e4d3f79321a503ea5d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/deb232e884877bf10b4ce2580909eedec986c284"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-04T15:53:40Z"
  }
}
