{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-56721", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-12-27T15:00:39.858Z", "datePublished": "2024-12-29T11:29:59.164Z", "dateUpdated": "2026-08-05T11:46:19.207Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:46:19.207Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/CPU/AMD: Terminate the erratum_1386_microcode array\n\nThe erratum_1386_microcode array requires an empty entry at the end.\nOtherwise x86_match_cpu_with_stepping() will continue iterate the array after\nit ended.\n\nAdd an empty entry to erratum_1386_microcode to its end." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - `fix_erratum_1386()` runs from `init_amd_zen1()`/`init_amd_zen2()` during `identify_cpu()` at boot and on CPU onlining; there is no remote or adjacent input path, and the resulting misbehaviour is only observable to software running locally on the affected AMD Zen1/Zen2 machine.\nAC:L - On any family 0x17 CPU whose model/stepping does not match the two table entries, `x86_match_cpu_with_stepping()` runs past the array end on every single boot — deterministic, no race to win and no special preconditions.\nPR:L - The faulty walk executes automatically during CPU identification before any authentication exists, and observing or leveraging the consequences (skipped XSAVES erratum workaround, corrupted XMM state) needs only ordinary unprivileged local access; matches the CNA scoring of the identical bug in CVE-2025-37751.\nUI:N - The out-of-bounds walk happens automatically as part of boot-time CPU feature initialization and CPU hotplug; no victim action of any kind is involved.\nS:U - The out-of-bounds read and its consequences are entirely contained within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The loop performs an unbounded out-of-bounds read of whatever kernel `.rodata` follows `erratum_1386_microcode[]`, with no upper limit on how far it reads, and that out-of-bounds data is then consumed as CPU descriptor/microcode-revision values; additionally, wrongly skipping the erratum 1386 workaround leaves XSAVES able to expose stale XMM register contents across context switches.\nI:N - The defect is a read-only over-read — nothing is written outside the array bounds and no attacker-controlled data is stored — matching the I:N assigned to the identical `erratum_1386_microcode` terminator bug (CVE-2025-37751).\nA:H - The walk continues arbitrarily far past the array until it randomly encounters an entry with zero family and model, so depending on linker layout it can fault or trip UBSAN/KASAN and oops during early boot — exactly the boot-time crash seen with the analogous missing-sentinel errata arrays (CVE-2025-37929)." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "arch/x86/kernel/cpu/amd.c" ], "versions": [ { "version": "29ba89f1895285f06c333546882e0c5ae9a6df23", "lessThan": "82d6b82cf89d950982ac240ba068c3a7e1f23b0a", "status": "affected", "versionType": "git" }, { "version": "29ba89f1895285f06c333546882e0c5ae9a6df23", "lessThan": "ccfee14f08b8699132b87bc6d78e0fa75bf094dd", "status": "affected", "versionType": "git" }, { "version": "29ba89f1895285f06c333546882e0c5ae9a6df23", "lessThan": "ff6cdc407f4179748f4673c39b0921503199a0ad", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "arch/x86/kernel/cpu/amd.c" ], "versions": [ { "version": "6.10", "status": "affected" }, { "version": "0", "lessThan": "6.10", "status": "unaffected", "versionType": "semver" }, { "version": "6.11.11", "lessThanOrEqual": "6.11.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.2", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.13", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.10", "versionEndExcluding": "6.11.11" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.10", "versionEndExcluding": "6.12.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.10", "versionEndExcluding": "6.13" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/82d6b82cf89d950982ac240ba068c3a7e1f23b0a" }, { "url": "https://git.kernel.org/stable/c/ccfee14f08b8699132b87bc6d78e0fa75bf094dd" }, { "url": "https://git.kernel.org/stable/c/ff6cdc407f4179748f4673c39b0921503199a0ad" } ], "title": "x86/CPU/AMD: Terminate the erratum_1386_microcode array", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 7.1, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2024-56721", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2025-10-01T19:58:17.697625Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-125", "description": "CWE-125 Out-of-bounds Read" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-10-01T20:07:05.975Z" } } ] } }