[PATCH net-next v2 0/3] net: pcs: rzn1-miic: Validate dtb configuration values
From: Kyle Hendry via B4 Relay
Date: Mon Sep 28 2026 - 17:20:18 EST
This series addresses issues found when reviewing another fix:
https://lore.kernel.org/netdev/20260915-rzn1-miic-fix-array-v5-1-b7173fd5b97d@xxxxxxxxxxxxxxxxxxxx/
Invalid values from the dtb could cause out of bounds array access. Checking
the values as they're parsed should prevent this.
Signed-off-by: Kyle Hendry <khendry@xxxxxxxxxxxxxxxxxxxx>
---
Changes in v2:
- Simplify fixes by making miic_port_max the last documented port number
- Add fixes tags
- Link to v1: https://lore.kernel.org/r/20260925-miic-validate-dtb-v1-0-3a6db9bb75ec@xxxxxxxxxxxxxxxxxxxx
---
Kyle Hendry (3):
net: pcs: rzn1-miic: Fix port numbering on RZ/T2H
net: pcs: rzn1-miic: Fix miic register initialization loop
net: pcs: rzn1-miic: Validate dtb configuration values
drivers/net/pcs/pcs-rzn1-miic.c | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
---
base-commit: 014d795c73837ea2339a4ea8e8f82c6e959b845d
change-id: 20260924-miic-validate-dtb-bfc4b380b782
Best regards,
--
Kyle Hendry <khendry@xxxxxxxxxxxxxxxxxxxx>