Comment 5 for bug 1825942

Revision history for this message
Viktor S. Wold Eide (viktor-s-wold-eide) wrote :

I could have been more explicit. The thread linked to in the initial bug description also contains a simplified script by Ben Hutchings <email address hidden> that triggers the kernel crash (included below for the reference):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921542#10

The script triggers the kernel crash in the latest available Ubuntu kernel, that is 4.15.0.48, which affects bionic and xenial linux-hwe.

--- BEGIN ---
#!/bin/sh -ex

modprobe ifb

while true; do
    tc qdisc add dev ifb0 root handle 2:0 prio bands 5
    tc qdisc add dev ifb0 parent 2:5 sfq
    tc filter add dev ifb0 parent 2:0 protocol ip prio 5 handle 0 tcindex mask 0 classid 2:5 pass_on
    tc qdisc del dev ifb0 root || true
done
--- END ---