public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [syzbot] [kernel?] general protection fault in put_ipc_ns
@ 2025-11-17 11:17 syzbot
  2025-11-18  0:20 ` Hillf Danton
  0 siblings, 1 reply; 5+ messages in thread
From: syzbot @ 2025-11-17 11:17 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    6d7e7251d03f Add linux-next specific files for 20251113
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=15e4c914580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=8a6b17620801a7cb
dashboard link: https://syzkaller.appspot.com/bug?extid=b4c65e7d749285a82467
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=154ec658580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=162aeb42580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ab5308631192/disk-6d7e7251.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/53e266b1dfe2/vmlinux-6d7e7251.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a24e6bca1ac0/bzImage-6d7e7251.xz

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

RSP: 002b:00007fff968e5608 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fe58a3e5fa0 RCX: 00007fe58a18f6c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000
RBP: 00007fff968e5660 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe58a3e5fa0 R14: 00007fe58a3e5fa0 R15: 0000000000000001
 </TASK>
Oops: general protection fault, probably for non-canonical address 0xdffffc000000012f: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000978-0x000000000000097f]
CPU: 1 UID: 0 PID: 6021 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:is_ns_init_id include/linux/ns_common.h:25 [inline]
RIP: 0010:__ns_ref_dec_and_lock include/linux/ns_common.h:108 [inline]
RIP: 0010:put_ipc_ns+0x7f/0x3d0 ipc/namespace.c:204
Code: b8 f1 f1 f1 f1 00 f3 f3 f3 4b 89 44 3d 00 e8 08 6b 85 fd 48 85 db 0f 84 ea 00 00 00 4c 8d a3 88 09 00 00 4d 89 e6 49 c1 ee 03 <43> 80 3c 3e 00 74 08 4c 89 e7 e8 02 c4 eb fd 4d 8b 3c 24 31 ff 4c
RSP: 0018:ffffc900034a7c60 EFLAGS: 00010203
RAX: ffffffff843c7548 RBX: fffffffffffffff4 RCX: ffff88805c080000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: fffffffffffffff4
RBP: ffffc900034a7cf8 R08: ffff8880325cd59f R09: 1ffff110064b9ab3
R10: dffffc0000000000 R11: ffffed10064b9ab4 R12: 000000000000097c
R13: 1ffff92000694f8c R14: 000000000000012f R15: dffffc0000000000
FS:  0000555582176500(0000) GS:ffff888125b78000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555582176808 CR3: 00000000751d2000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 nsproxy_free+0x1ef/0x7c0 kernel/nsproxy.c:67
 __free_nsproxy_free kernel/nsproxy.c:76 [inline]
 create_new_namespaces+0x47a/0x540 kernel/nsproxy.c:132
 unshare_nsproxy_namespaces+0x11c/0x170 kernel/nsproxy.c:197
 ksys_unshare+0x4c8/0x8c0 kernel/fork.c:3129
 __do_sys_unshare kernel/fork.c:3200 [inline]
 __se_sys_unshare kernel/fork.c:3198 [inline]
 __x64_sys_unshare+0x38/0x50 kernel/fork.c:3198
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe58a18f6c9
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:00007fff968e5608 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fe58a3e5fa0 RCX: 00007fe58a18f6c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006a040000
RBP: 00007fff968e5660 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe58a3e5fa0 R14: 00007fe58a3e5fa0 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:is_ns_init_id include/linux/ns_common.h:25 [inline]
RIP: 0010:__ns_ref_dec_and_lock include/linux/ns_common.h:108 [inline]
RIP: 0010:put_ipc_ns+0x7f/0x3d0 ipc/namespace.c:204
Code: b8 f1 f1 f1 f1 00 f3 f3 f3 4b 89 44 3d 00 e8 08 6b 85 fd 48 85 db 0f 84 ea 00 00 00 4c 8d a3 88 09 00 00 4d 89 e6 49 c1 ee 03 <43> 80 3c 3e 00 74 08 4c 89 e7 e8 02 c4 eb fd 4d 8b 3c 24 31 ff 4c
RSP: 0018:ffffc900034a7c60 EFLAGS: 00010203
RAX: ffffffff843c7548 RBX: fffffffffffffff4 RCX: ffff88805c080000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: fffffffffffffff4
RBP: ffffc900034a7cf8 R08: ffff8880325cd59f R09: 1ffff110064b9ab3
R10: dffffc0000000000 R11: ffffed10064b9ab4 R12: 000000000000097c
R13: 1ffff92000694f8c R14: 000000000000012f R15: dffffc0000000000
FS:  0000555582176500(0000) GS:ffff888125b78000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555582176808 CR3: 00000000751d2000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	b8 f1 f1 f1 f1       	mov    $0xf1f1f1f1,%eax
   5:	00 f3                	add    %dh,%bl
   7:	f3 f3 4b 89 44 3d 00 	repz xrelease mov %rax,0x0(%r13,%r15,1)
   e:	e8 08 6b 85 fd       	call   0xfd856b1b
  13:	48 85 db             	test   %rbx,%rbx
  16:	0f 84 ea 00 00 00    	je     0x106
  1c:	4c 8d a3 88 09 00 00 	lea    0x988(%rbx),%r12
  23:	4d 89 e6             	mov    %r12,%r14
  26:	49 c1 ee 03          	shr    $0x3,%r14
* 2a:	43 80 3c 3e 00       	cmpb   $0x0,(%r14,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 e7             	mov    %r12,%rdi
  34:	e8 02 c4 eb fd       	call   0xfdebc43b
  39:	4d 8b 3c 24          	mov    (%r12),%r15
  3d:	31 ff                	xor    %edi,%edi
  3f:	4c                   	rex.WR


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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] [kernel?] general protection fault in put_ipc_ns
  2025-11-17 11:17 syzbot
@ 2025-11-18  0:20 ` Hillf Danton
  2025-11-18  3:03   ` syzbot
  0 siblings, 1 reply; 5+ messages in thread
From: Hillf Danton @ 2025-11-18  0:20 UTC (permalink / raw)
  To: syzbot; +Cc: Christian Brauner, linux-fsdevel, linux-kernel, syzkaller-bugs

> Date: Mon, 17 Nov 2025 03:17:31 -0800
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    6d7e7251d03f Add linux-next specific files for 20251113
> git tree:       linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=15e4c914580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=8a6b17620801a7cb
> dashboard link: https://syzkaller.appspot.com/bug?extid=b4c65e7d749285a82467
> compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=154ec658580000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=162aeb42580000

#syz test: https://github.com/brauner/linux.git namespace-6.19

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] [kernel?] general protection fault in put_ipc_ns
  2025-11-18  0:20 ` Hillf Danton
