{"id":"CVE-2026-98724","title":"nvmet: pci-epf: reject too-short SGL segments","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: pci-epf: reject too-short SGL segments\n\nThe host controls an SGL segment's length. A nonzero length smaller than\none SGL descriptor makes nr_descs zero, so\nnvmet…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 < 2423a05dd0f21330c47ce0ae1cb54a8b0be821e2","Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 < 472df1d103dbe3e9d09156f0667e36180e912c46","Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 < 5d5fbfbbacd1efb13a9bf91317d4fde859ede4b9","Linux 6.14"],"published":"2026-10-18","updated":"2026-10-19","sourceUpdated":"2026-10-19T09:24:34.979Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98724","references":[{"url":"https://git.kernel.org/stable/c/2423a05dd0f21330c47ce0ae1cb54a8b0be821e2"},{"url":"https://git.kernel.org/stable/c/472df1d103dbe3e9d09156f0667e36180e912c46"},{"url":"https://git.kernel.org/stable/c/5d5fbfbbacd1efb13a9bf91317d4fde859ede4b9"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.508Z","slug":"CVE-2026-98724","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: pci-epf: reject too-short SGL segments\n\nThe host controls an SGL segment's length. A nonzero length smaller than\none SGL descriptor makes nr_descs zero, so\nnvmet_pci_epf_get_sgl_segment() reads the type byte of sgls[-1] outside\nthe allocated buffer. If that byte contains a segment descriptor type,\nthe function also copies the preceding 16 bytes and returns a negative\ndescriptor count.\n\nThe read was reproduced in 3/3 KASAN boots with only the host transfer\nmocked by a KUnit test:\n\n  BUG: KASAN: slab-out-of-bounds in nvmet_pci_epf_get_sgl_segment\n  Read of size 1 by task kunit_try_catch\n  Call Trace:\n   nvmet_pci_epf_get_sgl_segment\n   nvmet_pci_epf_short_sgl_test\n  Kernel panic - not syncing: KASAN: panic_on_warn set ...\n\nReject segments that cannot hold one descriptor before allocating or\ntransferring their contents.\n\n## Affected\n\n- `Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 < 2423a05dd0f21330c47ce0ae1cb54a8b0be821e2`\n- `Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 < 472df1d103dbe3e9d09156f0667e36180e912c46`\n- `Linux >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 < 5d5fbfbbacd1efb13a9bf91317d4fde859ede4b9`\n- `Linux 6.14`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}