diff options
author | Stefano Brivio <[email protected]> | 2019-01-03 21:43:35 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-01-04 13:06:07 -0800 |
commit | 44039e00171b0fe930c07ff7b43e6023eaf1ed31 (patch) | |
tree | 2b47c88227cbd7d560fb44002cf62b896d8631fd /lib/test_overflow.c | |
parent | bc6e019b6ee65ff4ebf3ca272f774cf6c67db669 (diff) |
fou6: Prevent unbounded recursion in GUE error handler
I forgot to deal with IPv6 in commit 11789039da53 ("fou: Prevent unbounded
recursion in GUE error handler").
Now syzbot reported what might be the same type of issue, caused by
gue6_err(), that is, handling exceptions for direct UDP encapsulation in
GUE (UDP-in-UDP) leads to unbounded recursion in the GUE exception
handler.
As it probably doesn't make sense to set up GUE this way, and it's
currently not even possible to configure this, skip exception handling for
UDP (or UDP-Lite) packets encapsulated in UDP (or UDP-Lite) packets with
GUE on IPv6.
Reported-by: [email protected]
Reported-by: Willem de Bruijn <[email protected]>
Reported-by: Eric Dumazet <[email protected]>
Fixes: b8a51b38e4d4 ("fou, fou6: ICMP error handlers for FoU and GUE")
Signed-off-by: Stefano Brivio <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions