Haimin Zhang
c49a52046d
fix array-index-out-of-bounds in taprio_change
...
[ Upstream commit efe487fce3061d94222c6501d7be3aa549b3dc78 ]
syzbot report an array-index-out-of-bounds in taprio_change
index 16 is out of range for type '__u16 [16]'
that's because mqprio->num_tc is lager than TC_MAX_QUEUE,so we check
the return value of netdev_set_num_tc.
Reported-by: syzbot+2b3e5fb6c7ef285a94f6@syzkaller.appspotmail.com
Signed-off-by: Haimin Zhang <tcs_kernel@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:35 +02:00
..
2021-07-19 09:44:51 +02:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2021-07-25 14:36:19 +02:00
2020-10-05 18:40:01 -07:00
2020-09-24 19:46:21 -07:00
2020-10-05 18:40:01 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-08-18 08:59:10 +02:00
2020-12-03 11:13:37 -08:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2021-07-28 14:35:40 +02:00
2020-10-20 21:10:41 -07:00
2021-07-14 16:56:19 +02:00
2021-09-18 13:40:30 +02:00
2020-01-27 10:51:43 +01:00
2020-01-27 10:51:43 +01:00
2019-05-30 11:26:32 -07:00
2020-08-04 13:49:43 -07:00
2021-05-19 10:12:53 +02:00
2020-01-27 10:51:43 +01:00
2020-06-19 12:53:30 -07:00
2020-03-16 01:59:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-02-01 12:25:06 -08:00
2021-07-28 14:35:38 +02:00
2020-09-28 18:48:42 -07:00
2020-07-13 17:20:40 -07:00
2019-05-30 11:26:32 -07:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2020-02-29 21:27:02 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-07-13 17:20:40 -07:00
2021-02-23 15:53:23 +01:00
2020-05-01 16:08:19 -07:00
2021-03-17 17:06:14 +01:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2021-08-26 08:35:49 -04:00
2021-09-15 09:50:45 +02:00
2020-07-16 16:48:34 -07:00
2021-03-30 14:31:57 +02:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2021-06-03 09:00:50 +02:00
2020-07-16 16:48:34 -07:00
2021-09-03 10:09:24 +02:00
2020-07-16 16:48:34 -07:00
2020-08-05 20:13:21 -07:00
2021-06-03 09:00:28 +02:00
2020-07-16 16:48:34 -07:00
2021-08-12 13:22:07 +02:00
2021-03-30 14:31:57 +02:00
2020-08-05 20:13:21 -07:00
2020-07-16 16:48:34 -07:00
2020-08-05 20:13:21 -07:00
2020-02-19 17:49:48 -08:00
2019-12-03 11:53:55 -08:00
2019-12-06 11:58:45 -08:00
2020-07-16 16:48:34 -07:00
2020-10-29 11:45:47 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2021-07-14 16:56:25 +02:00
2021-03-30 14:31:57 +02:00
2020-07-16 16:48:34 -07:00
2021-03-30 14:31:57 +02:00
2020-07-16 16:48:34 -07:00
2021-09-18 13:40:35 +02:00
2020-07-16 16:48:34 -07:00
2021-04-14 08:42:02 +02:00