diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-01-10 00:34:31 +0300 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-01-12 20:24:55 +0300 |
commit | a297d07b9a1e4fb8cda25a4a2363a507d294b7c9 (patch) | |
tree | 14a725183d7855a84fdbf99c52b4efa253470ab2 /mm/failslab.c | |
parent | 678164a5f0ecd6e0134ce246d64ae7345f8de59c (diff) | |
download | linux-a297d07b9a1e4fb8cda25a4a2363a507d294b7c9.tar.xz |
pwm: Fix out-of-bounds access in of_pwm_single_xlate()
With args->args_count == 2 args->args[2] is not defined. Actually the
flags are contained in args->args[1].
Fixes: 3ab7b6ac5d82 ("pwm: Introduce single-PWM of_xlate function")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/243908750d306e018a3d4bf2eb745d53ab50f663.1704835845.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions