Refcount Leak in Linux Kernel's IPMI IPMB Probe - CVE-2022-49415

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49415: In the Linux kernel, the following vulnerability has been resolved: ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it w... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system resource allocation. It is widely used in various distributions, including Debian. The kernel's IPMI (Intelligent Platform Management Interface) subsystem allows for out-of-band management of computer systems, enabling monitoring and control of hardware components. The vulnerability in question arises from a refcount leak in the ipmi_ipmb_probe function, which can lead to resource mismanagement.

Vulnerability Detail

CVE-2022-49415 is a vulnerability in the Linux kernel's IPMI subsystem, specifically in the ipmi_ipmb_probe function. The issue originates from the improper handling of reference counts when using the of_parse_phandle function. This function returns a node pointer with an incremented reference count, but the code fails to release this reference using of_node_put, resulting in a refcount leak. If exploited, this vulnerability could lead to resource exhaustion or denial of service, as the leaked references accumulate over time.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating to the fixed version.

Conclusion

CVE-2022-49415 is a significant vulnerability in the Linux kernel's IPMI subsystem that can lead to resource mismanagement. It is crucial to update to the patched version 5.18.5-1 to mitigate the risks associated with this vulnerability. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49415 is a vulnerability in the Linux kernel's IPMI subsystem that involves a refcount leak in the ipmi_ipmb_probe function.

This vulnerability can lead to resource exhaustion or denial of service due to the accumulation of leaked reference counts.

Yes, the patched version for Debian 12 and 13 is 5.18.5-1. Updating to this version will resolve the issue.

You can check your current Linux kernel version using the command 'apt list --installed | grep linux'. If it is below 5.18.5-1, your system is affected.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback