mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
bf7cbaae08
Using STP_POLICY_ID_SET ioctl command with dummy_stm device, or any STM
device that supplies zero mmio channel size, will trigger a division by
zero bug in the kernel.
Prevent this by disallowing channel widths other than 1 for such devices.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Fixes:
|
||
---|---|---|
.. | ||
console.c | ||
core.c | ||
dummy_stm.c | ||
ftrace.c | ||
heartbeat.c | ||
Kconfig | ||
Makefile | ||
p_basic.c | ||
p_sys-t.c | ||
policy.c | ||
stm.h |