# CVE-2025-22047: x86/microcode/AMD: Fix __apply_microcode_amd()'s return value

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:07.061Z
- Modified: 2026-08-05T11:56:19.652Z
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from bef830144febedb7de86863ae99d8f53bed76e95 before 763f4d638f71cb45235395790a46e9f9e84227fd; from 3e8653e399e7111a3e87d534ff4533b250ae574f before ada88219d5315fc13f2910fe278c7112d8d68889; from c162ba4f45ab6ef3b7114af6fb419f1833f050c0 before d295c58fad1d5ab987a81f139dd21498732c4f13; from 50cef76d5cb0e199cda19f026842560f6eedc4f7 before 7f705a45f130a85fbf31c2abdc999c65644c8307; from 50cef76d5cb0e199cda19f026842560f6eedc4f7 before 31ab12df723543047c3fc19cb8f8c4498ec6267f; from 6.6.81 before 6.6.87; from 6.12.18 before 6.12.23; from 6.13.6 before 6.13.11; 6.14 (not affected: before 6.14; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.6.81 before 6.6.87; from 6.12.18 before 6.12.23; from 6.13.6 before 6.13.11; 6.14; 6.14.1

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/763f4d638f71cb45235395790a46e9f9e84227fd> (patch)
- <https://git.kernel.org/stable/c/ada88219d5315fc13f2910fe278c7112d8d68889> (patch)
- <https://git.kernel.org/stable/c/d295c58fad1d5ab987a81f139dd21498732c4f13> (patch)
- <https://git.kernel.org/stable/c/7f705a45f130a85fbf31c2abdc999c65644c8307> (patch)
- <https://git.kernel.org/stable/c/31ab12df723543047c3fc19cb8f8c4498ec6267f> (patch)

## Sources

- CVE List: [CVE-2025-22047](https://www.cve.org/CVERecord?id=CVE-2025-22047), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-22047](https://nvd.nist.gov/vuln/detail/CVE-2025-22047), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-22047 · Whole record: https://cve.day/CVE-2025-22047.json · Rebuilt by cve.day 2026-11-25T22:58:56.581Z
