summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-12-09 21:24:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-27 14:02:17 +0100
commit2976661ed4de10bd1945e7cca0d7363b44f240dd (patch)
tree2cb2cbce52a6fcc5159d262cc2f21906a51fe5f8 /scripts/git.orderFile
parent3931567bf1757a2ce9c03bb3c935a7c036636c4c (diff)
downloadlinux-2976661ed4de10bd1945e7cca0d7363b44f240dd.tar.gz
linux-2976661ed4de10bd1945e7cca0d7363b44f240dd.tar.bz2
linux-2976661ed4de10bd1945e7cca0d7363b44f240dd.zip
of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent()
commit fec3edc47d5cfc2dd296a5141df887bf567944db upstream. On a malformed interrupt-map property which is shorter than expected by 1 cell, we may read bogus data past the end of the property instead of returning an error in of_irq_parse_imap_parent(). Decrement the remaining length when skipping over the interrupt parent phandle cell. Fixes: 935df1bd40d4 ("of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw()") Cc: stable@vger.kernel.org Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20241209-of_irq_fix-v1-1-782f1419c8a1@quicinc.com [rh: reword commit msg] Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions