CVE-2022-49050
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49050 affects the Linux kernel's Renesas RPC-IF driver. The vulnerability was discovered in the memory subsystem where a platform-device leak occurs in the error path. This issue was identified and fixed in February 2025, impacting systems using the Renesas RPC-IF memory interface (Kernel Git).

Technical details

The vulnerability stems from a failure to properly free the flash platform device when registration fails during probe. The issue occurs in the rpcif_probe function within the drivers/memory/renesas-rpc-if.c file. The bug was introduced with commit ca7d8b980b67 ("memory: add Renesas RPC-IF driver"). The CVSS score is 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicating moderate severity with local access required (Red Hat).

Impact

The vulnerability results in a memory leak when device registration fails during the probe sequence. While this doesn't lead to immediate system compromise, it can cause resource exhaustion over time as platform devices are not properly freed in error conditions.

Mitigation and workarounds

The issue has been fixed by adding proper error handling in the rpcifprobe function to ensure the flash platform device is freed when registration fails. The fix involves storing the return value of platformdeviceadd() and calling platformdevice_put() if an error occurs. Users should update to patched kernel versions that include the fix (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management