@ 2025-11-18  3:03   ` syzbot
  0 siblings, 0 replies; 5+ messages in thread
From: syzbot @ 2025-11-18  3:03 UTC (permalink / raw)
  To: brauner, hdanton, linux-fsdevel, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+b4c65e7d749285a82467@syzkaller.appspotmail.com
Tested-by: syzbot+b4c65e7d749285a82467@syzkaller.appspotmail.com

Tested on:

commit:         cc7d6c65 nstree: fix kernel-doc comments for internal ..
git tree:       https://github.com/brauner/linux.git namespace-6.19
console output: https://syzkaller.appspot.com/x/log.txt?x=10d8e212580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=1e17ff55912ea78d
dashboard link: https://syzkaller.appspot.com/bug?extid=b4c65e7d749285a82467
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] [kernel?] general protection fault in put_ipc_ns
       [not found] <CAD3jPMqPSe2zYjM9ABrp_Uc31o0E9TSeDSSxZjP7zLo52r6+yg@mail.gmail.com>
@ 2025-11-18 16:44 ` syzbot
  0 siblings, 0 replies; 5+ messages in thread
From: syzbot @ 2025-11-18 16:44 UTC (permalink / raw)
  To: hellouser819, linux-kernel, syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

wner.h:32 [inline]
 post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
 prep_new_page mm/page_alloc.c:1859 [inline]
 get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3920
 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5215
 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486
 alloc_slab_page mm/slub.c:3075 [inline]
 allocate_slab+0x86/0x3b0 mm/slub.c:3248
 new_slab mm/slub.c:3302 [inline]
 ___slab_alloc+0xf56/0x1990 mm/slub.c:4651
 __slab_alloc+0x65/0x100 mm/slub.c:4774
 __slab_alloc_node mm/slub.c:4850 [inline]
 slab_alloc_node mm/slub.c:5246 [inline]
 kmem_cache_alloc_node_noprof+0x4ce/0x710 mm/slub.c:5310
 __alloc_skb+0x112/0x2d0 net/core/skbuff.c:664
 alloc_skb include/linux/skbuff.h:1383 [inline]
 alloc_skb_with_frags+0xca/0x890 net/core/skbuff.c:6694
 sock_alloc_send_pskb+0x84d/0x980 net/core/sock.c:2995
 unix_dgram_sendmsg+0x461/0x1850 net/unix/af_unix.c:2133
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg+0x21c/0x270 net/socket.c:746
 sock_write_iter+0x279/0x360 net/socket.c:1199
 new_sync_write fs/read_write.c:593 [inline]
 vfs_write+0x5c9/0xb30 fs/read_write.c:686
 ksys_write+0x145/0x250 fs/read_write.c:738
page last free pid 5214 tgid 5214 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1395 [inline]
 __free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2948
 discard_slab mm/slub.c:3346 [inline]
 __put_partials+0x146/0x170 mm/slub.c:3886
 put_cpu_partial+0x1f2/0x2e0 mm/slub.c:3961
 __slab_free+0x288/0x2a0 mm/slub.c:5947
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x97/0x100 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:349
 kasan_slab_alloc include/linux/kasan.h:252 [inline]
 slab_post_alloc_hook mm/slub.c:4948 [inline]
 slab_alloc_node mm/slub.c:5258 [inline]
 kmem_cache_alloc_noprof+0x37d/0x700 mm/slub.c:5265
 getname_flags+0xb8/0x540 fs/namei.c:146
 getname include/linux/fs.h:2499 [inline]
 __do_sys_unlink fs/namei.c:5443 [inline]
 __se_sys_unlink fs/namei.c:5441 [inline]
 __x64_sys_unlink+0x3a/0x50 fs/namei.c:5441
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888026cc1f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888026cc1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888026cc2000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                        ^
 ffff888026cc2080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
 ffff888026cc2100: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00
