All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+53cf317e7803e4ef2f33@syzkaller.appspotmail.com>
To: jgg@ziepe.ca, leon@kernel.org, linux-kernel@vger.kernel.org,
	 linux-rdma@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: [syzbot] [rdma?] kernel BUG in ib_device_get_by_index
Date: Fri, 27 Feb 2026 20:38:30 -0800	[thread overview]
Message-ID: <69a27146.050a0220.3a55be.002e.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    779cae956c83 Add linux-next specific files for 20260223
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=172ebfb2580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=ee920513e4deca5f
dashboard link: https://syzkaller.appspot.com/bug?extid=53cf317e7803e4ef2f33
compiler:       Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/0110c968351a/disk-779cae95.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/582a1d69266e/vmlinux-779cae95.xz
kernel image: https://storage.googleapis.com/syzbot-assets/13619a146558/bzImage-779cae95.xz

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

------------[ cut here ]------------
kernel BUG at ./include/rdma/ib_verbs.h:4611!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 5945 Comm: syz.0.12 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:ib_device_try_get include/rdma/ib_verbs.h:4611 [inline]
RIP: 0010:ib_device_get_by_index+0x2ae/0x2b0 drivers/infiniband/core/device.c:331
Code: f9 e9 76 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 9d fe ff ff 4c 89 f7 e8 6d 6c 88 f9 e9 90 fe ff ff e8 23 46 1e f9 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa
RSP: 0018:ffffc900043e6fe0 EFLAGS: 00010287
RAX: ffffffff88a79c3d RBX: ffff8880277bc000 RCX: 0000000000080000
RDX: ffffc9000d882000 RSI: 0000000000000110 RDI: 0000000000000111
RBP: ffffc900043e7090 R08: ffff88801e7ebc80 R09: 0000000000000002
R10: 0000000000000406 R11: 0000000000000002 R12: 1ffff9200087ce00
R13: dffffc0000000000 R14: ffff8880277bd104 R15: dffffc0000000000
FS:  00007f2f67eba6c0(0000) GS:ffff888125009000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 0000000076cc8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 nldev_set_doit+0x23a/0x4c0 drivers/infiniband/core/nldev.c:1134
 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline]
 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline]
 rdma_nl_rcv+0x6d7/0xa10 drivers/infiniband/core/netlink.c:259
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x80f/0x9b0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec+0x18f/0x1d0 net/socket.c:737
 __sock_sendmsg net/socket.c:752 [inline]
 ____sys_sendmsg+0x589/0x8c0 net/socket.c:2610
 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2664
 __sys_sendmsg net/socket.c:2696 [inline]
 __do_sys_sendmsg net/socket.c:2701 [inline]
 __se_sys_sendmsg net/socket.c:2699 [inline]
 __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2699
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2f66f9c629
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2f67eba028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f2f67216090 RCX: 00007f2f66f9c629
RDX: 0000000000040810 RSI: 0000200000000140 RDI: 0000000000000004
RBP: 00007f2f67032b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2f67216128 R14: 00007f2f67216090 R15: 00007fff55890bd8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ib_device_try_get include/rdma/ib_verbs.h:4611 [inline]
RIP: 0010:ib_device_get_by_index+0x2ae/0x2b0 drivers/infiniband/core/device.c:331
Code: f9 e9 76 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 9d fe ff ff 4c 89 f7 e8 6d 6c 88 f9 e9 90 fe ff ff e8 23 46 1e f9 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa
RSP: 0018:ffffc900043e6fe0 EFLAGS: 00010287
RAX: ffffffff88a79c3d RBX: ffff8880277bc000 RCX: 0000000000080000
RDX: ffffc9000d882000 RSI: 0000000000000110 RDI: 0000000000000111
RBP: ffffc900043e7090 R08: ffff88801e7ebc80 R09: 0000000000000002
R10: 0000000000000406 R11: 0000000000000002 R12: 1ffff9200087ce00
R13: dffffc0000000000 R14: ffff8880277bd104 R15: dffffc0000000000
FS:  00007f2f67eba6c0(0000) GS:ffff888125109000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f37a17e82f8 CR3: 0000000076cc8000 CR4: 00000000003526f0


---
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 syzkaller@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

             reply	other threads:[~2026-02-28  4:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28  4:38 syzbot [this message]
2026-02-28  5:07 ` [syzbot] [rdma?] kernel BUG in ib_device_get_by_index Tetsuo Handa
2026-03-02 19:17   ` Leon Romanovsky
2026-03-03 13:38     ` Tetsuo Handa
2026-03-04 14:22       ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69a27146.050a0220.3a55be.002e.GAE@google.com \
    --to=syzbot+53cf317e7803e4ef2f33@syzkaller.appspotmail.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.