mirror of
https://github.com/torvalds/linux.git
synced 2026-11-17 08:41:34 +01:00
The venus driver fails to check if dev_pm_opp_find_freq_{ceil,floor}()
returns an error pointer before calling dev_pm_opp_put(). This causes
a crash when OPP tables are not present in device tree.
Unable to handle kernel access to user memory outside uaccess routines
at virtual address 000000000000002e
...
pc : dev_pm_opp_put+0x1c/0x4c
lr : core_clks_enable+0x4c/0x16c [venus_core]
Add IS_ERR() checks before calling dev_pm_opp_put() to avoid
dereferencing error pointers.
Fixes:
|
||
|---|---|---|
| .. | ||
| allegro-dvt | ||
| amlogic | ||
| amphion | ||
| aspeed | ||
| atmel | ||
| broadcom | ||
| cadence | ||
| chips-media | ||
| imagination | ||
| intel | ||
| marvell | ||
| mediatek | ||
| microchip | ||
| nuvoton | ||
| nvidia | ||
| nxp | ||
| qcom | ||
| raspberrypi | ||
| renesas | ||
| rockchip | ||
| samsung | ||
| st | ||
| sunxi | ||
| synopsys | ||
| ti | ||
| verisilicon | ||
| via | ||
| xilinx | ||
| Kconfig | ||
| m2m-deinterlace.c | ||
| Makefile | ||
| video-mux.c | ||