Bug 2586394 (CVE-2026-99896)

Summary: CVE-2026-99896 kernel: kernel: Out-of-bounds write via integer overflow in Ceph readdir reply handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Ceph file system client in the Linux kernel, which can lead to memory corruption or a Denial of Service (DoS). On 32-bit architectures, an integer overflow in the directory read (readdir) reply validation logic allows pointer calculations to wrap around. A malicious or compromised server can exploit this vulnerability by returning a crafted response with an oversized entry count, causing the system to write data past preallocated memory buffers. This flaw can result in kernel instability, crashes, or potential code execution.
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:

Description OSIDB Bzimport 2026-11-30 13:46:39 UTC
In the Linux kernel, the following vulnerability has been resolved:

ceph: fix 32-bit overflow in readdir reply count check

parse_reply_info_readdir() checks how many entries are in a readdir
reply by computing the end pointer of the decoded array. That pointer
addition can wrap on 32-bit kernels and let an oversized count pass the
check. For example, a count of 0x40000000 with 156-byte entries wraps
to a zero offset, so the decoder can write past the preallocated buffer.

Check the count against the number of entries that fit in the allocation
before publishing dir_nr. Reject oversized replies through the existing
error path.