media: dvb-frontends: avoid stack overflow warnings with clang
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.5, 4.10, 4.15, 4.16
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 4.4.168 · fixed in 4.5; From 4.9.82 · fixed in 4.10; From 4.14.20 · fixed in 4.15; From 4.15.4 · fixed in 4.16
- Linux Linux
4.16
References 9
git.kernel.org
- stable/c/c073c8cede5abd3836e83d70d72606d11d0759d4
- stable/c/fa8b472952ef46eb632825051078c21ce0cafe55
- stable/c/fb07104a02e87c06c39914d13ed67fd8f839ca82
- stable/c/d20b64f156de5d10410963fe238d82a4e7e97a2f
- stable/c/107052a8cfeff3a97326277192b4f052e4860a8a
- stable/c/8fad9c5bb00d3a9508d18bbfe832e33a47377730
- stable/c/d6b4895197ab5a47cb81c6852d49320b05052960
- stable/c/ed514ecf4f29c80a2f09ae3c877059b401efe893
- stable/c/7a4cf27d1f0538f779bf31b8c99eda394e277119