{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "30b5f20bb2ddab013035399e5c7e6577da49320a"
            },
            {
              "fixed": "88d7fce496e65b6904daa7286c42a735fc7765d8"
            },
            {
              "fixed": "bd85055ca4cddffb13b638c021f92dd9cb05a8f3"
            },
            {
              "fixed": "3cf6de080d97d0d9641fbdb613d546c0734905dd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100099.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: bound FDP config log reads to the received buffer\n\nnvme_query_fdp_granularity() parses the FDP Configurations log using\nsizes the controller returns, without checking that they fit the buffer\nit was given.  The log size is only bounded from above before\nkvmalloc(), so a size below the log header makes\nle16_to_cpu(h-\u003enumfdpc) read past the allocation, and a size of zero\nyields ZERO_SIZE_PTR and faults.  Each configuration descriptor is then\ndereferenced (dsze while walking, and nrg and runs on the selected one)\nwithout checking that the whole descriptor lies within the buffer, so a\ndescriptor at or past the end is read out of bounds.  The out-of-bounds\nruns value is then exposed to userspace through\n/sys/block/nvmeXnY/queue/write_stream_granularity.\n\nA device-supplied dsze that is not a multiple of eight also leaves the\nfollowing descriptors unaligned, and the structure is not packed, so\nreading nrg and runs from one can fault on architectures without\nefficient unaligned access.\n\nA malicious or buggy controller triggers this during namespace scan with a\nshort FDP Configurations log:\n\n[    1.104828] BUG: KASAN: slab-out-of-bounds in nvme_alloc_ns+0x39a6/0x4480\n[    1.104848] Read of size 8 at addr ffff888009fd8fe0 by task kworker/u8:3/52\n[    1.104852]\n[    1.104857] CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 7.3.0-rc6-00063-g0c2669a9f4a1 #1 PREEMPT(lazy)\n[    1.104862] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014\n[    1.104866] Workqueue: async async_run_entry_fn\n[    1.104873] Call Trace:\n[    1.104876]  \u003cTASK\u003e\n[    1.104878]  dump_stack_lvl+0x66/0xa0\n[    1.104886]  print_report+0xd0/0x630\n[    1.104893]  ? nvme_alloc_ns+0x39a6/0x4480\n[    1.104897]  ? __virt_addr_valid+0x209/0x3f0\n[    1.104903]  ? nvme_alloc_ns+0x39a6/0x4480\n[    1.104907]  kasan_report+0xe4/0x120\n[    1.104913]  ? nvme_alloc_ns+0x39a6/0x4480\n[    1.104919]  nvme_alloc_ns+0x39a6/0x4480\n[    1.104926]  ? __pfx_nvme_alloc_ns+0x10/0x10\n[    1.104931]  ? check_prev_add+0xfd/0xe80\n[    1.104942]  ? lock_acquire+0x18d/0x300\n[    1.104948]  ? nvme_find_get_ns+0xbb/0x2e0\n[    1.104952]  ? find_held_lock+0x2b/0x80\n[    1.104956]  ? nvme_find_get_ns+0x221/0x2e0\n[    1.104962]  ? nvme_find_get_ns+0x231/0x2e0\n[    1.104967]  ? nvme_scan_ns+0x2e1/0x8d0\n[    1.104971]  ? kfree+0x2e5/0x510\n[    1.104976]  ? __lock_acquire+0x570/0x1b00\n[    1.104982]  nvme_scan_ns+0x56a/0x8d0\n[    1.104987]  ? __pfx_nvme_scan_ns+0x10/0x10\n[    1.104994]  ? lockdep_hardirqs_on_prepare+0xdc/0x190\n[    1.104999]  ? trace_hardirqs_on+0x18/0x160\n[    1.105005]  ? kvm_clock_get_cycles+0x19/0x40\n[    1.105011]  ? __pfx_nvme_scan_ns_async+0x10/0x10\n[    1.105015]  async_run_entry_fn+0x8d/0x290\n[    1.105020]  process_one_work+0x8ac/0x1b00\n[    1.105029]  ? __pfx_process_one_work+0x10/0x10\n[    1.105034]  ? lock_acquire+0x18d/0x300\n[    1.105040]  ? lock_is_held_type+0x8f/0x100\n[    1.105046]  ? __pfx_async_run_entry_fn+0x10/0x10\n[    1.105050]  worker_thread+0x4ee/0xe70\n[    1.105056]  ? lockdep_hardirqs_on_prepare+0xdc/0x190\n[    1.105061]  ? trace_hardirqs_on+0x18/0x160\n[    1.105066]  ? __pfx_worker_thread+0x10/0x10\n[    1.105071]  ? __pfx_worker_thread+0x10/0x10\n[    1.105076]  kthread+0x2ce/0x3b0\n[    1.105080]  ? __pfx_kthread+0x10/0x10\n[    1.105085]  ret_from_fork+0x52e/0x780\n[    1.105090]  ? __pfx_ret_from_fork+0x10/0x10\n[    1.105094]  ? __switch_to+0x572/0xde0\n[    1.105101]  ? __pfx_kthread+0x10/0x10\n[    1.105105]  ret_from_fork_asm+0x1a/0x30\n[    1.105114]  \u003c/TASK\u003e\n[    1.105116]\n[    1.105117] Allocated by task 52:\n[    1.105119]  kasan_save_stack+0x33/0x60\n[    1.105123]  kasan_save_track+0x14/0x30\n[    1.105126]  __kasan_kmalloc+0x8f/0xa0\n[    1.105129]  __kvmalloc_node_noprof+0x2e1/0x820\n[    1.105134]  nvme_alloc_ns+0x1097/0x4480\n[    1.105138]  nvme_scan_ns+0x56a/0x8d0\n[    1.105142]  async_run_entry_fn+0x8d/\n---truncated---",
  "id": "CVE-2026-100099",
  "modified": "2026-12-01T06:45:31.211066917Z",
  "published": "2026-11-30T13:23:46.062Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3cf6de080d97d0d9641fbdb613d546c0734905dd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/88d7fce496e65b6904daa7286c42a735fc7765d8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bd85055ca4cddffb13b638c021f92dd9cb05a8f3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100099.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100099"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nvme: bound FDP config log reads to the received buffer"
}