CVE-2024-38547

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

State
Published
Severity
Not scored
Published
Jun 19, 2024
Updated
Oct 15, 2026
Reserved
Jun 18, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a49d25364dfb9f8a64037488a39ab1f56c5fa419 to before 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654Affected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before 4b68b861b514a5c09220d622ac3784c0ebac6c80Affected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before 82c2c85aead3ea3cbceef4be077cf459c5df2272Affected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35Affected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before cc20c87b04db86c8e3e810bcdca686b406206069Affected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before 69b27ff82f87379afeaaea4b2f339032fdd8486eAffected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before 6482c433863b257b0b9b687c28ce80b89d5f89f0Affected
  • ad85094b293e40e7a2f831b0311a389d952ebd5e to before 3b621e9e9e148c0928ab109ac3d4b81487469acbAffected
LinuxLinux
  • 4.12Affected
  • 5.8Affected
  • before 4.12Not affected
  • 4.18 to before 5.8Not affected
  • 5.10.219 through 5.10.*Not affected
  • 5.15.161 through 5.15.*Not affected
  • 6.1.93 through 6.1.*Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.8.12 through 6.8.*Not affected
  • 6.9.3 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.