Re: CVE-2022-50495: x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()

From: Juergen Gross
Date: Sat Oct 04 2025 - 13:30:50 EST


On 04.10.25 17:51, Greg Kroah-Hartman wrote:
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxx>

Description
===========

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

x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()

These local variables @{resched|pmu|callfunc...}_name saves the new
string allocated by kasprintf(), and when bind_{v}ipi_to_irqhandler()
fails, it goes to the @fail tag, and calls xen_smp_intr_free{_pv}() to
free resource, however the new string is not saved, which cause a memory
leak issue. fix it.

The Linux kernel CVE team has assigned CVE-2022-50495 to this issue.

Please revoke the CVE. This issue can't be triggered by an unprivileged user.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature