[v6.1] WARNING in taprio_get_start_time

7 views
Skip to first unread message

syzbot

unread,
Nov 22, 2024, 2:20:29 PM11/22/24
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e4d90d63d385 Linux 6.1.119
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=102586e8580000
kernel config: https://syzkaller.appspot.com/x/.config?x=2033991697223b4d
dashboard link: https://syzkaller.appspot.com/bug?extid=dc630bffb2034eabfb9c
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ade76a251c5e/disk-e4d90d63.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/75b37498c5b7/vmlinux-e4d90d63.xz
kernel image: https://storage.googleapis.com/syzbot-assets/4eaeba71c1b6/Image-e4d90d63.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dc630b...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 5320 at net/sched/sch_taprio.c:1020 taprio_get_start_time+0x154/0x180
Modules linked in:
CPU: 1 PID: 5320 Comm: syz.2.268 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : taprio_get_start_time+0x154/0x180
lr : taprio_get_start_time+0x150/0x180 net/sched/sch_taprio.c:1020
sp : ffff800021b56aa0
x29: ffff800021b56aa0 x28: ffff0000c4238000 x27: dfff800000000000
x26: ffff0000c45a5f00 x25: ffff0000c42380f0 x24: dfff800000000000
x23: 0000000000000000 x22: 0000000fabbd6158 x21: 0000000000000000
x20: 0000000000000000 x19: ffff800021b56dc0 x18: ffff800021b56760
x17: ffff800018aab000 x16: ffff8000084f280c x15: ffff80001858bf80
x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000080000
x11: 0000000000005cbf x10: ffff800023d5a000 x9 : ffff80001084a17c
x8 : 0000000000005cc0 x7 : ffff80001084a0d4 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000002 x1 : 0000000000000000 x0 : 00000000fffffff2
Call trace:
taprio_get_start_time+0x154/0x180
taprio_change+0x2d20/0x39d0 net/sched/sch_taprio.c:1655
taprio_init+0x4a8/0x530 net/sched/sch_taprio.c:1822
qdisc_create+0x70c/0xe6c net/sched/sch_api.c:1319
tc_modify_qdisc+0xa14/0x186c
rtnetlink_rcv_msg+0x72c/0xd94 net/core/rtnetlink.c:6150
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2493
rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6168
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1337
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1859
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x55c/0x848 net/socket.c:2519
___sys_sendmsg net/socket.c:2573 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2602
__do_sys_sendmsg net/socket.c:2611 [inline]
__se_sys_sendmsg net/socket.c:2609 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 403
hardirqs last enabled at (402): [<ffff8000083fdef8>] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline]
hardirqs last enabled at (402): [<ffff8000083fdef8>] ktime_mono_to_any+0x14c/0x22c kernel/time/timekeeping.c:932
hardirqs last disabled at (403): [<ffff8000122932ac>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (280): [<ffff8000105735ac>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (394): [<ffff800010842e80>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (394): [<ffff800010842e80>] taprio_change+0x2b98/0x39d0 net/sched/sch_taprio.c:1636
---[ end trace 0000000000000000 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Nov 23, 2024, 5:59:23 AM11/23/24
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: e4d90d63d385 Linux 6.1.119
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=147b36e8580000
kernel config: https://syzkaller.appspot.com/x/.config?x=2033991697223b4d
dashboard link: https://syzkaller.appspot.com/bug?extid=dc630bffb2034eabfb9c
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11fc81c0580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14437930580000
netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4289 at net/sched/sch_taprio.c:1020 taprio_get_start_time+0x154/0x180
Modules linked in:
CPU: 1 PID: 4289 Comm: syz-executor332 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : taprio_get_start_time+0x154/0x180
lr : taprio_get_start_time+0x150/0x180 net/sched/sch_taprio.c:1020
sp : ffff800020fb6aa0
x29: ffff800020fb6aa0 x28: ffff0000d2496000 x27: dfff800000000000
x26: ffff0000da58a000 x25: ffff0000d24960f0 x24: dfff800000000000
x23: 0000000000000000 x22: 00000008f093ebc8 x21: 0000000000000000
x20: 0000000000000000 x19: ffff800020fb6dc0 x18: ffff800020fb6760
x17: ffff800018aab000 x16: ffff8000084f280c x15: ffff80001858bf80
x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000000003
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80001084a17c
x8 : ffff0000d814d340 x7 : ffff80001084a0d4 x6 : 0000000000000000
irq event stamp: 135889
hardirqs last enabled at (135888): [<ffff8000083fdef8>] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline]
hardirqs last enabled at (135888): [<ffff8000083fdef8>] ktime_mono_to_any+0x14c/0x22c kernel/time/timekeeping.c:932
hardirqs last disabled at (135889): [<ffff8000122932ac>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (135800): [<ffff8000105735ac>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (135880): [<ffff800010842e80>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (135880): [<ffff800010842e80>] taprio_change+0x2b98/0x39d0 net/sched/sch_taprio.c:1636
---[ end trace 0000000000000000 ]---


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages