media: dvb-frontends: avoid stack overflow warnings with clang (Linux Linux)

CVE-2024-27075
HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: media: dvb-frontends: avoid stack overflow warnings with clang A previous patch worked around a KASAN issue in stv0367, now a similar problem showed up with clang: drivers/media/dvb-frontends/stv0367.c:1222:12: error: stack frame size (3624) exceeds limit (2048) in 'stv0367ter_set_frontend' [-Werror,-Wframe-larger-than] 1214 | static int stv0367ter_set_frontend(struct dvb_frontend *fe) Rework the stv0367_writereg() function to be simpler and mark both register access functions as noinline_for_stack so the temporary i2c_msg structures do not get duplicated on the stack when KASAN_STACK is enabled.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e < c073c8cede5abd3836e83d70d72606d11d0759d4 ; affected 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e < fa8b472952ef46eb632825051078c21ce0cafe55 ; affected 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e < fb07104a02e87c06c39914d13ed67fd8f839ca82 ; affected 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e < d20b64f156de5d10410963fe238d82a4e7e97a2f ; affected 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e < 107052a8cfeff3a97326277192b4f052e4860a8a ; affected 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e < 8fad9c5bb00d3a9508d18bbfe832e33a47377730
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 4.19.311 ≤ 4.19.* ; unaffected 5.4.273 ≤ 5.4.* ; unaffected 5.10.214 ≤ 5.10.* ; unaffected 5.15.153 ≤ 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