media: atomisp: Add check for rgby_data memory allocation failure (Linux Linux)

CVE-2024-56705
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: media: atomisp: Add check for rgby_data memory allocation failure In ia_css_3a_statistics_allocate(), there is no check on the allocation result of the rgby_data memory. If rgby_data is not successfully allocated, it may trigger the assert(host_stats->rgby_data) assertion in ia_css_s3a_hmem_decode(). Adding a check to fix this potential issue.

Weaknesses (CWE)

  • CWE-617 — Reachable Assertion

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 < 0c24b82bc4d12c6a58ceacbf2598cd4df63abf9a ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 4676e50444046b498555b849e6080a5c78cdda9b ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 02a97d9d7ff605fa4a1f908d1bd3ad8573234b61 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 8066badaf7463194473fb4be19dbe50b11969aa0 ; affected ad85094b293e40e7a2f831b0311a389d952ebd5e < 74aa783682c4d78c69d87898e40c78df1fec204e
Linux · Linuxaffected 4.12 ; affected 5.8 ; unaffected 0 < 4.12 ; unaffected 4.18 < 5.8 ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 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