Alexei Starovoitov
9f7e43da6a
net/xfrm: fix out-of-bounds packet access
...
BUG: KASAN: slab-out-of-bounds in _decode_session6+0x1331/0x14e0
net/ipv6/xfrm6_policy.c:161
Read of size 1 at addr ffff8801d882eec7 by task syz-executor1/6667
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
print_address_description+0x6c/0x20b mm/kasan/report.c:256
kasan_report_error mm/kasan/report.c:354 [inline]
kasan_report.cold.7+0x242/0x30d mm/kasan/report.c:412
__asan_report_load1_noabort+0x14/0x20 mm/kasan/report.c:430
_decode_session6+0x1331/0x14e0 net/ipv6/xfrm6_policy.c:161
__xfrm_decode_session+0x71/0x140 net/xfrm/xfrm_policy.c:2299
xfrm_decode_session include/net/xfrm.h:1232 [inline]
vti6_tnl_xmit+0x3c3/0x1bc1 net/ipv6/ip6_vti.c:542
__netdev_start_xmit include/linux/netdevice.h:4313 [inline]
netdev_start_xmit include/linux/netdevice.h:4322 [inline]
xmit_one net/core/dev.c:3217 [inline]
dev_hard_start_xmit+0x272/0xc10 net/core/dev.c:3233
__dev_queue_xmit+0x2ab2/0x3870 net/core/dev.c:3803
dev_queue_xmit+0x17/0x20 net/core/dev.c:3836
Reported-by: syzbot+acffccec848dc13fe459@syzkaller.appspotmail.com
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2018-10-11 13:24:46 +02:00
..
2018-07-24 14:10:42 -07:00
2018-09-09 14:50:56 -07:00
2018-05-22 10:51:09 +02:00
2018-09-21 19:10:49 -07:00
2018-03-27 13:18:09 -04:00
2018-08-29 19:28:55 -07:00
2017-11-15 11:56:19 -08:00
2018-06-06 18:39:49 -07:00
2018-07-05 20:15:26 +09:00
2018-08-01 09:50:04 -07:00
2018-07-27 09:33:37 -07:00
2018-06-27 17:32:11 +02:00
2018-05-07 23:50:27 -04:00
2018-07-05 20:15:26 +09:00
2017-09-01 20:33:42 -07:00
2018-05-11 00:10:56 +02:00
2017-05-21 13:42:36 -04:00
2018-08-13 08:42:25 -07:00
2017-01-28 10:33:06 -05:00
2018-08-11 01:58:46 +02:00
2018-02-16 15:57:42 -05:00
2018-09-02 14:03:54 -07:00
2018-07-07 10:58:49 +09:00
2018-08-27 15:13:17 -07:00
2017-11-02 11:10:55 +01:00
2018-07-06 11:19:07 +09:00
2018-09-13 12:09:32 -07:00
2018-09-17 07:56:02 -07:00
2018-09-19 21:24:28 -07:00
2018-08-29 17:51:44 -07:00
2018-06-22 13:43:27 +09:00
2018-07-20 21:17:12 -07:00
2018-07-24 14:10:43 -07:00
2017-11-02 11:10:55 +01:00
2018-07-24 19:21:58 -07:00
2016-12-25 17:21:23 +01:00
2018-07-16 13:45:16 -07:00
2018-07-16 17:51:48 +02:00
2017-11-24 01:37:35 +09:00
2018-07-07 10:58:49 +09:00
2018-05-16 07:24:30 +02:00
2017-03-24 13:17:07 -07:00
2018-07-07 10:58:49 +09:00
2018-08-05 17:21:14 -07:00
2018-09-26 19:57:23 -07:00
2018-07-03 10:29:26 +09:00
2018-07-18 15:10:47 -07:00
2018-07-31 09:22:48 +02:00
2018-06-22 13:43:27 +09:00
2018-06-01 13:56:30 -04:00
2018-03-25 20:53:54 -04:00
2018-04-25 13:02:15 -04:00
2018-07-21 19:31:46 -07:00
2018-06-26 11:33:04 +09:00
2017-11-02 11:10:55 +01:00
2018-06-26 11:33:04 +09:00
2018-09-16 15:27:44 -07:00
2018-05-16 07:24:30 +02:00
2018-09-04 10:26:30 +02:00
2017-06-16 11:48:39 -04:00
2018-07-11 15:26:35 +02:00
2018-09-04 10:26:30 +02:00
2018-03-07 10:54:29 +01:00
2018-09-03 07:37:57 +02:00
2018-10-11 13:24:46 +02:00
2017-02-09 10:22:17 +01:00
2018-04-26 07:51:48 +02:00
2018-04-16 07:50:09 +02:00