commit | a9a51bd727d141a67b589f375fe69d0e54c4fe22 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Nov 14 11:16:01 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 15 12:18:45 2019 -0800 |
tree | e3b6e6e089f5dc283edef8a559138838fd634e48 | |
parent | 4d189c1026fac6af922e16538fb7c653bbeed778 [diff] |
ax88172a: fix information leak on short answers If a malicious device gives a short MAC it can elicit up to 5 bytes of leaked memory out of the driver. We need to check for ETH_ALEN instead. Reported-by: syzbot+a8d4acdad35e6bbca308@syzkaller.appspotmail.com Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>