Bug 2576432 (CVE-2026-125683) - CVE-2026-125683 qemu-kvm: Client-triggered assertion failure in nbd_negotiate_options via NBD_OPT_SET_META_CONTEXT with over-long option length
Summary: CVE-2026-125683 qemu-kvm: Client-triggered assertion failure in nbd_negotiate...
Keywords:
Status: NEW
Alias: CVE-2026-125683
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2581777
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-19 10:46 UTC by OSIDB Bzimport
Modified: 2026-11-23 10:31 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-19 10:46:24 UTC
A flaw was found in QEMU's NBD server implementation. A remote, unauthenticated attacker can crash the NBD server by sending an NBD_OPT_SET_META_CONTEXT or NBD_OPT_LIST_META_CONTEXT request with a declared option length larger than the actual payload. The handler processes the request and sends a valid reply, but fails to validate that the full declared length was consumed, leaving residual data that triggers an assertion failure (!client->optlen) in nbd/server.c. Unlike sibling option handlers, the meta-context options lack this validation check. This affects qemu-nbd, qemu-storage-daemon, and qemu-system with the internal NBD server, from v2.12.0 onward.

Upstream report: https://gitlab.com/qemu-project/qemu/-/work_items/4843


Note You need to log in before you can comment on or make changes to this bug.