CVE-2024-27075
media: dvb-frontends: avoid stack overflow warnings with clang
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.
Produtos afetados
Linux · LinuxQuer saber se a sua infraestrutura está exposta a isto?
Falar com a TrueHacking →Referências
https://git.kernel.org/stable/c/107052a8cfeff3a97326277192b4f052e4860a8ahttps://git.kernel.org/stable/c/7a4cf27d1f0538f779bf31b8c99eda394e277119https://git.kernel.org/stable/c/8fad9c5bb00d3a9508d18bbfe832e33a47377730https://git.kernel.org/stable/c/c073c8cede5abd3836e83d70d72606d11d0759d4https://git.kernel.org/stable/c/d20b64f156de5d10410963fe238d82a4e7e97a2fhttps://git.kernel.org/stable/c/d6b4895197ab5a47cb81c6852d49320b05052960https://git.kernel.org/stable/c/ed514ecf4f29c80a2f09ae3c877059b401efe893https://git.kernel.org/stable/c/fa8b472952ef46eb632825051078c21ce0cafe55https://git.kernel.org/stable/c/fb07104a02e87c06c39914d13ed67fd8f839ca82https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlhttps://lists.debian.org/debian-lts-announce/2024/06/msg00020.html