{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99618","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.425Z","datePublished":"2026-11-20T05:49:39.108Z","dateUpdated":"2026-11-22T11:09:18.219Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:09:18.219Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: don't return memory contents beyond valid data when reading ANA log page\n\nThe host side does not know how much valid data will be returned by the target\nso it will typically provide a buffer larger than the amount of valid data in\nthe ANA log page.  The memory allocation used by the target does not guarantee\nthat prior kernel memory contents will not be returned past the end of the valid\npage data.  Fix this to ensure that the SGL is zeroed before copying the data."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The attacker sends an NVMe/TCP Command PDU, received in nvmet_tcp_done_recv_pdu, whose Admin Get Log Page (opcode 0x02, LID NVME_LOG_ANA) carries NUMDL/NUMDU and the SGL length. nvmet_parse_admin_cmd calls nvmet_execute_get_log_page_ana, and nvmet_try_send_data sends the resulting C2H data PDU back over that TCP socket.\nAC:L - After the fabrics Connect, the attacker sets CC.EN through nvmet_execute_prop_set and nvmet_update_cc, which sets CSTS.RDY, then issues one Get Log Page. nvmet_check_transfer_len accepts any NUMD that matches the SGL length, and nvmet_init already enables ANA group 1, so the uninitialized tail is returned on every such command.\nPR:N - nvmet_parse_admin_cmd reaches nvmet_execute_get_log_page_ana only after nvmet_check_ctrl_status. That calls nvmet_check_auth_status, which succeeds when ctrl->host_key is NULL, the state nvmet_setup_auth leaves for allow_any_host and for a host with no dhchap_secret.\nUI:N - The initiator itself sends Get Log Page LID NVME_LOG_ANA after its own Connect and CC.EN. nvmet_execute_get_log_page_ana runs entirely on that command and waits on no other task.\nS:U - The bytes disclosed are prior contents of pages the target allocated for this command's SGL. That is the nvmet kernel's own memory, and the bug stays inside that host's security authority.\nC:H - nvmet_tcp_map_data fills the response via sgl_alloc, which uses alloc_pages without __GFP_ZERO. nvmet_execute_get_log_page_ana writes only the 16-byte nvme_ana_rsp_hdr and one nvme_ana_group_desc per enabled group, but nvmet_try_send_data transmits the whole SGL, up to NVMET_TCP_MAXH2CDATA (4MiB), leaking the unwritten page contents.\nI:N - nvmet_execute_get_log_page_ana copies the ANA header and group descriptors into the command SGL and completes. The SGL is exactly the host transfer length, and the handler writes no other kernel object.\nA:N - A successful ANA Get Log Page completes with status 0, and nvmet_tcp_free_cmd_buffers frees the SGL after nvmet_try_send_data."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/admin-cmd.c"],"versions":[{"version":"72efd25dcf4f6310e9e6fa85620aa443b27c23fe","lessThan":"e129e8b31c8d8d4022d70627b42fae2b9af90a13","status":"affected","versionType":"git"},{"version":"72efd25dcf4f6310e9e6fa85620aa443b27c23fe","lessThan":"65187c29bb45c967f79bccc5ba46479fd32195c0","status":"affected","versionType":"git"},{"version":"72efd25dcf4f6310e9e6fa85620aa443b27c23fe","lessThan":"73bbd572a0a8c05f38eb9f0d046c583ba7f62f15","status":"affected","versionType":"git"},{"version":"72efd25dcf4f6310e9e6fa85620aa443b27c23fe","lessThan":"29b8758b4700357909f06705a0c48c7a60c556d5","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/admin-cmd.c"],"versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/e129e8b31c8d8d4022d70627b42fae2b9af90a13"},{"url":"https://git.kernel.org/stable/c/65187c29bb45c967f79bccc5ba46479fd32195c0"},{"url":"https://git.kernel.org/stable/c/73bbd572a0a8c05f38eb9f0d046c583ba7f62f15"},{"url":"https://git.kernel.org/stable/c/29b8758b4700357909f06705a0c48c7a60c556d5"}],"title":"nvmet: don't return memory contents beyond valid data when reading ANA log page","x_generator":{"engine":"bippy-1.2.0"}}}}