HighFix available
x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: x86/microcode/AMD: Fix __apply_microcode_amd()'s return value When verify_sha256_digest() fails, __apply_microcode_amd() should propagate the failure by returning false (and not -1 which is promoted to true).
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.23, 6.13.11, 6.14.2, 6.6.87
- CVEs
- CVE-2025-22047
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 11:53 UTC · Revision 1
Source evidence
x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
core-osv · Original sourcePublished 16 Apr 2025, 14:12 UTC
In the Linux kernel, the following vulnerability has been resolved: x86/microcode/AMD: Fix __apply_microcode_amd()'s return value When verify_sha256_digest() fails, __apply_microcode_amd() should propagate the failure by returning false (and not -1 which is promoted to true).
osv:CVE-2025-22047
Kernel
Fixed versions: 6.6.87, 6.12.23, 6.13.11, 6.14.2
Complete source record
{
"id": "c9961a8b480019ce8808ff6171c4d04948b03870dc52cee8e156012f9a988a98",
"url": "https://osv.dev/vulnerability/CVE-2025-22047",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "x86/microcode/AMD: Fix __apply_microcode_amd()'s return value",
"summary": "In the Linux kernel, the following vulnerability has been resolved: x86/microcode/AMD: Fix __apply_microcode_amd()'s return value When verify_sha256_digest() fails, __apply_microcode_amd() should propagate the failure by returning false (and not -1 which is promoted to true).",
"evidence": "osv:CVE-2025-22047",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.87",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.23",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-22047",
"aliases": [
"CVE-2025-22047"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "bef830144febedb7de86863ae99d8f53bed76e95"
},
{
"fixed": "763f4d638f71cb45235395790a46e9f9e84227fd"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3e8653e399e7111a3e87d534ff4533b250ae574f"
},
{
"fixed": "ada88219d5315fc13f2910fe278c7112d8d68889"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c162ba4f45ab6ef3b7114af6fb419f1833f050c0"
},
{
"fixed": "d295c58fad1d5ab987a81f139dd21498732c4f13"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "50cef76d5cb0e199cda19f026842560f6eedc4f7"
},
{
"fixed": "7f705a45f130a85fbf31c2abdc999c65644c8307"
},
{
"fixed": "31ab12df723543047c3fc19cb8f8c4498ec6267f"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.6.81"
},
{
"fixed": "6.6.87"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.12.18"
},
{
"fixed": "6.12.23"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.13.6"
},
{
"fixed": "6.13.11"
}
]
}
],
"versions": [
"v6.6.86",
"v6.6.85",
"v6.6.84",
"v6.6.83",
"v6.6.82",
"v6.6.81",
"v6.12.22",
"v6.12.21",
"v6.12.20",
"v6.12.19",
"v6.12.18",
"v6.13.10",
"v6.13.9",
"v6.13.8",
"v6.13.7",
"v6.13.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22047.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.6.87"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.23"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.14.0"
},
{
"fixed": "6.14.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22047.json"
}
}
],
"modified": "2026-10-28T02:30:34.909355458Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/31ab12df723543047c3fc19cb8f8c4498ec6267f",
"https://git.kernel.org/stable/c/763f4d638f71cb45235395790a46e9f9e84227fd",
"https://git.kernel.org/stable/c/7f705a45f130a85fbf31c2abdc999c65644c8307",
"https://git.kernel.org/stable/c/ada88219d5315fc13f2910fe278c7112d8d68889",
"https://git.kernel.org/stable/c/d295c58fad1d5ab987a81f139dd21498732c4f13",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22047.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-22047",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22047.json"
}
},
"related_cves": [
{
"value": "CVE-2025-22047",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 502188,
"published_at": "2025-04-16T14:12:07.061+00:00"
}