CVE-2022-50677 ipmi: fix use after free in _ipmi_destroy_user()

High 7.0 Published Updated

A use-after-free flaw in the Linux kernel IPMI driver allows attackers to potentially execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50677?

CVE-2022-50677 is a high-severity use after free vulnerability in Linux, published on 9 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

ipmi: fix use after free in _ipmi_destroy_user()

The intf_free() function frees the "intf" pointer so we cannot dereference it again on the next line.

Which versions are affected by CVE-2022-50677?

How do I fix CVE-2022-50677?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-50677 being exploited?

There is no known exploitation of CVE-2022-50677 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50677, GHSA-chf6-hvqj-hp2j, UBUNTU-CVE-2022-50677.

Is CVE-2022-50677 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free