NULL Pointer Dereference Affecting kernel-64kb-devel package, versions <5.14.21-150500.55.100.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.09% (26th 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-SLES155-KERNEL64KBDEVEL-9700681
  • published15 Apr 2025
  • disclosed14 Apr 2025

Introduced: 14 Apr 2025

CVE-2022-49490  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 kernel-64kb-devel to version 5.14.21-150500.55.100.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-64kb-devel package and not the kernel-64kb-devel package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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

drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected

mdp5_get_global_state runs the risk of hitting a -EDEADLK when acquiring the modeset lock, but currently mdp5_pipe_release doesn't check for if an error is returned. Because of this, there is a possibility of mdp5_pipe_release hitting a NULL dereference error.

To avoid this, let's have mdp5_pipe_release check if mdp5_get_global_state returns an error and propogate that error.

Changes since v1:

  • Separated declaration and initialization of *new_state to avoid compiler warning
  • Fixed some spelling mistakes in commit message

Changes since v2:

  • Return 0 in case where hwpipe is NULL as this is considered normal behavior
  • Added 2nd patch in series to fix a similar NULL dereference issue in mdp5_mixer_release

Patchwork: https://patchwork.freedesktop.org/patch/485179/

CVSS Base Scores

version 3.1