CVE-2026-99618
published high CVSS 3.1 · 7.5nvmet: don't return memory contents beyond valid data when reading ANA log page
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 03b6faca43bf208ee36a4d37aea427e7d4743bed · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 67ba04a50383e987b6ded6ddcee81ba84f5a80c2 · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < c0936ade2fe0752b981d6e56a8fadee98658b540 · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < b58fda1c5f04d3f84c4932100b7696e7180afbcc · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < e129e8b31c8d8d4022d70627b42fae2b9af90a13 · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 65187c29bb45c967f79bccc5ba46479fd32195c0 · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 73bbd572a0a8c05f38eb9f0d046c583ba7f62f15 · 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 29b8758b4700357909f06705a0c48c7a60c556d5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: don't return memory contents beyond valid data when reading ANA log page The host side does not know how much valid data will be returned by the target so it will typically provide a buffer larger than the amount of valid data in the ANA log page. The memory allocation used by the target does not guarantee that prior kernel memory contents will not be returned past the end of the valid page data. Fix this to ensure that the SGL is zeroed before copying the data.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 03b6faca43bf208ee36a4d37aea427e7d4743bed (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 67ba04a50383e987b6ded6ddcee81ba84f5a80c2 (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < c0936ade2fe0752b981d6e56a8fadee98658b540 (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < b58fda1c5f04d3f84c4932100b7696e7180afbcc (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < e129e8b31c8d8d4022d70627b42fae2b9af90a13 (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 65187c29bb45c967f79bccc5ba46479fd32195c0 (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 73bbd572a0a8c05f38eb9f0d046c583ba7f62f15 (affected · git)72efd25dcf4f6310e9e6fa85620aa443b27c23fe to < 29b8758b4700357909f06705a0c48c7a60c556d5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.19 (affected)0 to < 4.19 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/03b6faca43bf208ee36a4d37aea427e7d4743bed
- https://git.kernel.org/stable/c/29b8758b4700357909f06705a0c48c7a60c556d5
- https://git.kernel.org/stable/c/65187c29bb45c967f79bccc5ba46479fd32195c0
- https://git.kernel.org/stable/c/67ba04a50383e987b6ded6ddcee81ba84f5a80c2
- https://git.kernel.org/stable/c/73bbd572a0a8c05f38eb9f0d046c583ba7f62f15
- https://git.kernel.org/stable/c/b58fda1c5f04d3f84c4932100b7696e7180afbcc
- https://git.kernel.org/stable/c/c0936ade2fe0752b981d6e56a8fadee98658b540
- https://git.kernel.org/stable/c/e129e8b31c8d8d4022d70627b42fae2b9af90a13
Provider assertions
1Linux · cna
nvmet: don't return memory contents beyond valid data when reading ANA log page
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5129762cbb42a1ed465e0f56960bca2b2977d1482c1a0f1b18f69ed119ff6481
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record