CVE-2022-49549

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Feb 26, 2025
Updated: Mar 10, 2025
CWE ID 401

Summary

CVE-2022-49549 is a memory leak vulnerability affecting the Linux kernel. In the function mce_threshold_create_device(), if threshold_create_bank() fails, the previously allocated threshold banks array will leak due to an incorrect handling of pointers. Specifically, the call to mce_threshold_remove_device() does not free the allocated array when threshold_create_bank() fails, because the pointer to the array is written to bp only after the bank creation is successful. To mitigate this issue, a helper function has been added to unwind all bank creation work and free the previously allocated threshold banks array properly.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share