]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: sch_skbprio: add message validation to skbprio_change()
authorEric Dumazet <edumazet@google.com>
Sun, 3 May 2020 03:09:25 +0000 (20:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 May 2020 22:52:13 +0000 (15:52 -0700)
commit8e8533ab3cc7c72d939daf2432a3106b765a6524
tree2a7faebf0e32074ba10339ed0b0a43adab622bd3
parentcbca8b28f363b1c49db2d70a27ebc7a917516171
net_sched: sch_skbprio: add message validation to skbprio_change()

Do not assume the attribute has the right size.

Fixes: 253a0df73fc0 ("net/sched: add skbprio scheduler")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_skbprio.c