{"api_version":"1","generated_at":"2026-08-02T00:53:42+00:00","cve":"CVE-2025-22047","urls":{"html":"https://cve.report/CVE-2025-22047","api":"https://cve.report/api/cve/CVE-2025-22047.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-22047","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-22047"},"summary":{"title":"x86/microcode/AMD: Fix __apply_microcode_amd()'s return value","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/microcode/AMD: Fix __apply_microcode_amd()'s return value\n\nWhen verify_sha256_digest() fails, __apply_microcode_amd() should propagate\nthe failure by returning false (and not -1 which is promoted to true).","state":"PUBLISHED","assigner":"Linux","published_at":"2025-04-16 15:15:58","updated_at":"2026-07-30 06:22:08"},"problem_types":["NVD-CWE-noinfo"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/763f4d638f71cb45235395790a46e9f9e84227fd","name":"https://git.kernel.org/stable/c/763f4d638f71cb45235395790a46e9f9e84227fd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/31ab12df723543047c3fc19cb8f8c4498ec6267f","name":"https://git.kernel.org/stable/c/31ab12df723543047c3fc19cb8f8c4498ec6267f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d295c58fad1d5ab987a81f139dd21498732c4f13","name":"https://git.kernel.org/stable/c/d295c58fad1d5ab987a81f139dd21498732c4f13","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f705a45f130a85fbf31c2abdc999c65644c8307","name":"https://git.kernel.org/stable/c/7f705a45f130a85fbf31c2abdc999c65644c8307","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ada88219d5315fc13f2910fe278c7112d8d68889","name":"https://git.kernel.org/stable/c/ada88219d5315fc13f2910fe278c7112d8d68889","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-22047","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22047","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bef830144febedb7de86863ae99d8f53bed76e95 763f4d638f71cb45235395790a46e9f9e84227fd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e8653e399e7111a3e87d534ff4533b250ae574f ada88219d5315fc13f2910fe278c7112d8d68889 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c162ba4f45ab6ef3b7114af6fb419f1833f050c0 d295c58fad1d5ab987a81f139dd21498732c4f13 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 50cef76d5cb0e199cda19f026842560f6eedc4f7 7f705a45f130a85fbf31c2abdc999c65644c8307 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 50cef76d5cb0e199cda19f026842560f6eedc4f7 31ab12df723543047c3fc19cb8f8c4498ec6267f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.81 6.6.87 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.18 6.12.23 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13.6 6.13.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.87 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.23 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13.11 6.13.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14.2 6.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"22047","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/x86/kernel/cpu/microcode/amd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"763f4d638f71cb45235395790a46e9f9e84227fd","status":"affected","version":"bef830144febedb7de86863ae99d8f53bed76e95","versionType":"git"},{"lessThan":"ada88219d5315fc13f2910fe278c7112d8d68889","status":"affected","version":"3e8653e399e7111a3e87d534ff4533b250ae574f","versionType":"git"},{"lessThan":"d295c58fad1d5ab987a81f139dd21498732c4f13","status":"affected","version":"c162ba4f45ab6ef3b7114af6fb419f1833f050c0","versionType":"git"},{"lessThan":"7f705a45f130a85fbf31c2abdc999c65644c8307","status":"affected","version":"50cef76d5cb0e199cda19f026842560f6eedc4f7","versionType":"git"},{"lessThan":"31ab12df723543047c3fc19cb8f8c4498ec6267f","status":"affected","version":"50cef76d5cb0e199cda19f026842560f6eedc4f7","versionType":"git"},{"lessThan":"6.6.87","status":"affected","version":"6.6.81","versionType":"semver"},{"lessThan":"6.12.23","status":"affected","version":"6.12.18","versionType":"semver"},{"lessThan":"6.13.11","status":"affected","version":"6.13.6","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/x86/kernel/cpu/microcode/amd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.14"},{"lessThan":"6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.87","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.23","versionType":"semver"},{"lessThanOrEqual":"6.13.*","status":"unaffected","version":"6.13.11","versionType":"semver"},{"lessThanOrEqual":"6.14.*","status":"unaffected","version":"6.14.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.15","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.87","versionStartIncluding":"6.6.81","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.23","versionStartIncluding":"6.12.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.13.11","versionStartIncluding":"6.13.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.14.2","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.15","versionStartIncluding":"6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/microcode/AMD: Fix __apply_microcode_amd()'s return value\n\nWhen verify_sha256_digest() fails, __apply_microcode_amd() should propagate\nthe failure by returning false (and not -1 which is promoted to true)."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-07-30T05:48:02.903Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/763f4d638f71cb45235395790a46e9f9e84227fd"},{"url":"https://git.kernel.org/stable/c/ada88219d5315fc13f2910fe278c7112d8d68889"},{"url":"https://git.kernel.org/stable/c/d295c58fad1d5ab987a81f139dd21498732c4f13"},{"url":"https://git.kernel.org/stable/c/7f705a45f130a85fbf31c2abdc999c65644c8307"},{"url":"https://git.kernel.org/stable/c/31ab12df723543047c3fc19cb8f8c4498ec6267f"}],"title":"x86/microcode/AMD: Fix __apply_microcode_amd()'s return value","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-22047","datePublished":"2025-04-16T14:12:07.061Z","dateReserved":"2024-12-29T08:45:45.810Z","dateUpdated":"2026-07-30T05:48:02.903Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-04-16 15:15:58","lastModifiedDate":"2026-07-30 06:22:08","problem_types":["NVD-CWE-noinfo"],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.81","versionEndExcluding":"6.6.87","matchCriteriaId":"AB4ED8CF-6CC9-4385-BD66-06D3ECD64642"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.18","versionEndExcluding":"6.12.23","matchCriteriaId":"2408E758-CD5B-4D69-AB5A-B470FE7A0B6D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13.6","versionEndExcluding":"6.13.11","matchCriteriaId":"2ED56B74-EE4E-4FD9-878C-0E7509D3258F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*","matchCriteriaId":"7DE421BA-0600-4401-A175-73CAB6A6FB4E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*","matchCriteriaId":"1759FFB7-531C-41B1-9AE1-FD3D80E0D920"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*","matchCriteriaId":"AD948719-8628-4421-A340-1066314BBD4A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.14.1:*:*:*:*:*:*:*","matchCriteriaId":"368D376F-50DC-452F-8D91-2586C7B344FB"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"22047","Ordinal":"1","Title":"x86/microcode/AMD: Fix __apply_microcode_amd()'s return value","CVE":"CVE-2025-22047","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"22047","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/microcode/AMD: Fix __apply_microcode_amd()'s return value\n\nWhen verify_sha256_digest() fails, __apply_microcode_amd() should propagate\nthe failure by returning false (and not -1 which is promoted to true).","Type":"Description","Title":"x86/microcode/AMD: Fix __apply_microcode_amd()'s return value"}]}}}