Bug 2373694 (CVE-2022-49952)

Summary: CVE-2022-49952 kernel: misc: fastrpc: fix memory corruption on probe
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dfreiber, drow, jburrell, rhel-process-autobot, vkumar, 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 Linux kernel's FastRPC driver. The driver fails to validate the number of sessions defined in the hardware device tree configuration during initialization. Supplying more sessions than the driver supports causes an out-of-bounds write beyond the fixed-size memory array. This flaw can lead to memory corruption, resulting in a system crash and Denial of Service (DoS), or potentially allow arbitrary 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 2025-06-18 12:14:10 UTC
In the Linux kernel, the following vulnerability has been resolved:

misc: fastrpc: fix memory corruption on probe

Add the missing sanity check on the probed-session count to avoid
corrupting memory beyond the fixed-size slab-allocated session array
when there are more than FASTRPC_MAX_SESSIONS sessions defined in the
devicetree.

Comment 1 Avinash Hanwate 2025-06-18 13:02:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061810-CVE-2022-49952-0994@gregkh/T