CVE-2024-27075
Assigner: Linux
Published: 2024-05-01T13:04:44.494Z
State: PUBLISHED
descriptions: value: 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.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 3cd890dbe2a4
lessThan: c073c8cede5a
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: fa8b472952ef
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: fb07104a02e8
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: d20b64f156de
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: 107052a8cfef
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: 8fad9c5bb00d
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: d6b4895197ab
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: ed514ecf4f29
status: affected
versionType: git
version: 3cd890dbe2a4
lessThan: 7a4cf27d1f05
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4.16
status: affected
version: 0
lessThan: 4.16
status: unaffected
versionType: custom
version: 4.19.311
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.273
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.214
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.153
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.83
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.23
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.11
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8.2
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: media: dvb-frontends: avoid stack overflow warnings with clang
x_generator: engine: bippy-d175d3acf727