{
  "id": "CVE-2025-21927",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21927",
  "published_at": "2025-04-01T15:40:58.432Z",
  "title": "nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()",
  "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\nnvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()\n\nnvme_tcp_recv_pdu() doesn't check the validity of the header length.\nWhen header digests are enabled, a target might send a packet with an\ninvalid header length (e.g. 255), causing nvme_tcp_verify_hdgst()\nto access memory outside the allocated area and cause memory corruptions\nby overwriting it with the calculated digest.\n\nFix this by rejecting packets with an unexpected header length.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "cna": 9.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \u003c 3b54109b2f771f74fd53b027429796326f84ab36",
          "\u003e= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \u003c 9d22cf5cc94cd7dee84773ec41db78a46107dfa3",
          "\u003e= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \u003c 9fbc953d6b38bc824392e01850f0aeee3b348722",
          "\u003e= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \u003c 22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126",
          "\u003e= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \u003c ad95bab0cd28ed77c2c0d0b6e76e03e031391064"
        ],
        "fixed_in": [
          "3b54109b2f771f74fd53b027429796326f84ab36",
          "9d22cf5cc94cd7dee84773ec41db78a46107dfa3",
          "9fbc953d6b38bc824392e01850f0aeee3b348722",
          "22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126",
          "ad95bab0cd28ed77c2c0d0b6e76e03e031391064"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.0"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.19",
          "6.13.7",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3b54109b2f771f74fd53b027429796326f84ab36 or 9d22cf5cc94cd7dee84773ec41db78a46107dfa3 or 9fbc953d6b38bc824392e01850f0aeee3b348722 or 22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126 or ad95bab0cd28ed77c2c0d0b6e76e03e031391064 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.19 or 6.13.7 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
