From a265332993d29a7c60b6d4aeaa44aea0ef482dd8 Mon Sep 17 00:00:00 2001 From: orbisai0security Date: Fri, 1 May 2026 04:38:47 +0000 Subject: [PATCH] fix: V-007 security vulnerability Automated security fix generated by Orbis Security AI --- .../ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c b/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c index 80db1f0acbe47d..04a5ebaa6f75e0 100644 --- a/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c +++ b/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma.c @@ -1973,7 +1973,7 @@ int edma_set_mac_addr(struct net_device *netdev, void *p) if (netif_running(netdev)) return -EBUSY; - memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); + memcpy(netdev->dev_addr, addr->sa_data, ETH_ALEN); return 0; }