NULL Pointer Dereference Affecting kernel-rt-debug package, versions <0:4.18.0-348.rt7.130.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-RHEL8-KERNELRTDEBUG-7148735
  • published28 May 2024
  • disclosed26 Feb 2024

Introduced: 26 Feb 2024

CVE-2021-46905  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kernel-rt-debug to version 0:4.18.0-348.rt7.130.el8 or higher.
This issue was patched in RHSA-2021:4140.

NVD Description

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

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

net: hso: fix NULL-deref on disconnect regression

Commit 8a12f8836145 ("net: hso: fix null-ptr-deref during tty device unregistration") fixed the racy minor allocation reported by syzbot, but introduced an unconditional NULL-pointer dereference on every disconnect instead.

Specifically, the serial device table must no longer be accessed after the minor has been released by hso_serial_tty_unregister().

CVSS Scores

version 3.1