Lucene search

K
cveLinuxCVE-2022-48899
HistoryAug 21, 2024 - 7:15 a.m.

CVE-2022-48899

2024-08-2107:15:05
CWE-416
Linux
web.nvd.nist.gov
29
linux kernel
gem handle
use-after-free

CVSS3

4.7

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

5.1%

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

drm/virtio: Fix GEM handle creation UAF

Userspace can guess the handle value and try to race GEM object creation
with handle close, resulting in a use-after-free if we dereference the
object after dropping the handle’s reference. For that reason, dropping
the handle’s reference must be done after we are done dereferencing
the object.

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange4.44.19.270
OR
linuxlinux_kernelRange4.205.4.229
OR
linuxlinux_kernelRange5.55.10.164
OR
linuxlinux_kernelRange5.115.15.89
OR
linuxlinux_kernelRange5.166.1.7
OR
linuxlinux_kernelMatch6.2rc1
OR
linuxlinux_kernelMatch6.2rc2
OR
linuxlinux_kernelMatch6.2rc3
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel6.2cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*
linuxlinux_kernel6.2cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*
linuxlinux_kernel6.2cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/virtio/virtgpu_ioctl.c"
    ],
    "versions": [
      {
        "version": "62fb7a5e1096",
        "lessThan": "19ec87d06acf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "62fb7a5e1096",
        "lessThan": "d01d6d2b06c0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "62fb7a5e1096",
        "lessThan": "68bcd0638570",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "62fb7a5e1096",
        "lessThan": "011ecdbcd520",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "62fb7a5e1096",
        "lessThan": "adc48e5e408a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "62fb7a5e1096",
        "lessThan": "52531258318e",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/virtio/virtgpu_ioctl.c"
    ],
    "versions": [
      {
        "version": "4.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.270",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.229",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.164",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.89",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.7",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

CVSS3

4.7

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

5.1%