{
  "id": "CVE-2025-38405",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38405",
  "published_at": "2025-07-25T13:12:07.926Z",
  "title": "nvmet: fix memory leak of bio integrity",
  "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\nnvmet: fix memory leak of bio integrity\n\nIf nvmet receives commands with metadata there is a continuous memory\nleak of kmalloc-128 slab or more precisely bio-\u003ebi_integrity.\n\nSince commit bf4c89fc8797 (\"block: don't call bio_uninit from bio_endio\")\neach user of bio_init has to use bio_uninit as well. Otherwise the bio\nintegrity is not getting free. Nvmet uses bio_init for inline bios.\n\nUninit the inline bio to complete deallocation of integrity in bio.",
  "cwe": "CWE-401",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f, \u003c 431e58d56fcb5ff1f9eb630724a922e0d2a941df",
          "\u003e= bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f, \u003c 2e2028fcf924d1c6df017033c8d6e28b735a0508",
          "\u003e= bf4c89fc8797f5c0964a0c3d561fbe7e8483b62f, \u003c 190f4c2c863af7cc5bb354b70e0805f06419c038",
          "64149da0fddbbfe43e11c0348d8c8b4171dae3a2",
          "\u003e= 6.10.10, \u003c 6.11"
        ],
        "fixed_in": [
          "431e58d56fcb5ff1f9eb630724a922e0d2a941df",
          "2e2028fcf924d1c6df017033c8d6e28b735a0508",
          "190f4c2c863af7cc5bb354b70e0805f06419c038",
          "6.11"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.37",
          "6.15.6",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 431e58d56fcb5ff1f9eb630724a922e0d2a941df or 2e2028fcf924d1c6df017033c8d6e28b735a0508 or 190f4c2c863af7cc5bb354b70e0805f06419c038 or 6.11 or later.",
      "Upgrade Linux to 0 or 6.12.37 or 6.15.6 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
