==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a720 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 0 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a721 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 1 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a722 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 2 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a723 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 3 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a724 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 4 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a725 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 5 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a726 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 6 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-use-after-free in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a727 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 7 bytes inside of
freed 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-out-of-bounds in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-out-of-bounds in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a728 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 0 bytes to the right of
allocated 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-out-of-bounds in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-out-of-bounds in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a729 by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 1 bytes to the right of
allocated 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-out-of-bounds in string_nocheck lib/vsprintf.c:648 [inline]
BUG: KASAN: slab-out-of-bounds in string+0x471/0x4d0 lib/vsprintf.c:730
Read of size 1 at addr ffff88802717a72a by task syz.8.2422/13608
CPU: 1 UID: 0 PID: 13608 Comm: syz.8.2422 Tainted: G B L syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
string_nocheck lib/vsprintf.c:648 [inline]
string+0x471/0x4d0 lib/vsprintf.c:730
vsnprintf+0x422/0x1300 lib/vsprintf.c:2949
seq_vprintf fs/seq_file.c:392 [inline]
seq_printf+0x1a4/0x250 fs/seq_file.c:407
irq_seq_show+0x390/0x8b0 kernel/irq/proc.c:601
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_lseek+0x2fb/0x430 fs/seq_file.c:324
proc_reg_llseek+0x208/0x2f0 fs/proc/inode.c:283
vfs_llseek fs/read_write.c:391 [inline]
ksys_lseek+0xf3/0x1b0 fs/read_write.c:404
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f31ac99e159
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:00007f31ad8b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007f31acc25fa0 RCX: 00007f31ac99e159
RDX: 0000000000000000 RSI: 0000002000000008 RDI: 0000000000000003
RBP: 00007f31aca3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f31acc26038 R14: 00007f31acc25fa0 R15: 00007ffcb7b0d778
Allocated by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5414 [inline]
__kmalloc_node_noprof+0x342/0x880 mm/slub.c:5426
_kmalloc_node_noprof include/linux/slab.h:1200 [inline]
__vmalloc_area_node mm/vmalloc.c:3893 [inline]
__vmalloc_node_range_noprof+0x3d4/0x1420 mm/vmalloc.c:4104
__vmalloc_node_noprof+0xad/0xf0 mm/vmalloc.c:4165
alloc_counters net/ipv6/netfilter/ip6_tables.c:820 [inline]
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:842 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0x7e0/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 5622:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:264 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6801
vfree mm/vmalloc.c:3511 [inline]
vfree+0x11d/0x6d0 mm/vmalloc.c:3484
copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:885 [inline]
get_entries net/ipv6/netfilter/ip6_tables.c:1042 [inline]
do_ip6t_get_ctl+0xa0b/0xc30 net/ipv6/netfilter/ip6_tables.c:1683
nf_getsockopt+0x7c/0xe0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1464
tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4873
do_sock_getsockopt+0x50a/0x6e0 net/socket.c:2503
__sys_getsockopt+0x148/0x260 net/socket.c:2534
__do_sys_getsockopt net/socket.c:2541 [inline]
__se_sys_getsockopt net/socket.c:2538 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2538
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88802717a720
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 2 bytes to the right of
allocated 8-byte region [ffff88802717a720, ffff88802717a728)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802717ad80 pfn:0x2717a
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff88801c02f500 ffffea00017e3610 ffffea0000aca3d0
raw: ffff88802717ad80 000000000080007c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 4991554324
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7417
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__do_kmalloc_node mm/slub.c:5413 [inline]
__kmalloc_node_track_caller_noprof+0x6a8/0x870 mm/slub.c:5545
__kmemdup_nul mm/util.c:64 [inline]
kstrdup+0x51/0xe0 mm/util.c:84
kstrdup_const+0x63/0x80 mm/util.c:104
kvasprintf_const+0x10f/0x1a0 lib/kasprintf.c:48
kobject_set_name_vargs+0x5a/0x140 lib/kobject.c:274
dev_set_name+0xc7/0x100 drivers/base/core.c:3564
tty_register_device_attr+0x2fb/0x7f0 drivers/tty/tty_io.c:3230
tty_register_device drivers/tty/tty_io.c:3171 [inline]
tty_register_driver+0x769/0xb50 drivers/tty/tty_io.c:3449
legacy_pty_init drivers/tty/pty.c:579 [inline]
pty_init+0x65d/0xdc0 drivers/tty/pty.c:919
do_one_initcall+0x11c/0x6f0 init/main.c:1362
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802717a600: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
ffff88802717a680: 05 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
>ffff88802717a700: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
^
ffff88802717a780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 05 fc fc fc
ffff88802717a800: 05 fc fc fc 04 fc fc fc 00 fc fc fc 00 fc fc fc
==================================================================