5.5medium
media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a49d25364dfb9f8a64037488a39ab1f56c5fa419 before 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654, from ad85094b293e40e7a2f831b0311a389d952ebd5e before 4b68b861b514a5c09220d622ac3784c0ebac6c80, from ad85094b293e40e7a2f831b0311a389d952ebd5e before 82c2c85aead3ea3cbceef4be077cf459c5df2272, from ad85094b293e40e7a2f831b0311a389d952ebd5e before a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35, from ad85094b293e40e7a2f831b0311a389d952ebd5e before cc20c87b04db86c8e3e810bcdca686b406206069, from ad85094b293e40e7a2f831b0311a389d952ebd5e before 69b27ff82f87379afeaaea4b2f339032fdd8486e, from ad85094b293e40e7a2f831b0311a389d952ebd5e before 6482c433863b257b0b9b687c28ce80b89d5f89f0, from ad85094b293e40e7a2f831b0311a389d952ebd5e before 3b621e9e9e148c0928ab109ac3d4b81487469acb and 2 more Not affected: before 4.12, from 4.18 before 5.8, from 5.10.219 up to 5.10.*, from 5.15.161 up to 5.15.*, from 6.1.93 up to 6.1.*, from 6.6.33 up to 6.6.* | CVE List |
| linux linux_kernel | from 4.12 before 5.10.219, from 5.11 before 5.15.161, from 5.16 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.8.12, from 6.9 before 6.9.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: media: atomisp: ssh_css: corrige una desreferencia de puntero nulo en load_video_binaries La falla de asignación de mycs->yuv_scaler_binary en load_video_binaries() va seguida de una desreferencia de mycs->yuv_scaler_binary después de siguiente cadena de llamadas: sh_css_pipe_load_binaries() |-> load_video_binaries(mycs->yuv_scaler_binary == NULL) | |-> sh_css_pipe_unload_binaries() |-> unload_video_binaries() En unload_video_binaries(), llama a ia_css_binary_unload con el argumento &pipe->pipe_settings.video.yuv_scaler_binary[i], que se refiere a la misma ranura de memoria que mycs->yuv_scaler_binary. Por lo tanto, se activa una desreferencia de puntero nulo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38547 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-38547 changed 2026-10-15 | Public domain |