CVE-2024-27075

media: dvb-frontends: avoid stack overflow warnings with clang

State
Published
Severity
Not scored
Published
May 1, 2024
Updated
May 23, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before c073c8cede5abd3836e83d70d72606d11d0759d4Affected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before fa8b472952ef46eb632825051078c21ce0cafe55Affected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before fb07104a02e87c06c39914d13ed67fd8f839ca82Affected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before d20b64f156de5d10410963fe238d82a4e7e97a2fAffected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before 107052a8cfeff3a97326277192b4f052e4860a8aAffected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before 8fad9c5bb00d3a9508d18bbfe832e33a47377730Affected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before d6b4895197ab5a47cb81c6852d49320b05052960Affected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before ed514ecf4f29c80a2f09ae3c877059b401efe893Affected
  • 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e to before 7a4cf27d1f0538f779bf31b8c99eda394e277119Affected
  • dc4bc70259daba144f799e40a99413a86c601006Affected
  • d1d85ae79d5e5592dccba6890658c0999b864ddcAffected
  • ad91b2e392be4339e09eefd8479675b4232ddfa1Affected
  • ec1eeaf5b6c12b561d9a90588987e44a2e2f8b1aAffected
  • 4.4.168 to before 4.5Affected
  • 4.9.82 to before 4.10Affected
  • 4.14.20 to before 4.15Affected
  • 4.15.4 to before 4.16Affected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 4.19.311 through 4.19.*Not affected
  • 5.4.273 through 5.4.*Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.