diff options
author | Haggai Eran <haggai.eran@gmail.com> | 2015-05-23 23:13:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-03 09:29:42 -0700 |
commit | 38559326b111e77afbd77dad2117bdebc0b536a2 (patch) | |
tree | 9b3e15f2de8f8458a9460d2f3be1a9031c8f3ea7 /fs/ext4/inode.c | |
parent | 885c15d7ea3d8d883394d81ec57758857a2b1a54 (diff) |
staging: rtl8712: prevent buffer overrun in recvbuf2recvframe
commit cab462140f8a183e3cca0b51c8b59ef715cb6148 upstream.
With an RTL8191SU USB adaptor, sometimes the hints for a fragmented
packet are set, but the packet length is too large. Allocate enough
space to prevent memory corruption and a resulting kernel panic [1].
[1] http://www.spinics.net/lists/linux-wireless/msg136546.html
Signed-off-by: Haggai Eran <haggai.eran@gmail.com>
ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions