{
  "id": "CVE-2025-38018",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38018",
  "published_at": "2025-06-18T09:28:26.443Z",
  "title": "net/tls: fix kernel panic when alloc_page failed",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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\nnet/tls: fix kernel panic when alloc_page failed\n\nWe cannot set frag_list to NULL pointer when alloc_page failed.\nIt will be used in tls_strp_check_queue_ok when the next time\ntls_strp_read_sock is called.\n\nThis is because we don't reset full_len in tls_strp_flush_anchor_copy()\nso the recv path will try to continue handling the partial record\non the next call but we dettached the rcvq from the frag list.\nAlternative fix would be to reset full_len.\n\nUnable to handle kernel NULL pointer dereference\nat virtual address 0000000000000028\n Call trace:\n tls_strp_check_rcv+0x128/0x27c\n tls_strp_data_ready+0x34/0x44\n tls_data_ready+0x3c/0x1f0\n tcp_data_ready+0x9c/0xe4\n tcp_data_queue+0xf6c/0x12d0\n tcp_rcv_established+0x52c/0x798",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c 406d05da26835943568e61bb751c569efae071d4",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c a11b8c0be6acd0505a58ff40d474bd778b25b93a",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c 5f1f833cb388592bb46104463a1ec1b7c41975b6",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c 491deb9b8c4ad12fe51d554a69b8165b9ef9429f"
        ],
        "fixed_in": [
          "8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4",
          "406d05da26835943568e61bb751c569efae071d4",
          "a11b8c0be6acd0505a58ff40d474bd778b25b93a",
          "5f1f833cb388592bb46104463a1ec1b7c41975b6",
          "491deb9b8c4ad12fe51d554a69b8165b9ef9429f"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.0"
        ],
        "fixed_in": [
          "0",
          "6.1.140",
          "6.6.92",
          "6.12.30",
          "6.14.8",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4 or 406d05da26835943568e61bb751c569efae071d4 or a11b8c0be6acd0505a58ff40d474bd778b25b93a or 5f1f833cb388592bb46104463a1ec1b7c41975b6 or 491deb9b8c4ad12fe51d554a69b8165b9ef9429f or later.",
      "Upgrade Linux to 0 or 6.1.140 or 6.6.92 or 6.12.30 or 6.14.8 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
