mbox series

[0/3] Fix NULL pointer dereference in RZ/{G2L,V2M,A2} pinctrl driver

Message ID 20230814072436.3757-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Fix NULL pointer dereference in RZ/{G2L,V2M,A2} pinctrl driver | expand

Message

Biju Das Aug. 14, 2023, 7:24 a.m. UTC
Fix NULL pointer dereference in RZ/{G2L,V2M,A2M} pinctrl driver due to
a race condition during boot. We have seen issues with RZ/{G2L,V2M} boards.
Based on the code, RZ/A2 will also hit this issue. So fixing RZ/A2 aswell.

This issue is reproducible with 1/200 reboots.

Biju Das (3):
  pinctrl: renesas: rzg2l: Fix NULL pointer dereference in
    rzg2l_dt_subnode_to_map()
  pinctrl: renesas: rzv2m: Fix NULL pointer dereference in
    rzv2m_dt_subnode_to_map()
  pinctrl: renesas: rza2: Add lock around
    pinctrl_generic{{add,remove}_group,{add,remove}_function}

 drivers/pinctrl/renesas/pinctrl-rza2.c  | 11 ++++++++++-
 drivers/pinctrl/renesas/pinctrl-rzg2l.c |  8 ++++++++
 drivers/pinctrl/renesas/pinctrl-rzv2m.c |  8 ++++++++
 3 files changed, 26 insertions(+), 1 deletion(-)