Race Condition Affecting kernel-debug-modules-extra package, versions <0:4.18.0-553.el8_10


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.38% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-KERNELDEBUGMODULESEXTRA-6054109
  • published9 Nov 2023
  • disclosed17 Aug 2023

Introduced: 17 Aug 2023

CVE-2023-39198  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kernel-debug-modules-extra to version 0:4.18.0-553.el8_10 or higher.
This issue was patched in RHSA-2024:3138.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-debug-modules-extra package and not the kernel-debug-modules-extra package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A race condition was found in the QXL driver in the Linux kernel. The qxl_mode_dumb_create() function dereferences the qobj returned by the qxl_gem_object_create_with_handle(), but the handle is the only one holding a reference to it. This flaw allows an attacker to guess the returned handle value and trigger a use-after-free issue, potentially leading to a denial of service or privilege escalation.

CVSS Scores

version 3.1