Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99852

published high CVSS 3.1 · 8.1

nvmet: Finish the blk plug when integrity allocation fails

Published
30 Nov 2026, 13:17:39 UTC
Updated
01 Dec 2026, 05:43:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc6e3f13398123a008cd2ee28f93510b113a32791 to < 1a49e0627949143b63c083d451a60724a15c0070 · c6e3f13398123a008cd2ee28f93510b113a32791 to < 15b675954a96e4ec29f989bd45a3d25c3ad7e6f2 · c6e3f13398123a008cd2ee28f93510b113a32791 to < a84876e6a26c00e9629bf511907a93cc85fee221 · c6e3f13398123a008cd2ee28f93510b113a32791 to < d761553e52e2a2c48ddd280266a29a8f671e1992 · c6e3f13398123a008cd2ee28f93510b113a32791 to < ec6dadd81a16e41cf08c3d376517b46c587373a4 · c6e3f13398123a008cd2ee28f93510b113a32791 to < 13ebf8ef96ac6988f56167a2e50ae290d59fc6f6 · c6e3f13398123a008cd2ee28f93510b113a32791 to < c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79 · c6e3f13398123a008cd2ee28f93510b113a32791 to < 18fc5f6f1ca945630dae5404265de55d65194e22 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (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.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet: Finish the blk plug when integrity allocation fails nvmet_bdev_execute_rw() starts a plug before building the bios, but the two error exits taken when nvmet_bdev_alloc_bip() fails return without calling blk_finish_plug(). current->plug is left pointing at the stack frame of the returned function, so the next blk_flush_plug() walks a stale list. Route both failures through a common exit that finishes the plug.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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(). AC: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. PR: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. UI: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. S:U - The corruption hits the target kernel's own ib_comp_wq kworker stack and block-layer state, within the same kernel security authority. C: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. I: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. A: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.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c6e3f13398123a008cd2ee28f93510b113a32791 to < 1a49e0627949143b63c083d451a60724a15c0070 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < 15b675954a96e4ec29f989bd45a3d25c3ad7e6f2 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < a84876e6a26c00e9629bf511907a93cc85fee221 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < d761553e52e2a2c48ddd280266a29a8f671e1992 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < ec6dadd81a16e41cf08c3d376517b46c587373a4 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < 13ebf8ef96ac6988f56167a2e50ae290d59fc6f6 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < c0b4e770ec74f7d3cb3c9961a08ddd4c12997f79 (affected · git)c6e3f13398123a008cd2ee28f93510b113a32791 to < 18fc5f6f1ca945630dae5404265de55d65194e22 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (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.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

nvmet: Finish the blk plug when integrity allocation fails

Provenance

Schema
5.2
Searchable
yes
Content hash
2a7ba81afe12298271ac352741cac9fcd6cb4a572a04e7f2af0529e65c2fd724
Ingested
01 Dec 2026, 05:47:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected