Bug 2402241 (CVE-2022-50539)

Summary: CVE-2022-50539 kernel: ARM: OMAP2+: omap4-common: Fix refcount leak bug
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: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A reference leak flaw was found in the Linux kernel's OMAP4 platform code in the SRAM initialization logic. A local user on ARM OMAP4 systems can trigger this issue during system initialization when of_find_compatible_node returns a device tree node pointer with an incremented reference count that is never released. This results in a permanent reference leak preventing proper device tree node cleanup and leading to resource exhaustion or 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:

Description OSIDB Bzimport 2025-10-07 16:04:58 UTC
In the Linux kernel, the following vulnerability has been resolved:

ARM: OMAP2+: omap4-common: Fix refcount leak bug

In omap4_sram_init(), of_find_compatible_node() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.