CVE-2022-49549
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49549 is a vulnerability in the Linux kernel that involves a memory leak condition in the AMD Machine Check Exception (MCE) handling code. The issue specifically occurs when the threshold_create_bank() function fails in the x86/MCE/AMD module (NVD).

Technical details

The vulnerability stems from a memory leak in the mce_threshold_create_device() function. When threshold_create_bank() fails, the previously allocated threshold banks array @bp is not properly freed. This occurs because mce_threshold_remove_device() retrieves the pointer through the threshold_banks per-CPU variable, but the pointer is only written there after successful bank creation, not before the failure occurs (Kernel Commit).

Impact

The vulnerability results in a memory leak in the Linux kernel's AMD MCE handling code, which could potentially lead to system resource depletion over time (NVD).

Mitigation and workarounds

The issue has been resolved by adding a helper function __threshold_remove_device() that properly unwinds all bank creation work and frees the allocated threshold banks array. This fix was implemented in the Linux kernel through a patch that modifies the arch/x86/kernel/cpu/mce/amd.c file (Kernel Commit).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 2026

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