Bug 2387745 (CVE-2025-55159)

Summary: CVE-2025-55159 slab: Slab: Out-of-bounds Memory Access Vulnerability
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anthomas, bkabrda, brasmith, cochase, dbosanac, dhanak, dranck, drosa, dsimansk, ehelms, ggainey, gotiwari, jcantril, jgrulich, jhorak, jreimann, juwatts, jwendell, kingland, kverlaen, lball, matzew, mdessi, mhulan, mnovotny, mrizzi, mvyas, ngough, nmoumoul, osousa, pcattana, pcreech, rcernich, rchan, rojacob, sausingh, sdawley, smallamp, tmalecek, tpopela, veshanka
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in slab. The `get_disjoint_mut` method incorrectly validates index boundaries against the slab's capacity rather than its length, enabling a local attacker to access uninitialized memory. This memory access occurs when requesting disjoint mutable references within the slab. Consequently, this can lead to information disclosure.
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: 2387839, 2387841, 2387833, 2387834, 2387835, 2387836, 2387837, 2387838, 2387840    
Bug Blocks:    

Description OSIDB Bzimport 2025-08-12 00:01:17 UTC
slab is a pre-allocated storage for a uniform data type. In version 0.4.10, the get_disjoint_mut method incorrectly checked if indices were within the slab's capacity instead of its length, allowing access to uninitialized memory. This could lead to undefined behavior or potential crashes. This has been fixed in slab 0.4.11. A workaround for this issue involves to avoid using get_disjoint_mut with indices that might be beyond the slab's actual length.