CVE-2023-53474
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-53474 is a vulnerability discovered in the Linux kernel's x86/MCE/AMD code, specifically related to the handling of MCA (Machine Check Architecture) banks. The issue was disclosed on October 1, 2025, affecting the bank_map implementation which contains a bitfield for bank initialization (Red Hat CVE, NVD).

Technical details

The vulnerability stems from using an unsigned int type for bankmap when the maximum number of MCA banks is 64 (MAXNR_BANKS). This causes an overflow when bit numbers are >= 32, resulting in UBSAN reporting a shift-out-of-bounds error in arch/x86/kernel/cpu/mce/amd.c:1365:38. The CVSS v3.1 score is 1.9 (AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L), indicating a low severity issue (Red Hat CVE).

Impact

The impact of this vulnerability is relatively minor, primarily affecting the robustness of systems with up to 64 SMCA banks. It can lead to incorrect handling of bank initialization on AMD systems with Machine Check Architecture implementation (Red Hat CVE).

Mitigation and workarounds

The fix involves changing the bankmap type from 32-bit to u64 and using the proper BITULL() macro when modifying bits. This change has been implemented in the kernel code to prevent the overflow condition. Red Hat has deferred fixes for Enterprise Linux 8 and 9 versions (Red Hat CVE).

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

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