NULL Pointer Dereference Affecting kernel-tools package, versions <0:4.18.0-553.5.1.el8_10


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-KERNELTOOLS-7265265
  • published15 Jun 2024
  • disclosed1 May 2024

Introduced: 1 May 2024

CVE-2024-26964  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 kernel-tools to version 0:4.18.0-553.5.1.el8_10 or higher.
This issue was patched in RLSA-2024:3618.

NVD Description

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

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

usb: xhci: Add error handling in xhci_map_urb_for_dma

Currently xhci_map_urb_for_dma() creates a temporary buffer and copies the SG list to the new linear buffer. But if the kzalloc_node() fails, then the following sg_pcopy_to_buffer() can lead to crash since it tries to memcpy to NULL pointer.

So return -ENOMEM if kzalloc returns null pointer.

CVSS Scores

version 3.1