CVE-2025-22047
JSON

7.8high

x86/microcode/AMD: Fix __apply_microcode_amd()'s return value

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
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).

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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 *
CVE List
linux linux_kernelfrom 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.1NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: x86/microcode/AMD: Se corrige el valor de retorno de __apply_microcode_amd() Cuando verify_sha256_digest() falla, __apply_microcode_amd() debe propagar la falla devolviendo falso (y no -1 que se promueve a verdadero).

References

Sources

SourceRecordLicence
CVE ListCVE-2025-22047 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-22047 changed 2026-07-30Public domain