data-kernel: emac: Fix a security issue
When program avb/dcb algorithm from ioctl request,
DWC_ETH_QOS driver does not block invalid queue number from userspace.
This vulnerability can be used to modify value of almost arbitrary address.
Add checking and block the invalid qinx input to fix the issue.
Change-Id: Ic76ff038dab3931ead11fe8fcae989b7e09c8527
Signed-off-by:
Sunil Paidimarri <hisunil@codeaurora.org>
Loading
Please register or sign in to comment