CVE-2024-27075

medium

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

https://git.kernel.org/stable/c/fb07104a02e87c06c39914d13ed67fd8f839ca82

https://git.kernel.org/stable/c/fa8b472952ef46eb632825051078c21ce0cafe55

https://git.kernel.org/stable/c/ed514ecf4f29c80a2f09ae3c877059b401efe893

https://git.kernel.org/stable/c/d6b4895197ab5a47cb81c6852d49320b05052960

https://git.kernel.org/stable/c/d20b64f156de5d10410963fe238d82a4e7e97a2f

https://git.kernel.org/stable/c/c073c8cede5abd3836e83d70d72606d11d0759d4

https://git.kernel.org/stable/c/8fad9c5bb00d3a9508d18bbfe832e33a47377730

https://git.kernel.org/stable/c/7a4cf27d1f0538f779bf31b8c99eda394e277119

https://git.kernel.org/stable/c/107052a8cfeff3a97326277192b4f052e4860a8a

Details

Source: Mitre, NVD

Published: 2024-05-01

Updated: 2024-05-01

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium