CVE-2024-38547

Source
https://cve.org/CVERecord?id=CVE-2024-38547
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38547.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38547
Downstream
Related
Published
2024-06-19T13:35:20.689Z
Modified
2026-03-14T12:34:32.925201Z
Summary
media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
Details

In the Linux kernel, the following vulnerability has been resolved:

media: atomisp: sshcss: Fix a null-pointer dereference in loadvideo_binaries

The allocation failure of mycs->yuvscalerbinary in loadvideobinaries() is followed with a dereference of mycs->yuvscalerbinary after the following call chain:

shcsspipeloadbinaries() |-> loadvideobinaries(mycs->yuvscalerbinary == NULL) | |-> shcsspipeunloadbinaries() |-> unloadvideobinaries()

In unloadvideobinaries(), it calls to iacssbinaryunload with argument &pipe->pipesettings.video.yuvscalerbinary[i], which refers to the same memory slot as mycs->yuvscalerbinary. Thus, a null-pointer dereference is triggered.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38547.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a49d25364dfb9f8a64037488a39ab1f56c5fa419
Fixed
51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ad85094b293e40e7a2f831b0311a389d952ebd5e
Fixed
4b68b861b514a5c09220d622ac3784c0ebac6c80
Fixed
82c2c85aead3ea3cbceef4be077cf459c5df2272
Fixed
a1ab99dcc8604afe7e3bccb01b10da03bdd7ea35
Fixed
cc20c87b04db86c8e3e810bcdca686b406206069
Fixed
69b27ff82f87379afeaaea4b2f339032fdd8486e
Fixed
6482c433863b257b0b9b687c28ce80b89d5f89f0
Fixed
3b621e9e9e148c0928ab109ac3d4b81487469acb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38547.json"