{
  "id": "CVE-2026-64025",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64025",
  "published_at": "2026-07-19T15:39:17.178Z",
  "title": "bpf, skmsg: fix verdict sk_data_ready racing with ktls rx",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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\nbpf, skmsg: fix verdict sk_data_ready racing with ktls rx\n\nsk_psock_strp_data_ready() already checks tls_sw_has_ctx_rx() and\ndefers to psock-\u003esaved_data_ready when a TLS RX context is present,\navoiding a conflict with the TLS strparser's ownership of the receive\nqueue (commit e91de6afa81c, \"bpf: Fix running sk_skb program types\nwith ktls\").\n\nsk_psock_verdict_data_ready() has no equivalent guard.  When a socket\nis inserted into a sockmap (BPF_SK_SKB_VERDICT) before TLS RX is\nconfigured, tls_sw_strparser_arm() saves sk_psock_verdict_data_ready\nas rx_ctx-\u003esaved_data_ready.  On data arrival:\n\n  tls_data_ready -\u003e tls_strp_data_ready -\u003e tls_rx_msg_ready\n    -\u003e saved_data_ready() = sk_psock_verdict_data_ready()\n      -\u003e tcp_read_skb() drains sk_receive_queue via __skb_unlink()\n         without calling tcp_eat_skb(), so copied_seq is not advanced.\n\ntls_strp_msg_load() then finds tcp_inq() \u003e= full_len (stale), calls\ntcp_recv_skb() on the now-empty queue, hits WARN_ON_ONCE(!first), and\nreturns with rx_ctx-\u003estrp.anchor.frag_list pointing at a psock-owned\n(potentially freed) skb.  tls_decrypt_sg() subsequently walks that\nfrag_list: use-after-free.\n\nApply the same fix as sk_psock_strp_data_ready(): if a TLS RX context\nis present, call psock-\u003esaved_data_ready (sock_def_readable) to wake\nrecv() waiters and return immediately, leaving the receive queue\nuntouched.  TLS retains sole ownership of the queue and decrypts the\nrecord normally through tls_sw_recvmsg().",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \u003c d698bdba0f9969a6e390d1b1a9a3e283f1f174a7",
          "\u003e= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \u003c c9ea01768903ae47f210cd457af1dead6de7a9c3",
          "\u003e= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \u003c 7c8cf21bc4efb4af18d6096db3f8bd06d622251c",
          "\u003e= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \u003c 1861d369efd62d67796563bf3e01fc22e5626f8b",
          "\u003e= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \u003c 8a52139560f833c3975032e1f5762611e3a36d71",
          "\u003e= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \u003c ddf8029623a1af20e984c040e89ff918158397ab"
        ],
        "fixed_in": [
          "d698bdba0f9969a6e390d1b1a9a3e283f1f174a7",
          "c9ea01768903ae47f210cd457af1dead6de7a9c3",
          "7c8cf21bc4efb4af18d6096db3f8bd06d622251c",
          "1861d369efd62d67796563bf3e01fc22e5626f8b",
          "8a52139560f833c3975032e1f5762611e3a36d71",
          "ddf8029623a1af20e984c040e89ff918158397ab"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.10"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.142",
          "6.12.92",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d698bdba0f9969a6e390d1b1a9a3e283f1f174a7 or c9ea01768903ae47f210cd457af1dead6de7a9c3 or 7c8cf21bc4efb4af18d6096db3f8bd06d622251c or 1861d369efd62d67796563bf3e01fc22e5626f8b or 8a52139560f833c3975032e1f5762611e3a36d71 or ddf8029623a1af20e984c040e89ff918158397ab or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
