漏洞标题
媒体:gspca:cpia1:在set_flicker中越界移位
漏洞描述信息
在Linux内核中,已解决以下漏洞:
媒体:gspca:cpia1:超过范围的位移设置闪烁
Syzkaller报告了以下问题:
UBSAN:在drivers/media/usb/gspca/cpia1.c:1031:27处的超过范围的位移
位移指数245对于32位类型'int'太大
当变量"sd->params.exposure.gain"的值超过
整数中的位数时,会报告超过范围的位移错误。这是因为在整数中的位数内,变量"currentexp"无法向左位移。为了防止在向左位移时出现无效范围,添加了条件表达式。
CVSS信息
CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞类别
跨界内存读
漏洞标题
media: gspca: cpia1: shift-out-of-bounds in set_flicker
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
media: gspca: cpia1: shift-out-of-bounds in set_flicker
Syzkaller reported the following issue:
UBSAN: shift-out-of-bounds in drivers/media/usb/gspca/cpia1.c:1031:27
shift exponent 245 is too large for 32-bit type 'int'
When the value of the variable "sd->params.exposure.gain" exceeds the
number of bits in an integer, a shift-out-of-bounds error is reported. It
is triggered because the variable "currentexp" cannot be left-shifted by
more than the number of bits in an integer. In order to avoid invalid
range during left-shift, the conditional expression is added.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于media:gspca:cpia1模块存在溢出问题。
CVSS信息
N/A
漏洞类别
其他