mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||