mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00: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:
|
History
|
|
|---|---|---|
| .. | ||
| console.c | ||
| core.c | ||
| dummy_stm.c | ||
| ftrace.c | ||
| heartbeat.c | ||
| Kconfig | ||
| Makefile | ||
| p_basic.c | ||
| p_sys-t.c | ||
| policy.c | ||
| stm.h | ||