linux/drivers/media/tuners
Ilya Krutskih 6dd8e257f7 media: tda18250: fix possible integer overflow
Integer overflow may occur, when variable exp equals to zero. Result
of shift 1 << (exp - 1) may then leads to undefined behavior.

Fixes: 148abd3b5b ("media: tda18250: support for new silicon tuner")
Cc: stable@vger.kernel.org
Signed-off-by: Ilya Krutskih <devsec@tpz.ru>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-07-28 15:17:54 +02:00
..
e4000_priv.h
e4000.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
e4000.h
fc001x-common.h
fc0011.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fc0011.h
fc0012-priv.h
fc0012.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fc0012.h
fc0013-priv.h
fc0013.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fc0013.h media: tuners: fc0013 Remove unused functions 2024-12-02 14:05:25 +01:00
fc2580_priv.h
fc2580.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
fc2580.h
it913x.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
it913x.h
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
m88rs6000t.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
m88rs6000t.h
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
max2165_priv.h
max2165.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
max2165.h
mc44s803_priv.h
mc44s803.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mc44s803.h
msi001.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mt20xx.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mt20xx.h
mt2060_priv.h
mt2060.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
mt2060.h
mt2063.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mt2063.h
mt2131_priv.h
mt2131.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mt2131.h
mt2266.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mt2266.h
mxl301rf.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
mxl301rf.h
mxl5005s.c media: mxl5005s: reduce stack usage in MXL5005_ControlInit 2026-03-16 11:51:54 +01:00
mxl5005s.h
mxl5007t.c
mxl5007t.h
qm1d1b0004.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
qm1d1b0004.h
qm1d1c0042.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
qm1d1c0042.h
qt1010_priv.h
qt1010.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
qt1010.h
r820t.c media: Print chip type explicitly when loading the Rafael Micro r820t module 2021-12-07 11:29:57 +01:00
r820t.h
si2157_priv.h media: si2157: Include support for si2177 chip 2026-03-25 18:27:25 +01:00
si2157.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
si2157.h
tda827x.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tda827x.h
tda8290.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tda8290.h
tda9887.c media: tda9887: add missing MODULE_DESCRIPTION() macro 2024-06-15 10:49:20 +02:00
tda9887.h
tda18212.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
tda18212.h
tda18218_priv.h
tda18218.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tda18218.h
tda18250_priv.h
tda18250.c media: tda18250: fix possible integer overflow 2026-07-28 15:17:54 +02:00
tda18250.h
tda18271-common.c
tda18271-fe.c media: tda18271: add missing result checking of tda18271_lookup_map() 2024-10-12 16:28:24 +02:00
tda18271-maps.c
tda18271-priv.h
tda18271.h
tea5761.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tea5761.h
tea5767.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tea5767.h
tua9001_priv.h
tua9001.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
tua9001.h
tuner-i2c.h Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tuner-simple.c media: tuners: Constify struct tunertype, tuner_range and tuner_params 2025-02-21 10:33:15 +01:00
tuner-simple.h
tuner-types.c media: tuners: Constify struct tunertype, tuner_range and tuner_params 2025-02-21 10:33:15 +01:00
xc2028-types.h media: xc2028: rename the driver from tuner-xc2028 2022-03-12 16:59:50 +01:00
xc2028.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
xc2028.h media: xc2028: rename the driver from tuner-xc2028 2022-03-12 16:59:50 +01:00
xc4000.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
xc4000.h
xc5000.c media: xc5000: Add rf strength function 2026-03-17 10:50:19 +01:00
xc5000.h