{"id":"CVE-2026-80788","summary":"nvmet-tcp: Do not WARN on remotely-controlled oversized SGL allocations","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: Do not WARN on remotely-controlled oversized SGL allocations\n\nWhen fuzzing the nvme target code, I tripped a kernel warning in\nnvmet_tcp_map_data() because the length passed into the allocator is\ncontrolled by the remote initiator.\n\nA remote initiator that sends a command with an SGL claiming a huge\nnumber, can create a scatterlist and iovec allocation of over 1 million\nentries, which causes the backing kmalloc call to exceed MAX_PAGE_ORDER\nand then the page allocator will trip on a WARN_ON_ONCE_GFP() message:\n\n  WARNING: mm/page_alloc.c:5280 __alloc_frozen_pages_noprof\n  Workqueue: nvmet_tcp_wq nvmet_tcp_io_work\n  ...\n  sgl_alloc_order\n  nvmet_tcp_map_data\n  nvmet_tcp_try_recv_pdu\n\nAs it's never good to trip a kernel warning remotely due to many systems\nhaving panic-on-warn enabled, let's silence it by just add GFP_NOWARN to\nthe allocation flags.","modified":"2026-09-15T18:26:42.273609957Z","published":"2026-09-04T15:12:59.912Z","related":["openSUSE-SU-2026:11773-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80788.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/737a3b535247226f6e1a7988fd9d6e63e7d6fc71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b6a54d4e7b0da423c2b53ed293fd36b16c0b19e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fd6da0f28932442b51658bac4ff55565ca9b377"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86cc450022473c4a29b43a09f3ec22a9ef566dac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d01f0d0e96485e39ad89b859ef85e1dc3020465"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b770e40bc00381e5ebf53653de5776773415be3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c95f7e66c62ee6c6abedcf1c04311f430ff5833"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c509f20be1cabda3087810bb2d658d66b3f31f35"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7077e6c45423dd2bb7de7b5fc4b018a8e6c4741"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80788.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80788"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30"},{"fixed":"8d01f0d0e96485e39ad89b859ef85e1dc3020465"},{"fixed":"7b6a54d4e7b0da423c2b53ed293fd36b16c0b19e"},{"fixed":"e7077e6c45423dd2bb7de7b5fc4b018a8e6c4741"},{"fixed":"86cc450022473c4a29b43a09f3ec22a9ef566dac"},{"fixed":"c509f20be1cabda3087810bb2d658d66b3f31f35"},{"fixed":"9c95f7e66c62ee6c6abedcf1c04311f430ff5833"},{"fixed":"7fd6da0f28932442b51658bac4ff55565ca9b377"},{"fixed":"9b770e40bc00381e5ebf53653de5776773415be3"},{"fixed":"737a3b535247226f6e1a7988fd9d6e63e7d6fc71"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-80788.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.10.267"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.218"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.185"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.154"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.106"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.47"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-80788.json"}}],"schema_version":"1.9.0"}