{
  "threat_severity" : "Low",
  "public_date" : "2025-10-01T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: x86/fpu: Fix copy_xstate_to_uabi() to copy init states correctly",
    "id" : "2400803",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2400803"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-476",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nx86/fpu: Fix copy_xstate_to_uabi() to copy init states correctly\nWhen an extended state component is not present in fpstate, but in init\nstate, the function copies from init_fpstate via copy_feature().\nBut, dynamic states are not present in init_fpstate because of all-zeros\ninit states. Then retrieving them from init_fpstate will explode like this:\nBUG: kernel NULL pointer dereference, address: 0000000000000000\n...\nRIP: 0010:memcpy_erms+0x6/0x10\n? __copy_xstate_to_uabi_buf+0x381/0x870\nfpu_copy_guest_fpstate_to_uabi+0x28/0x80\nkvm_arch_vcpu_ioctl+0x14c/0x1460 [kvm]\n? __this_cpu_preempt_check+0x13/0x20\n? vmx_vcpu_put+0x2e/0x260 [kvm_intel]\nkvm_vcpu_ioctl+0xea/0x6b0 [kvm]\n? kvm_vcpu_ioctl+0xea/0x6b0 [kvm]\n? __fget_light+0xd4/0x130\n__x64_sys_ioctl+0xe3/0x910\n? debug_smp_processor_id+0x17/0x20\n? fpregs_assert_state_consistent+0x27/0x50\ndo_syscall_64+0x3f/0x90\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\nAdjust the 'mask' to zero out the userspace buffer for the features that\nare not available both from fpstate and from init_fpstate.\nThe dynamic features depend on the compacted XSAVE format. Ensure it is\nenabled before reading XCOMP_BV in init_fpstate." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-05-16T00:00:00Z",
    "advisory" : "RHSA-2023:2951",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "kernel-0:4.18.0-477.10.1.el8_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "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" : "Fix deferred",
    "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-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-50425\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-50425\nhttps://lore.kernel.org/linux-cve-announce/2025100156-CVE-2022-50425-6722@gregkh/T" ],
  "name" : "CVE-2022-50425",
  "csaw" : false
}