Extracting prog: 1m30.320616661s
Minimizing prog: 7m11.676752613s
Simplifying prog options: 0s
Extracting C: 36.545223056s
Simplifying C: 12m37.597641035s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$TCFLSH(r1, 0x400455c8, 0x0)
ioctl$sock_bt_hci(r0, 0x400448e1, &(0x7f00000003c0))
program crashed: KASAN: use-after-free Write in __run_timers
program crashed: KASAN: use-after-free Write in enqueue_timer
single: successfully extracted reproducer
found reproducer with 5 syscalls
minimizing guilty program
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH
detailed listing:
executing program 0:
syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$TCFLSH(r0, 0x400455c8, 0x0)
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$sock_bt_hci(r0, 0x400448e1, &(0x7f00000003c0))
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TCFLSH(r1, 0x400455c8, 0x0)
ioctl$sock_bt_hci(r0, 0x400448e1, &(0x7f00000003c0))
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$TCFLSH(0xffffffffffffffff, 0x400455c8, 0x0)
ioctl$sock_bt_hci(r0, 0x400448e1, &(0x7f00000003c0))
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$TCFLSH(r0, 0x400455c8, 0x0)
ioctl$sock_bt_hci(0xffffffffffffffff, 0x400448e1, &(0x7f00000003c0))
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r1 = openat$ptmx(0xffffffffffffff9c, 0x0, 0x0, 0x0)
ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$TCFLSH(r1, 0x400455c8, 0x0)
ioctl$sock_bt_hci(r0, 0x400448e1, &(0x7f00000003c0))
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TIOCSETD(r1, 0x5423, 0x0)
ioctl$TCFLSH(r1, 0x400455c8, 0x0)
ioctl$sock_bt_hci(r0, 0x400448e1, &(0x7f00000003c0))
program did not crash
testing program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
detailed listing:
executing program 0:
r0 = syz_init_net_socket$bt_hci(0x1f, 0x3, 0x1)
r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0xf)
ioctl$TCFLSH(r1, 0x400455c8, 0x0)
ioctl$sock_bt_hci(r0, 0x400448e1, 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=40.385436897s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in enqueue_timer
simplifying C reproducer
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in enqueue_timer
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program did not crash
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program did not crash
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in __run_timers
a never seen crash title: KASAN: use-after-free Write in __run_timers, ignore
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in enqueue_timer
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in __run_timers
a never seen crash title: KASAN: use-after-free Write in __run_timers, ignore
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:false Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program did not crash
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program did not crash
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in __run_timers
a never seen crash title: KASAN: use-after-free Write in __run_timers, ignore
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in __run_timers
a never seen crash title: KASAN: use-after-free Write in __run_timers, ignore
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in __run_timers
a never seen crash title: KASAN: use-after-free Write in __run_timers, ignore
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in enqueue_timer
testing compiled C program (duration=40.385436897s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_init_net_socket$bt_hci-openat$ptmx-ioctl$TIOCSETD-ioctl$TCFLSH-ioctl$sock_bt_hci
program crashed: KASAN: use-after-free Write in __run_timers
a never seen crash title: KASAN: use-after-free Write in __run_timers, ignore
reproducing took 21m56.140251987s
repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: use-after-free in hlist_add_head include/linux/list.h:930 [inline]
BUG: KASAN: use-after-free in enqueue_timer+0xae/0x480 kernel/time/timer.c:611
Write of size 8 at addr ffff888116c90a00 by task kworker/1:2/57
CPU: 1 PID: 57 Comm: kworker/1:2 Not tainted 6.1.138-syzkaller-00009-g6246d345f550 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
print_address_description+0x71/0x210 mm/kasan/report.c:316
print_report+0x4a/0x60 mm/kasan/report.c:427
kasan_report+0x122/0x150 mm/kasan/report.c:531
__asan_report_store8_noabort+0x17/0x20 mm/kasan/report_generic.c:356
hlist_add_head include/linux/list.h:930 [inline]
enqueue_timer+0xae/0x480 kernel/time/timer.c:611
__mod_timer+0x79f/0xb30 kernel/time/timer.c:-1
mod_timer+0x1f/0x30 kernel/time/timer.c:1172
mod_peer_timer drivers/net/wireguard/timers.c:37 [inline]
wg_timers_any_authenticated_packet_traversal+0x133/0x1a0 drivers/net/wireguard/timers.c:215
wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline]
wg_packet_tx_worker+0x15e/0x4e0 drivers/net/wireguard/send.c:276
process_one_work+0x71f/0xc40 kernel/workqueue.c:2299
worker_thread+0xa29/0x11f0 kernel/workqueue.c:2446
kthread+0x281/0x320 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Allocated by task 356:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505
____kasan_kmalloc mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:388
kasan_kmalloc include/linux/kasan.h:212 [inline]
__do_kmalloc_node mm/slab_common.c:938 [inline]
__kmalloc+0xb1/0x1e0 mm/slab_common.c:951
kmalloc include/linux/slab.h:568 [inline]
kzalloc include/linux/slab.h:699 [inline]
hci_alloc_dev_priv+0x27/0x1bd0 net/bluetooth/hci_core.c:2435
hci_alloc_dev include/net/bluetooth/hci_core.h:1484 [inline]
hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:641 [inline]
hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:719 [inline]
hci_uart_tty_ioctl+0x3d6/0xa20 drivers/bluetooth/hci_ldisc.c:774
tty_ioctl+0x8ef/0xc60 drivers/tty/tty_io.c:2785
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Freed by task 360:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516
____kasan_slab_free+0x132/0x180 mm/kasan/common.c:241
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1745 [inline]
slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1771
slab_free mm/slub.c:3686 [inline]
__kmem_cache_free+0xb7/0x1b0 mm/slub.c:3702
kfree+0x6f/0xf0 mm/slab_common.c:990
hci_release_dev+0x13ad/0x1500 net/bluetooth/hci_core.c:2763
bt_host_release+0x82/0x90 net/bluetooth/hci_sysfs.c:85
device_release+0xa4/0x1d0 drivers/base/core.c:-1
kobject_cleanup lib/kobject.c:681 [inline]
kobject_release lib/kobject.c:712 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x19d/0x280 lib/kobject.c:729
put_device+0x1f/0x30 drivers/base/core.c:3806
hci_dev_put include/net/bluetooth/hci_core.h:1444 [inline]
hci_dev_cmd+0x265/0x720 net/bluetooth/hci_core.c:795
hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096
sock_do_ioctl+0x101/0x310 net/socket.c:1194
sock_ioctl+0x4d8/0x6e0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Last potentially related work creation:
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:45
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
insert_work+0x51/0x300 kernel/workqueue.c:1368
__queue_work+0x9b1/0xd30 kernel/workqueue.c:1527
queue_work_on+0xd2/0x140 kernel/workqueue.c:1555
queue_work include/linux/workqueue.h:510 [inline]
hci_cmd_sync_run net/bluetooth/hci_sync.c:140 [inline]
__hci_cmd_sync_sk+0xa3e/0xcf0 net/bluetooth/hci_sync.c:162
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:253 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:277 [inline]
hci_cmd_sync_status+0x53/0x120 net/bluetooth/hci_sync.c:288
hci_dev_cmd+0x628/0x720 net/bluetooth/hci_core.c:-1
hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096
sock_do_ioctl+0x101/0x310 net/socket.c:1194
sock_ioctl+0x4d8/0x6e0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Second to last potentially related work creation:
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:45
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
insert_work+0x51/0x300 kernel/workqueue.c:1368
__queue_work+0x9b1/0xd30 kernel/workqueue.c:1527
queue_work_on+0xd2/0x140 kernel/workqueue.c:1555
queue_work include/linux/workqueue.h:510 [inline]
hci_cmd_sync_run net/bluetooth/hci_sync.c:140 [inline]
__hci_cmd_sync_sk+0xa3e/0xcf0 net/bluetooth/hci_sync.c:162
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:253 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:277 [inline]
hci_cmd_sync_status+0x53/0x120 net/bluetooth/hci_sync.c:288
hci_dev_cmd+0x628/0x720 net/bluetooth/hci_core.c:-1
hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096
sock_do_ioctl+0x101/0x310 net/socket.c:1194
sock_ioctl+0x4d8/0x6e0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
The buggy address belongs to the object at ffff888116c90000
which belongs to the cache kmalloc-8k of size 8192
The buggy address is located 2560 bytes inside of
8192-byte region [ffff888116c90000, ffff888116c92000)
The buggy address belongs to the physical page:
page:ffffea00045b2400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116c90
head:ffffea00045b2400 order:3 compound_mapcount:0 compound_pincount:0
flags: 0x4000000000010200(slab|head|zone=1)
raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100043500
raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 354, tgid 354 (syz-executor395), ts 43349168369, free_ts 43348877957
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2637
prep_new_page+0x1c/0x110 mm/page_alloc.c:2644
get_page_from_freelist+0x2c7b/0x2cf0 mm/page_alloc.c:4539
__alloc_pages+0x19e/0x3a0 mm/page_alloc.c:5842
alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1
allocate_slab mm/slub.c:1962 [inline]
new_slab+0x98/0x3d0 mm/slub.c:2015
___slab_alloc+0x6f6/0xb50 mm/slub.c:3203
__slab_alloc+0x5e/0xa0 mm/slub.c:3302
slab_alloc_node mm/slub.c:3387 [inline]
__kmem_cache_alloc_node+0x203/0x2c0 mm/slub.c:3462
__do_kmalloc_node mm/slab_common.c:937 [inline]
__kmalloc+0xa1/0x1e0 mm/slab_common.c:951
kmalloc include/linux/slab.h:568 [inline]
kzalloc include/linux/slab.h:699 [inline]
hci_alloc_dev_priv+0x27/0x1bd0 net/bluetooth/hci_core.c:2435
hci_alloc_dev include/net/bluetooth/hci_core.h:1484 [inline]
hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:641 [inline]
hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:719 [inline]
hci_uart_tty_ioctl+0x3d6/0xa20 drivers/bluetooth/hci_ldisc.c:774
tty_ioctl+0x8ef/0xc60 drivers/tty/tty_io.c:2785
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
page last free stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1545 [inline]
free_pcp_prepare mm/page_alloc.c:1619 [inline]
free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3581
free_unref_page+0x8f/0x530 mm/page_alloc.c:3677
free_the_page mm/page_alloc.c:830 [inline]
__free_pages+0x67/0x100 mm/page_alloc.c:5931
__free_slab+0xca/0x1a0 mm/slub.c:2039
free_slab mm/slub.c:2054 [inline]
discard_slab mm/slub.c:2060 [inline]
__unfreeze_partials+0x160/0x190 mm/slub.c:2609
put_cpu_partial+0xa9/0x100 mm/slub.c:2685
__slab_free+0x1c4/0x280 mm/slub.c:3563
do_slab_free mm/slub.c:3640 [inline]
___cache_free+0xbf/0xd0 mm/slub.c:3696
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0xc6/0x140 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x14a/0x170 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x24/0x80 mm/kasan/common.c:310
kasan_slab_alloc include/linux/kasan.h:202 [inline]
slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768
slab_alloc_node mm/slub.c:3421 [inline]
slab_alloc mm/slub.c:3431 [inline]
__kmem_cache_alloc_lru mm/slub.c:3438 [inline]
kmem_cache_alloc+0x16e/0x330 mm/slub.c:3447
anon_vma_chain_alloc mm/rmap.c:145 [inline]
__anon_vma_prepare+0x51/0x420 mm/rmap.c:199
anon_vma_prepare include/linux/rmap.h:164 [inline]
do_anonymous_page mm/memory.c:4281 [inline]
handle_pte_fault mm/memory.c:5169 [inline]
__handle_mm_fault mm/memory.c:5313 [inline]
handle_mm_fault+0x2409/0x2640 mm/memory.c:5453
do_user_addr_fault+0x63b/0x1050 arch/x86/mm/fault.c:1374
Memory state around the buggy address:
ffff888116c90900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888116c90980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888116c90a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888116c90a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888116c90b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
final repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: use-after-free in hlist_add_head include/linux/list.h:930 [inline]
BUG: KASAN: use-after-free in enqueue_timer+0xae/0x480 kernel/time/timer.c:611
Write of size 8 at addr ffff888116c90a00 by task kworker/1:2/57
CPU: 1 PID: 57 Comm: kworker/1:2 Not tainted 6.1.138-syzkaller-00009-g6246d345f550 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
print_address_description+0x71/0x210 mm/kasan/report.c:316
print_report+0x4a/0x60 mm/kasan/report.c:427
kasan_report+0x122/0x150 mm/kasan/report.c:531
__asan_report_store8_noabort+0x17/0x20 mm/kasan/report_generic.c:356
hlist_add_head include/linux/list.h:930 [inline]
enqueue_timer+0xae/0x480 kernel/time/timer.c:611
__mod_timer+0x79f/0xb30 kernel/time/timer.c:-1
mod_timer+0x1f/0x30 kernel/time/timer.c:1172
mod_peer_timer drivers/net/wireguard/timers.c:37 [inline]
wg_timers_any_authenticated_packet_traversal+0x133/0x1a0 drivers/net/wireguard/timers.c:215
wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline]
wg_packet_tx_worker+0x15e/0x4e0 drivers/net/wireguard/send.c:276
process_one_work+0x71f/0xc40 kernel/workqueue.c:2299
worker_thread+0xa29/0x11f0 kernel/workqueue.c:2446
kthread+0x281/0x320 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Allocated by task 356:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505
____kasan_kmalloc mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:388
kasan_kmalloc include/linux/kasan.h:212 [inline]
__do_kmalloc_node mm/slab_common.c:938 [inline]
__kmalloc+0xb1/0x1e0 mm/slab_common.c:951
kmalloc include/linux/slab.h:568 [inline]
kzalloc include/linux/slab.h:699 [inline]
hci_alloc_dev_priv+0x27/0x1bd0 net/bluetooth/hci_core.c:2435
hci_alloc_dev include/net/bluetooth/hci_core.h:1484 [inline]
hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:641 [inline]
hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:719 [inline]
hci_uart_tty_ioctl+0x3d6/0xa20 drivers/bluetooth/hci_ldisc.c:774
tty_ioctl+0x8ef/0xc60 drivers/tty/tty_io.c:2785
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Freed by task 360:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516
____kasan_slab_free+0x132/0x180 mm/kasan/common.c:241
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1745 [inline]
slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1771
slab_free mm/slub.c:3686 [inline]
__kmem_cache_free+0xb7/0x1b0 mm/slub.c:3702
kfree+0x6f/0xf0 mm/slab_common.c:990
hci_release_dev+0x13ad/0x1500 net/bluetooth/hci_core.c:2763
bt_host_release+0x82/0x90 net/bluetooth/hci_sysfs.c:85
device_release+0xa4/0x1d0 drivers/base/core.c:-1
kobject_cleanup lib/kobject.c:681 [inline]
kobject_release lib/kobject.c:712 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x19d/0x280 lib/kobject.c:729
put_device+0x1f/0x30 drivers/base/core.c:3806
hci_dev_put include/net/bluetooth/hci_core.h:1444 [inline]
hci_dev_cmd+0x265/0x720 net/bluetooth/hci_core.c:795
hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096
sock_do_ioctl+0x101/0x310 net/socket.c:1194
sock_ioctl+0x4d8/0x6e0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Last potentially related work creation:
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:45
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
insert_work+0x51/0x300 kernel/workqueue.c:1368
__queue_work+0x9b1/0xd30 kernel/workqueue.c:1527
queue_work_on+0xd2/0x140 kernel/workqueue.c:1555
queue_work include/linux/workqueue.h:510 [inline]
hci_cmd_sync_run net/bluetooth/hci_sync.c:140 [inline]
__hci_cmd_sync_sk+0xa3e/0xcf0 net/bluetooth/hci_sync.c:162
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:253 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:277 [inline]
hci_cmd_sync_status+0x53/0x120 net/bluetooth/hci_sync.c:288
hci_dev_cmd+0x628/0x720 net/bluetooth/hci_core.c:-1
hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096
sock_do_ioctl+0x101/0x310 net/socket.c:1194
sock_ioctl+0x4d8/0x6e0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Second to last potentially related work creation:
kasan_save_stack+0x3a/0x60 mm/kasan/common.c:45
__kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486
kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496
insert_work+0x51/0x300 kernel/workqueue.c:1368
__queue_work+0x9b1/0xd30 kernel/workqueue.c:1527
queue_work_on+0xd2/0x140 kernel/workqueue.c:1555
queue_work include/linux/workqueue.h:510 [inline]
hci_cmd_sync_run net/bluetooth/hci_sync.c:140 [inline]
__hci_cmd_sync_sk+0xa3e/0xcf0 net/bluetooth/hci_sync.c:162
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:253 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:277 [inline]
hci_cmd_sync_status+0x53/0x120 net/bluetooth/hci_sync.c:288
hci_dev_cmd+0x628/0x720 net/bluetooth/hci_core.c:-1
hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096
sock_do_ioctl+0x101/0x310 net/socket.c:1194
sock_ioctl+0x4d8/0x6e0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
The buggy address belongs to the object at ffff888116c90000
which belongs to the cache kmalloc-8k of size 8192
The buggy address is located 2560 bytes inside of
8192-byte region [ffff888116c90000, ffff888116c92000)
The buggy address belongs to the physical page:
page:ffffea00045b2400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116c90
head:ffffea00045b2400 order:3 compound_mapcount:0 compound_pincount:0
flags: 0x4000000000010200(slab|head|zone=1)
raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100043500
raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 354, tgid 354 (syz-executor395), ts 43349168369, free_ts 43348877957
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2637
prep_new_page+0x1c/0x110 mm/page_alloc.c:2644
get_page_from_freelist+0x2c7b/0x2cf0 mm/page_alloc.c:4539
__alloc_pages+0x19e/0x3a0 mm/page_alloc.c:5842
alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1
allocate_slab mm/slub.c:1962 [inline]
new_slab+0x98/0x3d0 mm/slub.c:2015
___slab_alloc+0x6f6/0xb50 mm/slub.c:3203
__slab_alloc+0x5e/0xa0 mm/slub.c:3302
slab_alloc_node mm/slub.c:3387 [inline]
__kmem_cache_alloc_node+0x203/0x2c0 mm/slub.c:3462
__do_kmalloc_node mm/slab_common.c:937 [inline]
__kmalloc+0xa1/0x1e0 mm/slab_common.c:951
kmalloc include/linux/slab.h:568 [inline]
kzalloc include/linux/slab.h:699 [inline]
hci_alloc_dev_priv+0x27/0x1bd0 net/bluetooth/hci_core.c:2435
hci_alloc_dev include/net/bluetooth/hci_core.h:1484 [inline]
hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:641 [inline]
hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:719 [inline]
hci_uart_tty_ioctl+0x3d6/0xa20 drivers/bluetooth/hci_ldisc.c:774
tty_ioctl+0x8ef/0xc60 drivers/tty/tty_io.c:2785
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
page last free stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1545 [inline]
free_pcp_prepare mm/page_alloc.c:1619 [inline]
free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3581
free_unref_page+0x8f/0x530 mm/page_alloc.c:3677
free_the_page mm/page_alloc.c:830 [inline]
__free_pages+0x67/0x100 mm/page_alloc.c:5931
__free_slab+0xca/0x1a0 mm/slub.c:2039
free_slab mm/slub.c:2054 [inline]
discard_slab mm/slub.c:2060 [inline]
__unfreeze_partials+0x160/0x190 mm/slub.c:2609
put_cpu_partial+0xa9/0x100 mm/slub.c:2685
__slab_free+0x1c4/0x280 mm/slub.c:3563
do_slab_free mm/slub.c:3640 [inline]
___cache_free+0xbf/0xd0 mm/slub.c:3696
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0xc6/0x140 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x14a/0x170 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x24/0x80 mm/kasan/common.c:310
kasan_slab_alloc include/linux/kasan.h:202 [inline]
slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768
slab_alloc_node mm/slub.c:3421 [inline]
slab_alloc mm/slub.c:3431 [inline]
__kmem_cache_alloc_lru mm/slub.c:3438 [inline]
kmem_cache_alloc+0x16e/0x330 mm/slub.c:3447
anon_vma_chain_alloc mm/rmap.c:145 [inline]
__anon_vma_prepare+0x51/0x420 mm/rmap.c:199
anon_vma_prepare include/linux/rmap.h:164 [inline]
do_anonymous_page mm/memory.c:4281 [inline]
handle_pte_fault mm/memory.c:5169 [inline]
__handle_mm_fault mm/memory.c:5313 [inline]
handle_mm_fault+0x2409/0x2640 mm/memory.c:5453
do_user_addr_fault+0x63b/0x1050 arch/x86/mm/fault.c:1374
Memory state around the buggy address:
ffff888116c90900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888116c90980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888116c90a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888116c90a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888116c90b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================