{"id":"DEBIAN-CVE-2023-53474","details":"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 \u003e= 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. ]","modified":"2026-09-15T09:02:51.446995997Z","published":"2025-10-01T12:15:49.687Z","upstream":["CVE-2023-53474"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-53474"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.37-1"}]}],"versions":["6.1.27-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-53474.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-53474.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-53474.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}