Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-53474

HIGH 7.8EPSS 9%

x86/MCE/AMD: Use an u64 for bank_map

Mitigation

  • Upgrade Linux to 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156 or later.

Who should check

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

Vulnerability facts

Affected
Linux >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 11c58a0c1937c157dbdf82d5ab634d68c99f3098; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < ba8ffb1251eb629c2ec35220e3896cf4f7b888a7; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 67bb7521b6420d81dab7538c0686f18f7d6d09f4; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156; Linux 5.10
Fixed in
Linux 11c58a0c1937c157dbdf82d5ab634d68c99f3098, Linux 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e, Linux 67bb7521b6420d81dab7538c0686f18f7d6d09f4, Linux 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-190
Published
Modified

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

Package / productAffectedFixedSource
Linux>= a0bc32b3cacf194dc479b342f006203fd1e1941a, < a9b9ea0e63a0ec5e97bf1219ab6dcbd55e362f83; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 11c58a0c1937c157dbdf82d5ab634d68c99f3098; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < ba8ffb1251eb629c2ec35220e3896cf4f7b888a7; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 9669fa17287c3af2bbd4868d4c8fdd9e57f8332e; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 67bb7521b6420d81dab7538c0686f18f7d6d09f4; >= a0bc32b3cacf194dc479b342f006203fd1e1941a, < 4c1cdec319b9aadb65737c3eb1f5cb74bd6aa156—cvelist
Linux5.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors