{"api_version":"1","generated_at":"2026-12-01T06:50:19+00:00","cve":"CVE-2026-99852","urls":{"html":"https://cve.report/CVE-2026-99852","api":"https://cve.report/api/cve/CVE-2026-99852.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99852","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99852"},"summary":{"title":"nvmet: Finish the blk plug when integrity allocation fails","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:18","updated_at":"2026-12-01 06:17:53"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/18fc5f6f1ca945630dae5404265de55d65194e22","name":"https://git.kernel.org/stable/c/18fc5f6f1ca945630dae5404265de55d65194e22","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79","name":"https://git.kernel.org/stable/c/c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/13ebf8ef96ac6988f56167a2e50ae290d59fc6f6","name":"https://git.kernel.org/stable/c/13ebf8ef96ac6988f56167a2e50ae290d59fc6f6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ec6dadd81a16e41cf08c3d376517b46c587373a4","name":"https://git.kernel.org/stable/c/ec6dadd81a16e41cf08c3d376517b46c587373a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d761553e52e2a2c48ddd280266a29a8f671e1992","name":"https://git.kernel.org/stable/c/d761553e52e2a2c48ddd280266a29a8f671e1992","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a84876e6a26c00e9629bf511907a93cc85fee221","name":"https://git.kernel.org/stable/c/a84876e6a26c00e9629bf511907a93cc85fee221","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/15b675954a96e4ec29f989bd45a3d25c3ad7e6f2","name":"https://git.kernel.org/stable/c/15b675954a96e4ec29f989bd45a3d25c3ad7e6f2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1a49e0627949143b63c083d451a60724a15c0070","name":"https://git.kernel.org/stable/c/1a49e0627949143b63c083d451a60724a15c0070","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99852","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99852","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 1a49e0627949143b63c083d451a60724a15c0070 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 15b675954a96e4ec29f989bd45a3d25c3ad7e6f2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 a84876e6a26c00e9629bf511907a93cc85fee221 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 d761553e52e2a2c48ddd280266a29a8f671e1992 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 ec6dadd81a16e41cf08c3d376517b46c587373a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 13ebf8ef96ac6988f56167a2e50ae290d59fc6f6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6e3f13398123a008cd2ee28f93510b113a32791 18fc5f6f1ca945630dae5404265de55d65194e22 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/nvme/target/io-cmd-bdev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1a49e0627949143b63c083d451a60724a15c0070","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"15b675954a96e4ec29f989bd45a3d25c3ad7e6f2","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"a84876e6a26c00e9629bf511907a93cc85fee221","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"d761553e52e2a2c48ddd280266a29a8f671e1992","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"ec6dadd81a16e41cf08c3d376517b46c587373a4","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"13ebf8ef96ac6988f56167a2e50ae290d59fc6f6","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"},{"lessThan":"18fc5f6f1ca945630dae5404265de55d65194e22","status":"affected","version":"c6e3f13398123a008cd2ee28f93510b113a32791","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/nvme/target/io-cmd-bdev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.8"},{"lessThan":"5.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:43:47.321Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99852","datePublished":"2026-11-30T13:17:39.733Z","dateReserved":"2026-09-25T10:25:14.438Z","dateUpdated":"2026-12-01T05:43:47.321Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:18","lastModifiedDate":"2026-12-01 06:17:53","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99852","Ordinal":"1","Title":"nvmet: Finish the blk plug when integrity allocation fails","CVE":"CVE-2026-99852","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99852","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"nvmet: Finish the blk plug when integrity allocation fails"}]}}}