media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
Summary
| CVE | CVE-2024-38547 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-06-19 14:15:14 UTC |
| Updated | 2026-05-12 12:16:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a49d25364dfb9f8a64037488a39ab1f56c5fa419 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e 4b68b861b514a5c09220d622ac3784c0ebac6c80 git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e 82c2c85aead3ea3cbceef4be077cf459c5df2272 git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35 git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e cc20c87b04db86c8e3e810bcdca686b406206069 git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e 69b27ff82f87379afeaaea4b2f339032fdd8486e git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e 6482c433863b257b0b9b687c28ce80b89d5f89f0 git | Not specified |
| CNA | Linux | Linux | affected ad85094b293e40e7a2f831b0311a389d952ebd5e 3b621e9e9e148c0928ab109ac3d4b81487469acb git | Not specified |
| CNA | Linux | Linux | affected 4.12 | Not specified |
| CNA | Linux | Linux | affected 5.8 | Not specified |
| CNA | Linux | Linux | unaffected 4.12 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.18 5.8 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.219 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.161 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.93 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.33 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.12 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9.3 6.9.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/3b621e9e9e148c0928ab109ac3d4b81487469acb | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/cc20c87b04db86c8e3e810bcdca686b406206069 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/4b68b861b514a5c09220d622ac3784c0ebac6c80 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/82c2c85aead3ea3cbceef4be077cf459c5df2272 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/69b27ff82f87379afeaaea4b2f339032fdd8486e | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6482c433863b257b0b9b687c28ce80b89d5f89f0 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.