{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99852","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.438Z","datePublished":"2026-11-30T13:17:39.733Z","dateUpdated":"2026-12-01T05:43:47.321Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:43:47.321Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: Finish the blk plug when integrity allocation fails\n\nnvmet_bdev_execute_rw() starts a plug before building the bios, but\nthe two error exits taken when nvmet_bdev_alloc_bip() fails return\nwithout calling blk_finish_plug().  current->plug is left pointing\nat the stack frame of the returned function, so the next\nblk_flush_plug() walks a stale list.\n\nRoute both failures through a common exit that finishes the plug."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The remote host's NVMe Read/Write capsule over nvmet-rdma (RoCEv2, routable) sets NLB and the keyed SGL length, unchecked against MDTS. So it picks a metadata_sg spanning more pages than the backing queue's max_integrity_segments (1 on nvme-pci without SGLS_MSDS). bio_integrity_add_page() then returns 0, nvmet_bdev_alloc_bip() fails, and nvmet_bdev_execute_rw() returns without blk_finish_plug().\nAC:H - metadata_len is nonzero only when ctrl->pi_support is set. That needs port param_pi_enable and subsys attr_pi_enable, both default-off configfs knobs. It also needs an IBK_INTEGRITY_HANDOVER (mlx5) HCA and a CRC-PI formatted backing bdev with a low integrity segment limit, a rare deployment the attacker cannot create.\nPR:N - The I/O queue is reached after an NVMe-oF Connect where the hostnqn is only asserted, never authenticated, unless DH-HMAC-CHAP is configured. No credentials are needed to send the oversized Read/Write.\nUI:N - The remote host sends the triggering command itself and no target-side user action is involved; it can resend until the sgl_alloc() metadata pages are not physically contiguous.\nS:U - The corruption hits the target kernel's own ib_comp_wq kworker stack and block-layer state, within the same kernel security authority.\nC:H - current->plug is left pointing at nvmet_bdev_execute_rw()'s dead stack frame. On each kworker sleep, sched_submit_work() runs blk_flush_plug() on it, walking mq_list/cached_rqs and following list pointers through stack memory that later frames overwrote: a stack use-after-return usable for reading memory.\nI:H - __blk_flush_plug() list_del()s entries from the stale cb_list and calls cb->callback through a pointer loaded from dead stack memory, and stores cur_ktime=0 into it. The next submit_bio's blk_add_rq_to_plug() writes rq pointers through the stale mq_list.tail, corrupting live frames: an arbitrary write plus an indirect call.\nA:H - Walking garbage plug lists in blk_mq_flush_plug_list() or flush_plug_callbacks() oopses the kworker. Bios already chained into the stale plug are never dispatched, so the parent bio and the nvmet request never complete and queue teardown hangs. The host can repeat this at will."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/io-cmd-bdev.c"],"versions":[{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"1a49e0627949143b63c083d451a60724a15c0070","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"15b675954a96e4ec29f989bd45a3d25c3ad7e6f2","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"a84876e6a26c00e9629bf511907a93cc85fee221","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"d761553e52e2a2c48ddd280266a29a8f671e1992","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"ec6dadd81a16e41cf08c3d376517b46c587373a4","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"13ebf8ef96ac6988f56167a2e50ae290d59fc6f6","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79","status":"affected","versionType":"git"},{"version":"c6e3f13398123a008cd2ee28f93510b113a32791","lessThan":"18fc5f6f1ca945630dae5404265de55d65194e22","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/io-cmd-bdev.c"],"versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","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":"5.8","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1a49e0627949143b63c083d451a60724a15c0070"},{"url":"https://git.kernel.org/stable/c/15b675954a96e4ec29f989bd45a3d25c3ad7e6f2"},{"url":"https://git.kernel.org/stable/c/a84876e6a26c00e9629bf511907a93cc85fee221"},{"url":"https://git.kernel.org/stable/c/d761553e52e2a2c48ddd280266a29a8f671e1992"},{"url":"https://git.kernel.org/stable/c/ec6dadd81a16e41cf08c3d376517b46c587373a4"},{"url":"https://git.kernel.org/stable/c/13ebf8ef96ac6988f56167a2e50ae290d59fc6f6"},{"url":"https://git.kernel.org/stable/c/c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79"},{"url":"https://git.kernel.org/stable/c/18fc5f6f1ca945630dae5404265de55d65194e22"}],"title":"nvmet: Finish the blk plug when integrity allocation fails","x_generator":{"engine":"bippy-1.2.0"}}}}