==================================================================


Warning: Permanently added '10.128.1.28' (ED25519) to the list of known hosts.
2025/11/18 16:42:46 parsed 1 programs
[   77.911157][ T5835] cgroup: Unknown subsys name 'net'
[   78.100415][ T5835] cgroup: Unknown subsys name 'cpuset'
[   78.109439][ T5835] cgroup: Unknown subsys name 'rlimit'
Setting up swapspace version 1, size = 127995904 bytes
[   79.572711][ T5835] Adding 124996k swap on ./swap-file.  Priority:0 extents:1 across:124996k 
[   82.581196][ T5849] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality.
[   83.370499][   T52] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[   83.379285][   T52] ==================================================================
[   83.387460][   T52] BUG: KASAN: slab-use-after-free in hci_cmd_work+0x5d0/0x7b0
[   83.395076][   T52] Read of size 2 at addr ffff888026cc2038 by task kworker/u9:0/52
[   83.402866][   T52] 
[   83.405398][   T52] CPU: 0 UID: 0 PID: 52 Comm: kworker/u9:0 Not tainted syzkaller #0 PREEMPT(full) 
[   83.405421][   T52] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
[   83.405433][   T52] Workqueue: hci0 hci_cmd_work
[   83.405462][   T52] Call Trace:
[   83.405472][   T52]  <TASK>
[   83.405480][   T52]  dump_stack_lvl+0x189/0x250
[   83.405503][   T52]  ? __virt_addr_valid+0x1c8/0x5c0
[   83.405525][   T52]  ? rcu_is_watching+0x15/0xb0
[   83.405546][   T52]  ? __pfx_dump_stack_lvl+0x10/0x10
[   83.405565][   T52]  ? rcu_is_watching+0x15/0xb0
[   83.405589][   T52]  ? lock_release+0x4b/0x3d0
[   83.405606][   T52]  ? _raw_spin_lock_irqsave+0xb3/0xf0
[   83.405628][   T52]  ? __virt_addr_valid+0x1c8/0x5c0
[   83.405650][   T52]  ? __virt_addr_valid+0x4a5/0x5c0
[   83.405672][   T52]  print_report+0xca/0x240
[   83.405693][   T52]  ? hci_cmd_work+0x5d0/0x7b0
[   83.405708][   T52]  kasan_report+0x118/0x150
[   83.405727][   T52]  ? hci_cmd_work+0x5d0/0x7b0
[   83.405746][   T52]  hci_cmd_work+0x5d0/0x7b0
[   83.405763][   T52]  ? process_one_work+0x868/0x15e0
[   83.405780][   T52]  process_one_work+0x93a/0x15e0
[   83.405796][   T52]  ? __lock_acquire+0xab9/0xd20
[   83.405821][   T52]  ? __pfx_process_one_work+0x10/0x10
[   83.405847][   T52]  ? assign_work+0x3a1/0x410
[   83.405866][   T52]  worker_thread+0x9b0/0xee0
[   83.405894][   T52]  kthread+0x711/0x8a0
[   83.405916][   T52]  ? __pfx_worker_thread+0x10/0x10
[   83.405933][   T52]  ? __pfx_kthread+0x10/0x10
[   83.405954][   T52]  ? _raw_spin_unlock_irq+0x23/0x50
[   83.405974][   T52]  ? lockdep_hardirqs_on+0x9c/0x150
[   83.405994][   T52]  ? __pfx_kthread+0x10/0x10
[   83.406014][   T52]  ret_from_fork+0x599/0xb30
[   83.406031][   T52]  ? __pfx_ret_from_fork+0x10/0x10
[   83.406052][   T52]  ? __switch_to_asm+0x39/0x70
[   83.406071][   T52]  ? __switch_to_asm+0x33/0x70
[   83.406089][   T52]  ? __pfx_kthread+0x10/0x10
[   83.406108][   T52]  ret_from_fork_asm+0x1a/0x30
[   83.406134][   T52]  </TASK>
[   83.406140][   T52] 
[   83.596214][   T52] Allocated by task 5153:
[   83.600520][   T52]  kasan_save_track+0x3e/0x80
[   83.605447][   T52]  __kasan_slab_alloc+0x6c/0x80
[   83.610281][   T52]  kmem_cache_alloc_node_noprof+0x43c/0x710
[   83.616165][   T52]  __alloc_skb+0x112/0x2d0
[   83.620656][   T52]  hci_cmd_sync_alloc+0x3d/0x3b0
[   83.625587][   T52]  __hci_cmd_sync_sk+0x1a7/0xc70
[   83.630510][   T52]  hci_dev_open_sync+0x14b2/0x2dc0
[   83.635611][   T52]  hci_power_on+0x1b4/0x720
[   83.640096][   T52]  process_one_work+0x93a/0x15e0
[   83.645018][   T52]  worker_thread+0x9b0/0xee0
[   83.649608][   T52]  kthread+0x711/0x8a0
[   83.653664][   T52]  ret_from_fork+0x599/0xb30
[   83.658235][   T52]  ret_from_fork_asm+0x1a/0x30
[   83.662995][   T52] 
[   83.665303][   T52] Freed by task 5872:
[   83.669262][   T52]  kasan_save_track+0x3e/0x80
[   83.673926][   T52]  kasan_save_free_info+0x46/0x50
[   83.678939][   T52]  __kasan_slab_free+0x5c/0x80
[   83.683696][   T52]  kmem_cache_free+0x197/0x640
[   83.688457][   T52]  vhci_read+0x49a/0x5b0
[   83.692698][   T52]  vfs_read+0x200/0xa30
[   83.696838][   T52]  ksys_read+0x145/0x250
[   83.701073][   T52]  do_syscall_64+0xfa/0xfa0
[   83.705583][   T52]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   83.711460][   T52] 
[   83.713772][   T52] The buggy address belongs to the object at ffff888026cc2000
[   83.713772][   T52]  which belongs to the cache skbuff_head_cache of size 240
[   83.728331][   T52] The buggy address is located 56 bytes inside of
[   83.728331][   T52]  freed 240-byte region [ffff888026cc2000, ffff888026cc20f0)
[   83.742126][   T52] 
[   83.744521][   T52] The buggy address belongs to the physical page:
[   83.750927][   T52] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x26cc2
[   83.759756][   T52] anon flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
[   83.767296][   T52] page_type: f5(slab)
[   83.771275][   T52] raw: 00fff00000000000 ffff88801eaa0000 ffffea0000c96dc0 dead000000000005
[   83.779887][   T52] raw: 0000000000000000 00000000000c000c 00000000f5000000 0000000000000000
[   83.788446][   T52] page dumped because: kasan: bad access detected
[   83.794846][   T52] page_owner tracks the page as allocated
[   83.800544][   T52] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 5214, tgid 5214 (udevd), ts 26976681464, free_ts 26965856314
[   83.819365][   T52]  post_alloc_hook+0x240/0x2a0
[   83.824127][   T52]  get_page_from_freelist+0x2365/0x2440
[   83.829660][   T52]  __alloc_frozen_pages_noprof+0x181/0x370
[   83.835551][   T52]  alloc_pages_mpol+0x232/0x4a0
[   83.840387][   T52]  allocate_slab+0x86/0x3b0
[   83.845242][   T52]  ___slab_alloc+0xf56/0x1990
[   83.850075][   T52]  __slab_alloc+0x65/0x100
[   83.854564][   T52]  kmem_cache_alloc_node_noprof+0x4ce/0x710
[   83.860637][   T52]  __alloc_skb+0x112/0x2d0
[   83.865136][   T52]  alloc_skb_with_frags+0xca/0x890
[   83.870326][   T52]  sock_alloc_send_pskb+0x84d/0x980
[   83.875506][   T52]  unix_dgram_sendmsg+0x461/0x1850
[   83.880599][   T52]  __sock_sendmsg+0x21c/0x270
[   83.885356][   T52]  sock_write_iter+0x279/0x360
[   83.890116][   T52]  vfs_write+0x5c9/0xb30
[   83.894341][   T52]  ksys_write+0x145/0x250
[   83.898656][   T52] page last free pid 5214 tgid 5214 stack trace:
[   83.904967][   T52]  __free_frozen_pages+0xbc8/0xd30
[   83.910059][   T52]  __put_partials+0x146/0x170
[   83.914719][   T52]  put_cpu_partial+0x1f2/0x2e0
[   83.919482][   T52]  __slab_free+0x288/0x2a0
[   83.923881][   T52]  qlist_free_all+0x97/0x100
[   83.928451][   T52]  kasan_quarantine_reduce+0x148/0x160
[   83.933889][   T52]  __kasan_slab_alloc+0x22/0x80
[   83.938724][   T52]  kmem_cache_alloc_noprof+0x37d/0x700
[   83.944169][   T52]  getname_flags+0xb8/0x540
[   83.949091][   T52]  __x64_sys_unlink+0x3a/0x50
[   83.953753][   T52]  do_syscall_64+0xfa/0xfa0
[   83.958248][   T52]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   83.964121][   T52] 
[   83.966513][   T52] Memory state around the buggy address:
[   83.972122][   T52]  ffff888026cc1f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   83.980166][   T52]  ffff888026cc1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   83.988209][   T52] >ffff888026cc2000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   83.996247][   T52]                                         ^
[   84.002117][   T52]  ffff888026cc2080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
[   84.010260][   T52]  ffff888026cc2100: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00
[   84.018310][   T52] ==================================================================
[   84.028479][   T52] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[   84.035707][   T52] CPU: 0 UID: 0 PID: 52 Comm: kworker/u9:0 Not tainted syzkaller #0 PREEMPT(full) 
[   84.045006][   T52] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
[   84.055073][   T52] Workqueue: hci0 hci_cmd_work
[   84.059922][   T52] Call Trace:
[   84.063190][   T52]  <TASK>
[   84.066239][   T52]  dump_stack_lvl+0x99/0x250
[   84.070829][   T52]  ? __asan_memcpy+0x40/0x70
[   84.075506][   T52]  ? __pfx_dump_stack_lvl+0x10/0x10
[   84.080870][   T52]  ? __pfx__printk+0x10/0x10
[   84.085484][   T52]  vpanic+0x237/0x6d0
[   84.089714][   T52]  ? __pfx_vpanic+0x10/0x10
[   84.094201][   T52]  ? preempt_schedule+0xae/0xc0
[   84.099051][   T52]  ? __pfx_preempt_schedule+0x10/0x10
[   84.104414][   T52]  panic+0xb9/0xc0
[   84.108124][   T52]  ? __pfx_panic+0x10/0x10
[   84.112524][   T52]  ? _raw_spin_unlock_irqrestore+0xfd/0x110
[   84.118490][   T52]  ? is_module_address+0x17/0xf0
[   84.123408][   T52]  ? hci_cmd_work+0x5d0/0x7b0
[   84.128066][   T52]  check_panic_on_warn+0x89/0xb0
[   84.132990][   T52]  ? hci_cmd_work+0x5d0/0x7b0
[   84.137758][   T52]  end_report+0x6f/0x160
[   84.142068][   T52]  kasan_report+0x129/0x150
[   84.146646][   T52]  ? hci_cmd_work+0x5d0/0x7b0
[   84.151307][   T52]  hci_cmd_work+0x5d0/0x7b0
[   84.155922][   T52]  ? process_one_work+0x868/0x15e0
[   84.161061][   T52]  process_one_work+0x93a/0x15e0
[   84.165992][   T52]  ? __lock_acquire+0xab9/0xd20
[   84.170840][   T52]  ? __pfx_process_one_work+0x10/0x10
[   84.176283][   T52]  ? assign_work+0x3a1/0x410
[   84.180884][   T52]  worker_thread+0x9b0/0xee0
[   84.185468][   T52]  kthread+0x711/0x8a0
[   84.189525][   T52]  ? __pfx_worker_thread+0x10/0x10
[   84.194622][   T52]  ? __pfx_kthread+0x10/0x10
[   84.199211][   T52]  ? _raw_spin_unlock_irq+0x23/0x50
[   84.204412][   T52]  ? lockdep_hardirqs_on+0x9c/0x150
[   84.209605][   T52]  ? __pfx_kthread+0x10/0x10
[   84.214279][   T52]  ret_from_fork+0x599/0xb30
[   84.218867][   T52]  ? __pfx_ret_from_fork+0x10/0x10
[   84.223975][   T52]  ? __switch_to_asm+0x39/0x70
[   84.228816][   T52]  ? __switch_to_asm+0x33/0x70
[   84.233568][   T52]  ? __pfx_kthread+0x10/0x10
[   84.238153][   T52]  ret_from_fork_asm+0x1a/0x30
[   84.242913][   T52]  </TASK>
[   84.246435][   T52] Kernel Offset: disabled
[   84.250827][   T52] Rebooting in 86400 seconds..


syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3917061150=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'

git status (err=<nil>)
HEAD detached at 07e030dea
nothing to commit, working tree clean


tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
	-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include   -DGOOS_linux=1 -DGOARCH_amd64=1 \
	-DHOSTGOOS_linux=1 -DGIT_REVISION=\"07e030dea6e6d9ca88b75bb3be2810f47083b328\"
/usr/bin/ld: /tmp/ccEzlJr7.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=12a13212580000


Tested on:

commit:         187dac29 Add linux-next specific files for 20251118
git tree:       linux-next
kernel config:  https://syzkaller.appspot.com/x/.config?x=f3aa05e175a53177
dashboard link: https://syzkaller.appspot.com/bug?extid=b4c65e7d749285a82467
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
patch:          https://syzkaller.appspot.com/x/patch.diff?x=1345fb42580000


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] [kernel?] general protection fault in put_ipc_ns
       [not found] <CAD3jPMpwQMa6uosLA4w1dx7Xnna5AwZ6uk2qB2GEsFTRYJxzEg@mail.gmail.com>
@ 2025-11-18 20:02 ` syzbot
  0 siblings, 0 replies; 5+ messages in thread
From: syzbot @ 2025-11-18 20:02 UTC (permalink / raw)
  To: hellouser819, linux-kernel, syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

adv_slave_0
[   82.746048][ T5860] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   82.773161][ T5860] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[   82.785953][ T5860] batman_adv: batadv0: Adding interface: batadv_slave_1
[   82.794164][ T5860] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   82.820942][ T5860] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[   82.862768][ T5860] hsr_slave_0: entered promiscuous mode
[   82.869651][ T5860] hsr_slave_1: entered promiscuous mode
[   83.005933][ T5860] netdevsim netdevsim0 netdevsim0: renamed from eth0
[   83.019731][ T5860] netdevsim netdevsim0 netdevsim1: renamed from eth1
[   83.030171][ T5860] netdevsim netdevsim0 netdevsim2: renamed from eth2
[   83.040986][ T5860] netdevsim netdevsim0 netdevsim3: renamed from eth3
[   83.071236][ T5860] bridge0: port 2(bridge_slave_1) entered blocking state
[   83.078685][ T5860] bridge0: port 2(bridge_slave_1) entered forwarding state
[   83.086669][ T5860] bridge0: port 1(bridge_slave_0) entered blocking state
[   83.093877][ T5860] bridge0: port 1(bridge_slave_0) entered forwarding state
[   83.151826][ T5860] 8021q: adding VLAN 0 to HW filter on device bond0
[   83.171295][   T13] bridge0: port 1(bridge_slave_0) entered disabled state
[   83.180117][   T13] bridge0: port 2(bridge_slave_1) entered disabled state
[   83.196524][ T5860] 8021q: adding VLAN 0 to HW filter on device team0
[   83.211219][ T3472] bridge0: port 1(bridge_slave_0) entered blocking state
[   83.218434][ T3472] bridge0: port 1(bridge_slave_0) entered forwarding state
[   83.234149][ T3472] bridge0: port 2(bridge_slave_1) entered blocking state
[   83.241297][ T3472] bridge0: port 2(bridge_slave_1) entered forwarding state
[   83.404613][ T5860] 8021q: adding VLAN 0 to HW filter on device batadv0
[   83.449917][ T5860] veth0_vlan: entered promiscuous mode
[   83.462775][ T5860] veth1_vlan: entered promiscuous mode
[   83.492993][ T5860] veth0_macvtap: entered promiscuous mode
[   83.503348][ T5860] veth1_macvtap: entered promiscuous mode
[   83.523457][ T5860] batman_adv: batadv0: Interface activated: batadv_slave_0
[   83.537529][ T5860] batman_adv: batadv0: Interface activated: batadv_slave_1
[   83.554721][   T13] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[   83.566197][   T13] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[   83.575668][   T13] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[   83.586196][   T13] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[   83.724406][   T13] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   83.805326][   T13] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   83.870907][   T13] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[   83.935311][ T5149] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[   83.945133][ T5149] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[   83.954176][ T5149] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[   83.962161][ T5149] ==================================================================
[   83.970240][ T5149] BUG: KASAN: slab-use-after-free in hci_cmd_work+0x5d0/0x7b0
[   83.977772][ T5149] Read of size 2 at addr ffff88807912b178 by task kworker/u9:1/5149
[   83.985826][ T5149] 
[   83.988159][ T5149] CPU: 1 UID: 0 PID: 5149 Comm: kworker/u9:1 Not tainted syzkaller #0 PREEMPT(full) 
[   83.988173][ T5149] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
[   83.988181][ T5149] Workqueue: hci0 hci_cmd_work
[   83.988200][ T5149] Call Trace:
[   83.988208][ T5149]  <TASK>
[   83.988212][ T5149]  dump_stack_lvl+0x189/0x250
[   83.988226][ T5149]  ? __virt_addr_valid+0x1c8/0x5c0
[   83.988242][ T5149]  ? rcu_is_watching+0x15/0xb0
[   83.988261][ T5149]  ? __pfx_dump_stack_lvl+0x10/0x10
[   83.988277][ T5149]  ? rcu_is_watching+0x15/0xb0
[   83.988294][ T5149]  ? lock_release+0x4b/0x3d0
[   83.988309][ T5149]  ? _raw_spin_lock_irqsave+0xb3/0xf0
[   83.988328][ T5149]  ? __virt_addr_valid+0x1c8/0x5c0
[   83.988348][ T5149]  ? __virt_addr_valid+0x4a5/0x5c0
[   83.988368][ T5149]  print_report+0xca/0x240
[   83.988388][ T5149]  ? hci_cmd_work+0x5d0/0x7b0
[   83.988402][ T5149]  kasan_report+0x118/0x150
[   83.988420][ T5149]  ? hci_cmd_work+0x5d0/0x7b0
[   83.988439][ T5149]  hci_cmd_work+0x5d0/0x7b0
[   83.988454][ T5149]  ? process_one_work+0x868/0x15e0
[   83.988471][ T5149]  process_one_work+0x93a/0x15e0
[   83.988487][ T5149]  ? __lock_acquire+0xab9/0xd20
[   83.988510][ T5149]  ? __pfx_process_one_work+0x10/0x10
[   83.988528][ T5149]  ? assign_work+0x3a1/0x410
[   83.988544][ T5149]  worker_thread+0x9b0/0xee0
[   83.988569][ T5149]  kthread+0x711/0x8a0
[   83.988589][ T5149]  ? __pfx_worker_thread+0x10/0x10
[   83.988605][ T5149]  ? __pfx_kthread+0x10/0x10
[   83.988625][ T5149]  ? _raw_spin_unlock_irq+0x23/0x50
[   83.988642][ T5149]  ? lockdep_hardirqs_on+0x9c/0x150
[   83.988663][ T5149]  ? __pfx_kthread+0x10/0x10
[   83.988682][ T5149]  ret_from_fork+0x599/0xb30
[   83.988699][ T5149]  ? __pfx_ret_from_fork+0x10/0x10
[   83.988717][ T5149]  ? __switch_to_asm+0x39/0x70
[   83.988735][ T5149]  ? __switch_to_asm+0x33/0x70
[   83.988753][ T5149]  ? __pfx_kthread+0x10/0x10
[   83.988770][ T5149]  ret_from_fork_asm+0x1a/0x30
[   83.988794][ T5149]  </TASK>
[   83.988800][ T5149] 
[   84.178661][ T5149] Allocated by task 51:
[   84.182802][ T5149]  kasan_save_track+0x3e/0x80
[   84.187470][ T5149]  __kasan_slab_alloc+0x6c/0x80
[   84.192305][ T5149]  kmem_cache_alloc_node_noprof+0x43c/0x710
[   84.198202][ T5149]  __alloc_skb+0x112/0x2d0
[   84.202607][ T5149]  hci_cmd_sync_alloc+0x3d/0x3b0
[   84.207729][ T5149]  __hci_cmd_sync_sk+0x1a7/0xc70
[   84.212679][ T5149]  hci_dev_open_sync+0x1756/0x2dc0
[   84.217791][ T5149]  hci_power_on+0x1b4/0x720
[   84.222285][ T5149]  process_one_work+0x93a/0x15e0
[   84.227216][ T5149]  worker_thread+0x9b0/0xee0
[   84.231822][ T5149]  kthread+0x711/0x8a0
[   84.235883][ T5149]  ret_from_fork+0x599/0xb30
[   84.240457][ T5149]  ret_from_fork_asm+0x1a/0x30
[   84.245211][ T5149] 
[   84.247532][ T5149] Freed by task 5891:
[   84.251512][ T5149]  kasan_save_track+0x3e/0x80
[   84.256186][ T5149]  kasan_save_free_info+0x46/0x50
[   84.261299][ T5149]  __kasan_slab_free+0x5c/0x80
[   84.266105][ T5149]  kmem_cache_free+0x197/0x640
[   84.270862][ T5149]  vhci_read+0x49a/0x5b0
[   84.275105][ T5149]  vfs_read+0x200/0xa30
[   84.279274][ T5149]  ksys_read+0x145/0x250
[   84.283498][ T5149]  do_syscall_64+0xfa/0xfa0
[   84.287991][ T5149]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   84.293891][ T5149] 
[   84.296210][ T5149] The buggy address belongs to the object at ffff88807912b140
[   84.296210][ T5149]  which belongs to the cache skbuff_head_cache of size 240
[   84.310805][ T5149] The buggy address is located 56 bytes inside of
[   84.310805][ T5149]  freed 240-byte region [ffff88807912b140, ffff88807912b230)
[   84.324512][ T5149] 
[   84.326836][ T5149] The buggy address belongs to the physical page:
[   84.333246][ T5149] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7912b
[   84.341996][ T5149] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
[   84.349273][ T5149] page_type: f5(slab)
[   84.353249][ T5149] raw: 00fff00000000000 ffff8881416a7000 dead000000000122 0000000000000000
[   84.361818][ T5149] raw: 0000000000000000 00000000800c000c 00000000f5000000 0000000000000000
[   84.370380][ T5149] page dumped because: kasan: bad access detected
[   84.376783][ T5149] page_owner tracks the page as allocated
[   84.382566][ T5149] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 5149, tgid 5149 (kworker/u9:1), ts 83954148103, free_ts 83898959204
[   84.401827][ T5149]  post_alloc_hook+0x240/0x2a0
[   84.406596][ T5149]  get_page_from_freelist+0x2365/0x2440
[   84.412140][ T5149]  __alloc_frozen_pages_noprof+0x181/0x370
[   84.417940][ T5149]  alloc_pages_mpol+0x232/0x4a0
[   84.422780][ T5149]  allocate_slab+0x86/0x3b0
[   84.427274][ T5149]  ___slab_alloc+0xf56/0x1990
[   84.431938][ T5149]  __slab_alloc+0x65/0x100
[   84.436343][ T5149]  kmem_cache_alloc_noprof+0x40f/0x700
[   84.441793][ T5149]  skb_clone+0x212/0x3a0
[   84.446024][ T5149]  hci_event_packet+0x3f4/0x1260
[   84.450947][ T5149]  hci_rx_work+0x45d/0xfc0
[   84.455353][ T5149]  process_one_work+0x93a/0x15e0
[   84.460293][ T5149]  worker_thread+0x9b0/0xee0
[   84.464934][ T5149]  kthread+0x711/0x8a0
[   84.468988][ T5149]  ret_from_fork+0x599/0xb30
[   84.473570][ T5149]  ret_from_fork_asm+0x1a/0x30
[   84.478320][ T5149] page last free pid 23 tgid 23 stack trace:
[   84.484280][ T5149]  __free_frozen_pages+0xbc8/0xd30
[   84.489382][ T5149]  rcu_core+0xcab/0x1770
[   84.493645][ T5149]  handle_softirqs+0x27d/0x880
[   84.498484][ T5149]  run_ksoftirqd+0x9b/0x100
[   84.502973][ T5149]  smpboot_thread_fn+0x542/0xa60
[   84.507903][ T5149]  kthread+0x711/0x8a0
[   84.511955][ T5149]  ret_from_fork+0x599/0xb30
[   84.516613][ T5149]  ret_from_fork_asm+0x1a/0x30
[   84.521371][ T5149] 
[   84.523692][ T5149] Memory state around the buggy address:
[   84.529318][ T5149]  ffff88807912b000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   84.537367][ T5149]  ffff88807912b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
[   84.545411][ T5149] >ffff88807912b100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
[   84.553463][ T5149]                                                                 ^
[   84.561420][ T5149]  ffff88807912b180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   84.569522][ T5149]  ffff88807912b200: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc
[   84.577564][ T5149] ==================================================================
[   84.589891][ T5149] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[   84.597220][ T5149] CPU: 1 UID: 0 PID: 5149 Comm: kworker/u9:1 Not tainted syzkaller #0 PREEMPT(full) 
[   84.606680][ T5149] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
[   84.616748][ T5149] Workqueue: hci0 hci_cmd_work
[   84.621514][ T5149] Call Trace:
[   84.624787][ T5149]  <TASK>
[   84.627716][ T5149]  dump_stack_lvl+0x99/0x250
[   84.632304][ T5149]  ? __asan_memcpy+0x40/0x70
[   84.636901][ T5149]  ? __pfx_dump_stack_lvl+0x10/0x10
[   84.642098][ T5149]  ? __pfx__printk+0x10/0x10
[   84.646681][ T5149]  vpanic+0x237/0x6d0
[   84.650648][ T5149]  ? __pfx_vpanic+0x10/0x10
[   84.655134][ T5149]  ? preempt_schedule+0xae/0xc0
[   84.659973][ T5149]  ? __pfx_preempt_schedule+0x10/0x10
[   84.665424][ T5149]  panic+0xb9/0xc0
[   84.669144][ T5149]  ? __pfx_panic+0x10/0x10
[   84.673547][ T5149]  ? _raw_spin_unlock_irqrestore+0xfd/0x110
[   84.679427][ T5149]  ? is_module_address+0x17/0xf0
[   84.684353][ T5149]  ? hci_cmd_work+0x5d0/0x7b0
[   84.689108][ T5149]  check_panic_on_warn+0x89/0xb0
[   84.694039][ T5149]  ? hci_cmd_work+0x5d0/0x7b0
[   84.698796][ T5149]  end_report+0x6f/0x160
[   84.703026][ T5149]  kasan_report+0x129/0x150
[   84.707528][ T5149]  ? hci_cmd_work+0x5d0/0x7b0
[   84.712310][ T5149]  hci_cmd_work+0x5d0/0x7b0
[   84.716803][ T5149]  ? process_one_work+0x868/0x15e0
[   84.721908][ T5149]  process_one_work+0x93a/0x15e0
[   84.726862][ T5149]  ? __lock_acquire+0xab9/0xd20
[   84.731730][ T5149]  ? __pfx_process_one_work+0x10/0x10
[   84.737108][ T5149]  ? assign_work+0x3a1/0x410
[   84.741711][ T5149]  worker_thread+0x9b0/0xee0
[   84.746302][ T5149]  kthread+0x711/0x8a0
[   84.750365][ T5149]  ? __pfx_worker_thread+0x10/0x10
[   84.755468][ T5149]  ? __pfx_kthread+0x10/0x10
[   84.760051][ T5149]  ? _raw_spin_unlock_irq+0x23/0x50
[   84.765238][ T5149]  ? lockdep_hardirqs_on+0x9c/0x150
[   84.770437][ T5149]  ? __pfx_kthread+0x10/0x10
[   84.775024][ T5149]  ret_from_fork+0x599/0xb30
[   84.779604][ T5149]  ? __pfx_ret_from_fork+0x10/0x10
[   84.784708][ T5149]  ? __switch_to_asm+0x39/0x70
[   84.789477][ T5149]  ? __switch_to_asm+0x33/0x70
[   84.794236][ T5149]  ? __pfx_kthread+0x10/0x10
[   84.798902][ T5149]  ret_from_fork_asm+0x1a/0x30
[   84.803663][ T5149]  </TASK>
[   84.807193][ T5149] Kernel Offset: disabled
[   84.811510][ T5149] Rebooting in 86400 seconds..


syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3725946350=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'

git status (err=<nil>)
HEAD detached at 07e030dea
nothing to commit, working tree clean


tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923"  -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
	-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include   -DGOOS_linux=1 -DGOARCH_amd64=1 \
	-DHOSTGOOS_linux=1 -DGIT_REVISION=\"07e030dea6e6d9ca88b75bb3be2810f47083b328\"
/usr/bin/ld: /tmp/cciUCEVm.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=15e3fb42580000


Tested on:

commit:         187dac29 Add linux-next specific files for 20251118
git tree:       linux-next
kernel config:  https://syzkaller.appspot.com/x/.config?x=f3aa05e175a53177
dashboard link: https://syzkaller.appspot.com/bug?extid=b4c65e7d749285a82467
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
patch:          https://syzkaller.appspot.com/x/patch.diff?x=10513212580000


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-18 20:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAD3jPMpwQMa6uosLA4w1dx7Xnna5AwZ6uk2qB2GEsFTRYJxzEg@mail.gmail.com>
2025-11-18 20:02 ` [syzbot] [kernel?] general protection fault in put_ipc_ns syzbot
     [not found] <CAD3jPMqPSe2zYjM9ABrp_Uc31o0E9TSeDSSxZjP7zLo52r6+yg@mail.gmail.com>
2025-11-18 16:44 ` syzbot
2025-11-17 11:17 syzbot
2025-11-18  0:20 ` Hillf Danton
2025-11-18  3:03   ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox