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

CVE-2024-38547
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a49d25364dfb9f8a64037488a39ab1f56c5fa419 < 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 4b68b861b514a5c09220d622ac3784c0ebac6c80 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 82c2c85aead3ea3cbceef4be077cf459c5df2272 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < cc20c87b04db86c8e3e810bcdca686b406206069 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 69b27ff82f87379afeaaea4b2f339032fdd8486e
Linux · Linuxaffected 4.12 ; affected 5.8 ; unaffected 0 < 4.12 ; unaffected 4.18 < 5.8 ; unaffected 5.10.219 ≤ 5.10.* ; unaffected 5.15.161 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD