Skip to content
Heist/ feed
Back to feed
HighFix available

nvmet: fix NULL pointer dereference in nvmet_execute_identify_ns_zns()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: nvmet: fix NULL pointer dereference in nvmet_execute_identify_ns_zns() When a host issues an Identify command with CNS 05h (I/O Command Set specific Identify Namespace) and CSI 02h (ZNS) targeting a file-backed namespace, nvmet_execute_identify_ns_zns() calls bdev_is_zoned() on req->ns->bdev. A file-backed namespace has no block device, so req->ns->bdev is NULL and bdev_is_zoned() dereferences it, oopsing. The I/O command set is selected by the host-supplied CSI field and the command is routed here whenever CONFIG_BLK_DEV_ZONED is enabled, independent of the namespace backing type, so any file-backed namespace is exposed. Reject the command with Invalid Field when the namespace is not backed by a block device.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.221, 6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
CVEs
CVE-2026-90228
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:26 UTC · Revision 1

Source evidence

nvmet: fix NULL pointer dereference in nvmet_execute_identify_ns_zns()

core-osv · Original source

Published 17 Sept 2026, 16:07 UTC

In the Linux kernel, the following vulnerability has been resolved: nvmet: fix NULL pointer dereference in nvmet_execute_identify_ns_zns() When a host issues an Identify command with CNS 05h (I/O Command Set specific Identify Namespace) and CSI 02h (ZNS) targeting a file-backed namespace, nvmet_execute_identify_ns_zns() calls bdev_is_zoned() on req->ns->bdev. A file-backed namespace has no block device, so req->ns->bdev is NULL and bdev_is_zoned() dereferences it, oopsing. The I/O command set is selected by the host-supplied CSI field and the command is routed here whenever CONFIG_BLK_DEV_ZONED is enabled, independent of the namespace backing type, so any file-backed namespace is exposed. Reject the command with Invalid Field when the namespace is not backed by a block device.

osv:CVE-2026-90228

Kernel

Fixed versions: 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6

Complete source record
{
  "id": "2a970515109c24523d0b219ba5f274996e76e577b7824c4ba679447209c91f0c",
  "url": "https://osv.dev/vulnerability/CVE-2026-90228",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nvmet: fix NULL pointer dereference in nvmet_execute_identify_ns_zns()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: nvmet: fix NULL pointer dereference in nvmet_execute_identify_ns_zns() When a host issues an Identify command with CNS 05h (I/O Command Set specific Identify Namespace) and CSI 02h (ZNS) targeting a file-backed namespace, nvmet_execute_identify_ns_zns() calls bdev_is_zoned() on req->ns->bdev. A file-backed namespace has no block device, so req->ns->bdev is NULL and bdev_is_zoned() dereferences it, oopsing. The I/O command set is selected by the host-supplied CSI field and the command is routed here whenever CONFIG_BLK_DEV_ZONED is enabled, independent of the namespace backing type, so any file-backed namespace is exposed. Reject the command with Invalid Field when the namespace is not backed by a block device.",
    "evidence": "osv:CVE-2026-90228",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-90228",
      "aliases": [
        "CVE-2026-90228"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "aaf2e048af2704da5869f27b508b288f36d5c7b7"
                },
                {
                  "fixed": "1ce8faf90eb0bf5599b90db38500aefea9426485"
                },
                {
                  "fixed": "b873099944dae5702b4b6db6814d1f1e8d4cfb00"
                },
                {
                  "fixed": "ff28a93a895912010a7827a0e1445ebe8be53b4d"
                },
                {
                  "fixed": "cc29f7082b7ab5e0337f27d1fef16359f05fcffa"
                },
                {
                  "fixed": "1fb1236312ee1a600de6b3ca560f0b3fd5a50471"
                },
                {
                  "fixed": "0b4cf43f9ca7118590a338de900edbd6047cd89f"
                },
                {
                  "fixed": "f594863967d87b7fcbff6e724d51135fd701a13d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90228.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.14.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90228.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.987642302Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0b4cf43f9ca7118590a338de900edbd6047cd89f",
        "https://git.kernel.org/stable/c/1ce8faf90eb0bf5599b90db38500aefea9426485",
        "https://git.kernel.org/stable/c/1fb1236312ee1a600de6b3ca560f0b3fd5a50471",
        "https://git.kernel.org/stable/c/b873099944dae5702b4b6db6814d1f1e8d4cfb00",
        "https://git.kernel.org/stable/c/cc29f7082b7ab5e0337f27d1fef16359f05fcffa",
        "https://git.kernel.org/stable/c/f594863967d87b7fcbff6e724d51135fd701a13d",
        "https://git.kernel.org/stable/c/ff28a93a895912010a7827a0e1445ebe8be53b4d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90228.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-90228",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90228.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-90228",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508739,
  "published_at": "2026-09-17T16:07:36.625+00:00"
}