{"id":"CVE-2026-97433","state":"PUBLISHED","title":"nvme: validate FDP configuration descriptor sizes","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: validate FDP configuration descriptor sizes\n\nValidate descriptor sizes while walking the FDP configurations log so\ndsze == 0 or a descriptor past the log end cannot cause unbounded\niteration or reads past the buffer.","publishedAt":"2026-09-24T16:03:46.169Z","updatedAt":"2026-09-25T12:44:10.016Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"30b5f20bb2ddab013035399e5c7e6577da49320a","status":"affected","lessThan":"97efd7a41aac08b43ea2337c5913a2bc75484f9f","versionType":"git"},{"version":"30b5f20bb2ddab013035399e5c7e6577da49320a","status":"affected","lessThan":"0ef4daa6534a510d61ea67c8ad9bb5097b0dd5f8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/host/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/host/core.c"]}],"references":["https://git.kernel.org/stable/c/97efd7a41aac08b43ea2337c5913a2bc75484f9f","https://git.kernel.org/stable/c/0ef4daa6534a510d61ea67c8ad9bb5097b0dd5f8"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97433.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97433","state":"PUBLISHED","datePublished":"2026-09-24T16:03:46.169Z","dateUpdated":"2026-09-25T12:44:10.016Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T14:53:16.869Z"},"containers":{"cna":{"title":"nvme: validate FDP configuration descriptor sizes","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: validate FDP configuration descriptor sizes\n\nValidate descriptor sizes while walking the FDP configurations log so\ndsze == 0 or a descriptor past the log end cannot cause unbounded\niteration or reads past the buffer."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"30b5f20bb2ddab013035399e5c7e6577da49320a","status":"affected","lessThan":"97efd7a41aac08b43ea2337c5913a2bc75484f9f","versionType":"git"},{"version":"30b5f20bb2ddab013035399e5c7e6577da49320a","status":"affected","lessThan":"0ef4daa6534a510d61ea67c8ad9bb5097b0dd5f8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/host/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/host/core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/97efd7a41aac08b43ea2337c5913a2bc75484f9f"},{"url":"https://git.kernel.org/stable/c/0ef4daa6534a510d61ea67c8ad9bb5097b0dd5f8"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":8.2,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - nvme_query_fdp_granularity() walks nvme_fdp_config_desc.dsze from the Get Log Page LID 0x20 (NVME_LOG_FDP_CONFIGS) buffer filled by nvme_get_log_lsi(); on nvme-tcp that payload is C2HData copied by nvme_tcp_recv_data() from the remote NVMe-oF target (TCP 4420), so the malformed descriptor sizes arrive on the wire.\nAC:L - The peer sets Identify ctratt NVME_CTRL_ATTR_FDPS, Get Features FID 0x1d (FDPE and fdpcidx), and log fields sze/dsze, so nvme_query_fdp_granularity() can skip with a crafted dsze to park desc just below end and then load nrg/runs past the kvmalloc object with no race.\nPR:N - The attacker is the NVMe-oF controller. nvme_scan_work() submits that Get Log Page on the existing admin_q; DH-HMAC-CHAP and TLS are optional, and no host uid, capability, or /dev/nvme-fabrics write is required once the session exists.\nUI:N - nvme_start_ctrl() queues ctrl->scan_work and nvme_handle_aen_notice() requeues it on NVME_AER_NOTICE_NS_CHANGED, so nvme_scan_ns()->nvme_update_ns_info_block()->nvme_query_fdp_info()->nvme_query_fdp_granularity() runs on nvme_wq without a further victim mount or click.\nS:U - The over-read is of the host kvmalloc FDP configs log and the info->runs store inside nvme_query_fdp_granularity(); it does not cross a KVM/Xen, IOMMU, or other distinct security authority.\nC:L - After the dsze walk, nvme_query_fdp_granularity() only does le32_to_cpu(desc->nrg) and le64_to_cpu(desc->runs) (offsets 4 and 16). With desc at end-1 that is a strictly bounded 12-byte load past the log object, a small heap leak rather than an arbitrary read.\nI:N - Those fields are stored to info->runs and min()'d into write_stream_granularity in nvme_update_ns_info_block(); the dsze walk performs no out-of-bounds write, use-after-free, or control-flow hijack.\nA:H - hdr.sze is attacker-chosen (capped at PAGE_SIZE*MAX_ORDER_NR_PAGES) for kvmalloc(), and desc->nrg/desc->runs are then loaded without ensuring the selected descriptor fits; that over-read past the allocation can oops when the walk parks desc at the buffer end."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-09-25T12:44:10.016Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}