CVE Explore

NULL pointer dereference in Linux

CVE-2024-38547

CVSS v3
5.5 Medium
Public exploits
None known
EPSS
0.003 · 17.3th percentile
Published
2024-06-19

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

media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries

The allocation failure of mycs->yuv_scaler_binary in load_video_binaries()
is followed with a dereference of mycs->yuv_scaler_binary after the
following call chain:

sh_css_pipe_load_binaries()
|-> load_video_binaries(mycs->yuv_scaler_binary == NULL)
|
|-> sh_css_pipe_unload_binaries()
|-> unload_video_binaries()

In unload_video_binaries(), it calls to ia_css_binary_unload with argument
&pipe->pipe_settings.video.yuv_scaler_binary[i], which refers to the
same memory slot as mycs->yuv_scaler_binary. Thus, a null-pointer
dereference is triggered.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

EPSS 0.003, 17.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions a49d25364dfb9f8a64037488a39ab1f56c5fa419, ad85094b293e40e7a2f831b0311a389d952ebd5e, 4.12
  • Linux Kernel

Weakness classification (CWE)

References