CVE-2023-53474

x86/MCE/AMD: Use an u64 for bank_map

7.8 high EPSS 0.18%

Published 1 Oct 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2023-53474

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53474 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

x86/MCE/AMD: Use an u64 for bank_map

Thee maximum number of MCA banks is 64 (MAX_NR_BANKS), see

a0bc32b3cacf ("x86/mce: Increase maximum number of banks to 64").

However, the bank_map which contains a bitfield of which banks to initialize is of type unsigned int and that overflows when those bit numbers are >= 32, leading to UBSAN complaining correctly:

UBSAN: shift-out-of-bounds in arch/x86/kernel/cpu/mce/amd.c:1365:38 shift exponent 32 is too large for 32-bit type 'int'

Change the bank_map to a u64 and use the proper BIT_ULL() macro when modifying bits in there.

[ bp: Rewrite commit message. ]

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.35% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a0bc32b3cacf194dc479b342f006203fd1e1941a, before a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83
affected from a0bc32b3cacf194dc479b342f006203fd1e1941a, before 11c58a0c1937c157dbdf82d5ab634d68c99f3098
affected from a0bc32b3cacf194dc479b342f006203fd1e1941a, before ba8ffb1251eb629c2ec35220e3896cf4f7b888a7
affected from a0bc32b3cacf194dc479b342f006203fd1e1941a, before 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e
affected from a0bc32b3cacf194dc479b342f006203fd1e1941a, before 67bb7521b6420d81dab7538c0686f18f7d6d09f4
affected from a0bc32b3cacf194dc479b342f006203fd1e1941a, before 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156
Other versions: unaffected
Linux
affected 5.10
unaffected before 5.10
unaffected from 5.10.180 up to and including 5.10.*
unaffected from 5.15.111 up to and including 5.15.*
unaffected from 6.1.28 up to and including 6.1.*
unaffected from 6.2.15 up to and including 6.2.*
unaffected from 6.3.2 up to and including 6.3.*
unaffected 6.4 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53474 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53474

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53474
trivy image --scanners vuln IMAGE | grep CVE-2023-53474

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53474 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.