diff options
| author | Haimin Zhang <[email protected]> | 2021-08-30 03:47:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-30 11:24:40 +0000 |
| commit | efe487fce3061d94222c6501d7be3aa549b3dc78 (patch) | |
| tree | 9736bad5c6d1a10fbf167ba9a94f0d7001a3e17e /net/unix/af_unix.c | |
| parent | net: fix NULL pointer reference in cipso_v4_doi_free (diff) | |
| download | kernel-efe487fce3061d94222c6501d7be3aa549b3dc78.tar.gz kernel-efe487fce3061d94222c6501d7be3aa549b3dc78.zip | |
fix array-index-out-of-bounds in taprio_change
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: [email protected]
Signed-off-by: Haimin Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
