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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAffected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < c073c8cede5abd3836e83d70d72606d11d0759d4; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < fa8b472952ef46eb632825051078c21ce0cafe55; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < fb07104a02e87c06c39914d13ed67fd8f839ca82; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < d20b64f156de5d10410963fe238d82a4e7e97a2f; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < 107052a8cfeff3a97326277192b4f052e4860a8a; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < 8fad9c5bb00d3a9508d18bbfe832e33a47377730; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < d6b4895197ab5a47cb81c6852d49320b05052960; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < ed514ecf4f29c80a2f09ae3c877059b401efe893; >= 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e, < 7a4cf27d1f0538f779bf31b8c99eda394e277119; dc4bc70259daba144f799e40a99413a86c601006; d1d85ae79d5e5592dccba6890658c0999b864ddc; ad91b2e392be4339e09eefd8479675b4232ddfa1; ec1eeaf5b6c12b561d9a90588987e44a2e2f8b1a; >= 4.4.168, < 4.5; >= 4.9.82, < 4.10; >= 4.14.20, < 4.15; >= 4.15.4, < 4.16 |
| Linux | Linux | 4.16 |
References
- https://git.kernel.org/stable/c/107052a8cfeff3a97326277192b4f052e4860a8aPatch
- https://git.kernel.org/stable/c/7a4cf27d1f0538f779bf31b8c99eda394e277119Patch
- https://git.kernel.org/stable/c/8fad9c5bb00d3a9508d18bbfe832e33a47377730Patch
- https://git.kernel.org/stable/c/c073c8cede5abd3836e83d70d72606d11d0759d4Patch
- https://git.kernel.org/stable/c/d20b64f156de5d10410963fe238d82a4e7e97a2fPatch
- https://git.kernel.org/stable/c/d6b4895197ab5a47cb81c6852d49320b05052960Patch
- https://git.kernel.org/stable/c/ed514ecf4f29c80a2f09ae3c877059b401efe893Patch
- https://git.kernel.org/stable/c/fa8b472952ef46eb632825051078c21ce0cafe55Patch
- https://git.kernel.org/stable/c/fb07104a02e87c06c39914d13ed67fd8f839ca82Patch
- https://git.kernel.org/stable/c/107052a8cfeff3a97326277192b4f052e4860a8aPatch
- https://git.kernel.org/stable/c/7a4cf27d1f0538f779bf31b8c99eda394e277119Patch
- https://git.kernel.org/stable/c/8fad9c5bb00d3a9508d18bbfe832e33a47377730Patch
- https://git.kernel.org/stable/c/c073c8cede5abd3836e83d70d72606d11d0759d4Patch
- https://git.kernel.org/stable/c/d20b64f156de5d10410963fe238d82a4e7e97a2fPatch
- https://git.kernel.org/stable/c/d6b4895197ab5a47cb81c6852d49320b05052960Patch
- https://git.kernel.org/stable/c/ed514ecf4f29c80a2f09ae3c877059b401efe893Patch
- https://git.kernel.org/stable/c/fa8b472952ef46eb632825051078c21ce0cafe55Patch
- https://git.kernel.org/stable/c/fb07104a02e87c06c39914d13ed67fd8f839ca82Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List, Third Party Advisory
Timeline
- Published
- May 1, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed