Lucene search

K
cvelistLinuxCVELIST:CVE-2024-43819
HistoryAug 17, 2024 - 9:21 a.m.

CVE-2024-43819 kvm: s390: Reject memory region operations for ucontrol VMs

2024-08-1709:21:40
Linux
www.cve.org
2
cve-2024-43819
kvm
s390
reject memory region
ucontrol vms
linux kernel

EPSS

0

Percentile

9.5%

In the Linux kernel, the following vulnerability has been resolved:

kvm: s390: Reject memory region operations for ucontrol VMs

This change rejects the KVM_SET_USER_MEMORY_REGION and
KVM_SET_USER_MEMORY_REGION2 ioctls when called on a ucontrol VM.
This is necessary since ucontrol VMs have kvm->arch.gmap set to 0 and
would thus result in a null pointer dereference further in.
Memory management needs to be performed in userspace and using the
ioctls KVM_S390_UCAS_MAP and KVM_S390_UCAS_UNMAP.

Also improve s390 specific documentation for KVM_SET_USER_MEMORY_REGION
and KVM_SET_USER_MEMORY_REGION2.

[[email protected]: commit message spelling fix, subject prefix fix]

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "Documentation/virt/kvm/api.rst",
      "arch/s390/kvm/kvm-s390.c"
    ],
    "versions": [
      {
        "version": "27e0393f15fc",
        "lessThan": "49c9945c054d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "27e0393f15fc",
        "lessThan": "7816e58967d0",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "Documentation/virt/kvm/api.rst",
      "arch/s390/kvm/kvm-s390.c"
    ],
    "versions": [
      {
        "version": "3.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.5%