Summary
This update for nbdkit fixes the following issues:
Update to version 1.40.6.
Security fixes:
- CVE-2025-47712: integer overflow in blocksize filter when processing client block status requests larger than 2**32
will trigger an assertion failure and cause a denial-of-service. (bsc#1243108).
- CVE-2025-47711: off-by-one error when processing block status results from plugins on behalf of an NBD client may
trigger an assertion failure and cause a denial of service (bsc#1243110).
Other fixes and changes:
- golang: Support GCC 15.
- openbsd: curl: Include pthread.h.
- rust: Fix 'overindented' list in comment.
- rust: Declare explicit extern 'C' API.
- plugins/rust: Use CStr literals for static strings.
- vddk: do_extents: Avoid reading partial chunk beyond the end of the disk.
- vddk: do_extents: Exit the function if we hit req_one condition.
- vddk: do_extents: Mark some local variables const.
- vddk: Cache the disk size in the handle.
- vddk: Include <stdbool.h>.
- python: examples: Fix comment above API_VERSION constant.
- tcl: Fix for Tcl 9.0 compatibility.
- plugins/ocaml/NBDKit.ml: Sort bindings into order.
- ocaml: Don't call abort if caml_c_thread_unregister fails.
- ocaml: Use real addresses instead of (void*)<constant>s.
- evil: Link to nbdkit_parse_probability(3).
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 15 SP7 Linux Enterprise Module for Server Applications 15 SP7 | nbdkit | 1.40.6-150700.4.3.1 |
Vulnerabilities 2
-
Medium 6.5
Nbdkit: nbdkit-server: off-by-one error when processing block status may lead to a denial of service
There's a flaw in the nbdkit server when handling responses from its plugins regarding the status of data blocks. If a client makes a specific request for a very large data range, and a plugin responds with an even larger single block, the nbdkit server can e…
-
Medium 6.5
Nbd: nbdkit: integer overflow triggers an assertion resulting in denial of service
A flaw exists in the nbdkit "blocksize" filter that can be triggered by a specific type of client request. When a client requests block status information for a very large data range, exceeding a certain limit, it causes an internal error in the nbdkit, leadi…