linux-stable/drivers/soc
Jason A. Donenfeld 4be6501204 ARM: ux500: do not directly dereference __iomem
commit 65b0e307a1 upstream.

Sparse reports that calling add_device_randomness() on `uid` is a
violation of address spaces. And indeed the next usage uses readl()
properly, but that was left out when passing it toadd_device_
randomness(). So instead copy the whole thing to the stack first.

Fixes: 4040d10a3d ("ARM: ux500: add DB serial number to entropy pool")
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/202210230819.loF90KDh-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://lore.kernel.org/r/20221108123755.207438-1-Jason@zx2c4.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 12:07:36 +01:00
..
bcm soc: bcm: brcmstb: Don't leak device tree node reference 2019-02-12 19:44:53 +01:00
dove
fsl soc: fsl: qe: Check of ioremap return value 2022-03-08 19:00:58 +01:00
mediatek soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher 2019-06-22 08:17:15 +02:00
qcom soc: qcom: smem_state: Add refcounting for the 'state->of_node' 2022-10-26 13:15:41 +02:00
renesas
rockchip
samsung
sunxi
tegra soc/tegra: fuse: Fix bitwise vs. logical OR warning 2021-12-22 09:05:14 +01:00
ti drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static 2023-01-07 12:07:11 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2023-01-07 12:07:36 +01:00
versatile
Kconfig
Makefile