Bug 2365724 (CVE-2025-47712)

Summary: CVE-2025-47712 nbd: nbdkit: Integer overflow triggers an assertion resulting in Denial of Service
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rjones
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2365725, 2365726, 2365727    
Bug Blocks:    

Description OSIDB Bzimport 2025-05-12 21:12:07 UTC
The nbdkit blocksize filter had a bug where any client block status request larger than (2**32 - the minimum blocksize) would round up to 4G using a 32-bit variable. This wrapped around to zero, triggering an assertion failure.