[GIT PULL] allocator argument fixes for v4.19-rc8
From: Kees Cook
Date: Thu Oct 11 2018 - 12:53:02 EST
Hi Greg,
Please pull this fix for open-coded multiplication in allocator arguments
for v4.19-rc8. This has been in linux-next for almost a week with no
reported issues. As discussed last week[1] this catches 4.19 up to
the same level of coverage we had in 4.18 for avoiding these kinds of
unchecked multiplications.
Thanks!
-Kees
[1] https://lkml.kernel.org/r/CAGXu5jJfs0KpRa6yag=ud0sJVW-tM-E4xuvgCMnBdFfDck5E1g@xxxxxxxxxxxxxx
The following changes since commit 57361846b52bc686112da6ca5368d11210796804:
Linux 4.19-rc2 (2018-09-02 14:37:30 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/alloc-args-v4.19-rc8
for you to fetch changes up to 329e09893909d409039f6a79757d9b80b67efe39:
treewide: Replace more open-coded allocation size multiplications (2018-10-05 18:06:30 -0700)
----------------------------------------------------------------
Fix open-coded multiplication arguments to allocators
- Fixes several new open-coded multiplications added in the 4.19 merge window.
----------------------------------------------------------------
Kees Cook (1):
treewide: Replace more open-coded allocation size multiplications
drivers/bluetooth/hci_qca.c | 2 +-
drivers/crypto/inside-secure/safexcel.c | 8 +++++---
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c | 4 ++--
drivers/hwmon/npcm750-pwm-fan.c | 2 +-
drivers/md/dm-integrity.c | 3 ++-
drivers/net/wireless/mediatek/mt76/usb.c | 10 +++++-----
drivers/pci/controller/pcie-cadence.c | 4 ++--
drivers/tty/serial/qcom_geni_serial.c | 4 ++--
net/sched/sch_cake.c | 2 +-
10 files changed, 22 insertions(+), 19 deletions(-)
--
Kees Cook
Pixel Security