# CVE-2023-53474: x86/MCE/AMD: Use an u64 for bank\_map

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-10-01T11:42:43.798Z
- **Modified:** 2026-10-15T22:17:40.130Z

## Who should check

- Anyone running Linux \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 11c58a0c1937c157dbdf82d5ab634d68c99f3098; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< ba8ffb1251eb629c2ec35220e3896cf4f7b888a7; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 67bb7521b6420d81dab7538c0686f18f7d6d09f4; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156
- Anyone running Linux 5.10

## 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. \]

## Affected and fixed versions

- Linux: \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 11c58a0c1937c157dbdf82d5ab634d68c99f3098; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< ba8ffb1251eb629c2ec35220e3896cf4f7b888a7; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 67bb7521b6420d81dab7538c0686f18f7d6d09f4; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53474. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53474.md
Affected: Linux >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 11c58a0c1937c157dbdf82d5ab634d68c99f3098; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < ba8ffb1251eb629c2ec35220e3896cf4f7b888a7; >= a0bc32b3cacf194dc479b34…
Fixed in: Linux 11c58a0c1937c157dbdf82d5ab634d68c99f3098, Linux 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e, Linux 67bb7521b6420d81dab7538c0686f18f7d6d09f4, Linux 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53474 being exploited?

There is no confirmed exploitation: CVE-2023-53474 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53474?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53474?

Linux \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 11c58a0c1937c157dbdf82d5ab634d68c99f3098; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< ba8ffb1251eb629c2ec35220e3896cf4f7b888a7; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 67bb7521b6420d81dab7538c0686f18f7d6d09f4; \>= a0bc32b3cacf194dc479b342f006203fd1e1941a, \< 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156; Linux 5.10.

### Is there a fix for CVE-2023-53474?

Yes. Fixed in Linux 11c58a0c1937c157dbdf82d5ab634d68c99f3098, Linux 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e, Linux 67bb7521b6420d81dab7538c0686f18f7d6d09f4, Linux 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156. Upgrade Linux to 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156 or later.

### How do I check if I'm affected by CVE-2023-53474?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83>
- patch: <https://git.kernel.org/stable/c/11c58a0c1937c157dbdf82d5ab634d68c99f3098>
- patch: <https://git.kernel.org/stable/c/ba8ffb1251eb629c2ec35220e3896cf4f7b888a7>
- patch: <https://git.kernel.org/stable/c/9669fa17287c3af2bbd4868d4c8fdd9e57f8332e>
- patch: <https://git.kernel.org/stable/c/67bb7521b6420d81dab7538c0686f18f7d6d09f4>
- patch: <https://git.kernel.org/stable/c/4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53474>

HTML: <https://flawdb.com/CVE-2023-53474> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53474>
