CVE-2024-38547
media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
Check your servers for CVE-2024-38547
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38547 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a49d25364dfb9f8a64037488a39ab1f56c5fa419, before 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before 4b68b861b514a5c09220d622ac3784c0ebac6c80 affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before 82c2c85aead3ea3cbceef4be077cf459c5df2272 affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35 affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before cc20c87b04db86c8e3e810bcdca686b406206069 affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before 69b27ff82f87379afeaaea4b2f339032fdd8486e affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before 6482c433863b257b0b9b687c28ce80b89d5f89f0 affected from ad85094b293e40e7a2f831b0311a389d952ebd5e, before 3b621e9e9e148c0928ab109ac3d4b81487469acb
Other versions: unaffected
|
| Linux |
affected 4.12 affected 5.8 unaffected before 4.12 unaffected from 4.18, before 5.8 unaffected from 5.10.219 up to and including 5.10.* unaffected from 5.15.161 up to and including 5.15.* unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.8.12 up to and including 6.8.* unaffected from 6.9.3 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38547 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38547
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-38547
trivy image --scanners vuln IMAGE | grep CVE-2024-38547
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 git.kernel.org
- https://git.kernel.org/stable/c/4b68b861b514a5c09220d622ac3784c0ebac6c80 git.kernel.org
- https://git.kernel.org/stable/c/82c2c85aead3ea3cbceef4be077cf459c5df2272 git.kernel.org
- https://git.kernel.org/stable/c/a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35 git.kernel.org
- https://git.kernel.org/stable/c/cc20c87b04db86c8e3e810bcdca686b406206069 git.kernel.org
- https://git.kernel.org/stable/c/69b27ff82f87379afeaaea4b2f339032fdd8486e git.kernel.org
- https://git.kernel.org/stable/c/6482c433863b257b0b9b687c28ce80b89d5f89f0 git.kernel.org
- https://git.kernel.org/stable/c/3b621e9e9e148c0928ab109ac3d4b81487469acb git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-38547 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse