{
  "id": "CVE-2025-22047",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22047",
  "published_at": "2025-04-16T14:12:07.061Z",
  "title": "x86/microcode/AMD: Fix __apply_microcode_amd()'s return value",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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).",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14.1:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= bef830144febedb7de86863ae99d8f53bed76e95, \u003c 763f4d638f71cb45235395790a46e9f9e84227fd",
          "\u003e= 3e8653e399e7111a3e87d534ff4533b250ae574f, \u003c ada88219d5315fc13f2910fe278c7112d8d68889",
          "\u003e= c162ba4f45ab6ef3b7114af6fb419f1833f050c0, \u003c d295c58fad1d5ab987a81f139dd21498732c4f13",
          "\u003e= 50cef76d5cb0e199cda19f026842560f6eedc4f7, \u003c 7f705a45f130a85fbf31c2abdc999c65644c8307",
          "\u003e= 50cef76d5cb0e199cda19f026842560f6eedc4f7, \u003c 31ab12df723543047c3fc19cb8f8c4498ec6267f",
          "\u003e= 6.6.81, \u003c 6.6.87",
          "\u003e= 6.12.18, \u003c 6.12.23",
          "\u003e= 6.13.6, \u003c 6.13.11"
        ],
        "fixed_in": [
          "763f4d638f71cb45235395790a46e9f9e84227fd",
          "ada88219d5315fc13f2910fe278c7112d8d68889",
          "d295c58fad1d5ab987a81f139dd21498732c4f13",
          "7f705a45f130a85fbf31c2abdc999c65644c8307",
          "31ab12df723543047c3fc19cb8f8c4498ec6267f",
          "6.6.87",
          "6.12.23",
          "6.13.11"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.14"
        ],
        "fixed_in": [
          "0",
          "6.6.87",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 763f4d638f71cb45235395790a46e9f9e84227fd or ada88219d5315fc13f2910fe278c7112d8d68889 or d295c58fad1d5ab987a81f139dd21498732c4f13 or 7f705a45f130a85fbf31c2abdc999c65644c8307 or 31ab12df723543047c3fc19cb8f8c4498ec6267f or 6.6.87 or 6.12.23 or 6.13.11 or later.",
      "Upgrade Linux to 0 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
