lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <67812de0.050a0220.d0267.002f.GAE@google.com>
Date: Fri, 10 Jan 2025 06:25:36 -0800
From: syzbot <syzbot+8f07eb2fda9f5d7721f6@...kaller.appspotmail.com>
To: johan.hedberg@...il.com, linux-bluetooth@...r.kernel.org, 
	linux-kernel@...r.kernel.org, luiz.dentz@...il.com, marcel@...tmann.org, 
	syzkaller-bugs@...glegroups.com
Subject: [syzbot] [bluetooth?] general protection fault in hci_devcd_register

Hello,

syzbot found the following issue on:

HEAD commit:    56e6a3499e14 Merge tag 'trace-v6.13-rc5' of git://git.kern..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=153a68b0580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=86dd15278dbfe19f
dashboard link: https://syzkaller.appspot.com/bug?extid=8f07eb2fda9f5d7721f6
compiler:       gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/565d8b4108b2/disk-56e6a349.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e85ad690a360/vmlinux-56e6a349.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e6c6b9944a99/bzImage-56e6a349.xz

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

Oops: general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077]
CPU: 1 UID: 0 PID: 13691 Comm: syz.8.2770 Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline]
RIP: 0010:__mutex_lock+0x151/0xa60 kernel/locking/mutex.c:735
Code: d0 7c 08 84 d2 0f 85 d5 06 00 00 8b 35 b8 51 1f 0f 85 f6 75 29 48 8d 7b 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 bd 06 00 00 48 3b 5b 60 0f 85 ad 01 00 00 bf 01
RSP: 0018:ffffc90003187a80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffffffff3476314
RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000070
RBP: ffffc90003187bc0 R08: ffffffff8a2adaa7 R09: 0000000000000006
R10: ffffc90003187bd8 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000002 R14: 0000000000000000 R15: ffffc90003187b00
FS:  00007fb831e4b6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f4eeff8 CR3: 000000006a8c0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hci_devcd_register+0x47/0x170 net/bluetooth/coredump.c:415
 force_devcd_write+0x175/0x350 drivers/bluetooth/hci_vhci.c:346
 full_proxy_write+0xfb/0x1b0 fs/debugfs/file.c:356
 vfs_write+0x24c/0x1150 fs/read_write.c:677
 ksys_write+0x12b/0x250 fs/read_write.c:731
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb830f85d29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb831e4b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb831175fa0 RCX: 00007fb830f85d29
RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fb831001b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb831175fa0 R15: 00007fffe9a97e58
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline]
RIP: 0010:__mutex_lock+0x151/0xa60 kernel/locking/mutex.c:735
Code: d0 7c 08 84 d2 0f 85 d5 06 00 00 8b 35 b8 51 1f 0f 85 f6 75 29 48 8d 7b 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 bd 06 00 00 48 3b 5b 60 0f 85 ad 01 00 00 bf 01
RSP: 0018:ffffc90003187a80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffffffff3476314
RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000070
RBP: ffffc90003187bc0 R08: ffffffff8a2adaa7 R09: 0000000000000006
R10: ffffc90003187bd8 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000002 R14: 0000000000000000 R15: ffffc90003187b00
FS:  00007fb831e4b6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f4eeff8 CR3: 000000006a8c0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	7c 08                	jl     0xa
   2:	84 d2                	test   %dl,%dl
   4:	0f 85 d5 06 00 00    	jne    0x6df
   a:	8b 35 b8 51 1f 0f    	mov    0xf1f51b8(%rip),%esi        # 0xf1f51c8
  10:	85 f6                	test   %esi,%esi
  12:	75 29                	jne    0x3d
  14:	48 8d 7b 60          	lea    0x60(%rbx),%rdi
  18:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1f:	fc ff df
  22:	48 89 fa             	mov    %rdi,%rdx
  25:	48 c1 ea 03          	shr    $0x3,%rdx
* 29:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2d:	0f 85 bd 06 00 00    	jne    0x6f0
  33:	48 3b 5b 60          	cmp    0x60(%rbx),%rbx
  37:	0f 85 ad 01 00 00    	jne    0x1ea
  3d:	bf                   	.byte 0xbf
  3e:	01                   	.byte 0x1


---
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@...glegroups.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