{
  "threat_severity" : "Moderate",
  "public_date" : "2025-04-08T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state",
    "id" : "2358222",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2358222"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-99",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nKVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state\nThere are several problems with the way hyp code lazily saves the host's\nFPSIMD/SVE state, including:\n* Host SVE being discarded unexpectedly due to inconsistent\nconfiguration of TIF_SVE and CPACR_ELx.ZEN. This has been seen to\nresult in QEMU crashes where SVE is used by memmove(), as reported by\nEric Auger:\nhttps://issues.redhat.com/browse/RHEL-68997\n* Host SVE state is discarded *after* modification by ptrace, which was an\nunintentional ptrace ABI change introduced with lazy discarding of SVE state.\n* The host FPMR value can be discarded when running a non-protected VM,\nwhere FPMR support is not exposed to a VM, and that VM uses\nFPSIMD/SVE. In these cases the hyp code does not save the host's FPMR\nbefore unbinding the host's FPSIMD/SVE/SME state, leaving a stale\nvalue in memory.\nAvoid these by eagerly saving and \"flushing\" the host's FPSIMD/SVE/SME\nstate when loading a vCPU such that KVM does not need to save any of the\nhost's FPSIMD/SVE/SME state. For clarity, fpsimd_kvm_prepare() is\nremoved and the necessary call to fpsimd_save_and_flush_cpu_state() is\nplaced in kvm_arch_vcpu_load_fp(). As 'fpsimd_state' and 'fpmr_ptr'\nshould not be used, they are set to NULL; all uses of these will be\nremoved in subsequent patches.\nHistorical problems go back at least as far as v5.17, e.g. erroneous\nassumptions about TIF_SVE being clear in commit:\n8383741ab2e773a9 (\"KVM: arm64: Get rid of host SVE tracking/saving\")\n... and so this eager save+flush probably needs to be backported to ALL\nstable trees." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2025-04-02T00:00:00Z",
    "advisory" : "RHSA-2025:3510",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.4",
    "package" : "kernel-0:5.14.0-427.62.1.el9_4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2025-22013\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-22013\nhttps://lore.kernel.org/linux-cve-announce/2025040843-CVE-2025-22013-c885@gregkh/T" ],
  "name" : "CVE-2025-22013",
  "csaw" : false
}