CVE-2025-22047 x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
A logic error in the Linux kernel AMD microcode loader incorrectly reports success on verification failure, potentially allowing invalid microcode updates.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-22047?
CVE-2025-22047 is a high-severity vulnerability in Linux kernel, published on 16 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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).
Which versions are affected by CVE-2025-22047?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-22047?
Apply the vendor's patch.
Is CVE-2025-22047 being exploited?
There is no known exploitation of CVE-2025-22047 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-22047, DEBIAN-CVE-2025-22047, GHSA-26x8-79q7-x5qq, ROOT-OS-UBUNTU-2404-CVE-2025-22047, UBUNTU-CVE-2025-22047.