Title | Replies (including bot) | Last reply |
---|---|---|
[PATCH net] ila: serialize calls to nf_register_net_hooks() | 1 (1) | 2024/12/30 16:28 |
[syzbot] [net?] KASAN: slab-use-after-free Read in ila_nf_input | 0 (1) | 2024/12/30 16:26 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[PATCH net] ila: serialize calls to nf_register_net_hooks() | 1 (1) | 2024/12/30 16:28 |
[syzbot] [net?] KASAN: slab-use-after-free Read in ila_nf_input | 0 (1) | 2024/12/30 16:26 |
Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | KASAN: use-after-free Read in ila_nf_input (2) net | 14 | 75d | 123d | 28/28 | fixed on 2024/10/22 15:46 | |||
linux-5.15 | KASAN: use-after-free Read in ila_nf_input | 1 | 73d | 73d | 0/3 | upstream: reported on 2024/10/20 21:26 | |||
upstream | KASAN: use-after-free Read in ila_nf_input net | 43 | 1922d | 2178d | 0/28 | auto-closed as invalid on 2020/01/27 14:15 |
Created | Duration | User | Patch | Repo | Result |
---|---|---|---|---|---|
2024/12/30 09:08 | 24m | edumazet@google.com | patch | upstream | OK log |
================================================================== BUG: KASAN: slab-use-after-free in rht_key_hashfn include/linux/rhashtable.h:159 [inline] BUG: KASAN: slab-use-after-free in __rhashtable_lookup.constprop.0+0x426/0x550 include/linux/rhashtable.h:604 Read of size 4 at addr ffff888028f40008 by task dhcpcd/5501 CPU: 1 UID: 0 PID: 5501 Comm: dhcpcd Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: <IRQ> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xc3/0x620 mm/kasan/report.c:489 kasan_report+0xd9/0x110 mm/kasan/report.c:602 rht_key_hashfn include/linux/rhashtable.h:159 [inline] __rhashtable_lookup.constprop.0+0x426/0x550 include/linux/rhashtable.h:604 rhashtable_lookup include/linux/rhashtable.h:646 [inline] rhashtable_lookup_fast include/linux/rhashtable.h:672 [inline] ila_lookup_wildcards net/ipv6/ila/ila_xlat.c:127 [inline] ila_xlat_addr net/ipv6/ila/ila_xlat.c:652 [inline] ila_nf_input+0x1ee/0x620 net/ipv6/ila/ila_xlat.c:185 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626 nf_hook.constprop.0+0x42e/0x750 include/linux/netfilter.h:269 NF_HOOK include/linux/netfilter.h:312 [inline] ipv6_rcv+0xa4/0x680 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5672 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5785 process_backlog+0x443/0x15f0 net/core/dev.c:6117 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7074 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 e6 91 59 f6 48 89 df e8 1e 11 5a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 <bf> 01 00 00 00 e8 45 01 4b f6 65 8b 05 b6 24 e7 74 85 c0 74 16 5b RSP: 0018:ffffc900034378e0 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff888030daec40 RCX: 1ffffffff2039431 RDX: 0000000000000000 RSI: ffffffff8b4cd280 RDI: ffffffff8bb17000 RBP: 0000000000000282 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff901ce3d7 R11: 0000000000000004 R12: ffff888034fccbc0 R13: ffff888030daec40 R14: 1ffff92000686f31 R15: ffff888034fcca40 sock_def_readable+0x15f/0x610 net/core/sock.c:3453 unix_dgram_sendmsg+0xf47/0x1940 net/unix/af_unix.c:2167 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg net/socket.c:726 [inline] sock_write_iter+0x4fe/0x5b0 net/socket.c:1147 do_iter_readv_writev+0x532/0x7f0 fs/read_write.c:820 vfs_writev+0x363/0xdd0 fs/read_write.c:1050 do_writev+0x297/0x340 fs/read_write.c:1096 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f29650f6e03 Code: 89 c7 48 89 44 24 08 e8 6a f2 f9 ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 14 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6d 48 8b 15 f6 5f 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe3c2abb38 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f29650286c0 RCX: 00007f29650f6e03 RDX: 0000000000000002 RSI: 00007ffe3c2abb80 RDI: 000000000000000b RBP: 00007ffe3c2cbee8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3c2bbd34 R14: 0000000000000030 R15: 0000000000000000 </TASK> Allocated by task 12687: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4298 [inline] __kmalloc_noprof+0x21a/0x4f0 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] tomoyo_realpath_from_path+0xbf/0x710 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x2ad/0x3c0 security/tomoyo/file.c:771 tomoyo_file_open+0x6b/0x90 security/tomoyo/tomoyo.c:334 security_file_open+0x84/0x1e0 security/security.c:3105 do_dentry_open+0x57e/0x1ea0 fs/open.c:928 vfs_open+0x82/0x3f0 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 12687: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:582 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4613 [inline] kfree+0x14f/0x4b0 mm/slub.c:4761 tomoyo_realpath_from_path+0x1b7/0x710 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x2ad/0x3c0 security/tomoyo/file.c:771 tomoyo_file_open+0x6b/0x90 security/tomoyo/tomoyo.c:334 security_file_open+0x84/0x1e0 security/security.c:3105 do_dentry_open+0x57e/0x1ea0 fs/open.c:928 vfs_open+0x82/0x3f0 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888028f40000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 8 bytes inside of freed 4096-byte region [ffff888028f40000, ffff888028f41000) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28f40 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801ac42140 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000040004 00000001f5000000 0000000000000000 head: 00fff00000000040 ffff88801ac42140 dead000000000122 0000000000000000 head: 0000000000000000 0000000000040004 00000001f5000000 0000000000000000 head: 00fff00000000003 ffffea0000a3d001 ffffffffffffffff 0000000000000000 head: 0000000000000008 0000000000000000 00000000ffffffff 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 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 12687, tgid 12687 (udevd), ts 418533816857, free_ts 418533016660 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1558 ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 e6 91 59 f6 call 0xf65991f9 13: 48 89 df mov %rbx,%rdi 16: e8 1e 11 5a f6 call 0xf65a1139 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 45 01 4b f6 call 0xf64b0179 34: 65 8b 05 b6 24 e7 74 mov %gs:0x74e724b6(%rip),%eax # 0x74e724f1 3b: 85 c0 test %eax,%eax 3d: 74 16 je 0x55 3f: 5b pop %rbx
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/12/27 17:04 | upstream | d6ef8b40d075 | d3ccff63 | .config | console log | report | syz / log | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/12/26 12:47 | upstream | 9b2ffa6148b1 | 444551c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/12/08 12:25 | upstream | 7503345ac5f5 | 9ac0fdc6 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/24 01:32 | upstream | 228a1157fb9f | 68da6d95 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/20 12:29 | upstream | a5c93bfec0be | 7d02db5a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/16 12:42 | upstream | f868cd251776 | cfe3a04a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/13 07:23 | upstream | 3022e9d00ebe | 62026c85 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-badwrites-root | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/13 06:30 | upstream | 3022e9d00ebe | 62026c85 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/09 05:11 | upstream | 50643bbc9eb6 | 6b856513 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/06 13:45 | upstream | 2e1b3cc9d7f7 | 7b852900 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/04 08:18 | upstream | a33ab3f94f51 | f00eed24 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/10/30 09:22 | upstream | c1e939a21eb1 | 66aeb999 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/04 15:51 | upstream | 59b723cd2adb | 7bfecfb9 | .config | console log | report | info | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-qemu-upstream | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/12/23 13:30 | net | 30b981796b94 | 444551c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/28 17:14 | bpf | 3448ad23b34e | 5df23865 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/20 21:51 | bpf | adc218676eef | 4fca1650 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/12 04:48 | net | 073d89808c06 | 75bb1b32 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/10/26 12:29 | net | e31a8219fbfc | 65e8686b | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/10/24 02:35 | net | 6e62807c7fbb | 15fa2979 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/10/23 02:50 | net | 8a7d12d674ac | 15fa2979 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2025/01/01 11:12 | bpf-next | dfa94ce54f41 | d3ccff63 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-next-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/12/15 11:02 | bpf-next | 00a5acdbf398 | 7cbfbb3a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-next-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/19 17:04 | bpf-next | 2c8b09ac2537 | 571351cb | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-next-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/06 12:20 | bpf-next | 1850ce1bddf2 | 3a465482 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-next-kasan-gce | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/11/21 14:10 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 7b1d1d4cfac0 | 4b25d554 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | KASAN: slab-use-after-free Read in ila_nf_input | ||
2024/12/25 17:42 | upstream | 9b2ffa6148b1 | 444551c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-selinux-root | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/18 14:15 | upstream | adc218676eef | e7bb5d6e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/16 00:21 | upstream | f868cd251776 | cfe3a04a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-badwrites-root | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/13 20:26 | upstream | f1b785f4c787 | 4dfba277 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/12 14:04 | upstream | 2d5404caa8c7 | c819f227 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: use-after-free Read in ila_nf_input | ||
2024/10/26 08:04 | upstream | c71f8fb4dc91 | 65e8686b | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-qemu-gce-upstream-auto | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/02 20:09 | upstream | 11066801dd4b | f00eed24 | .config | console log | report | info | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-qemu-upstream | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/15 08:16 | net | cfaaa7d010d1 | f6ede3a3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/06 16:24 | net | 26a2bebd2c0c | 3a465482 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/04 15:33 | net | 5ccdcdf186ae | f00eed24 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | KASAN: out-of-bounds Read in ila_nf_input | ||
2024/12/11 05:58 | bpf-next | 6e8ba494d87d | cfc402b4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-bpf-next-kasan-gce | KASAN: use-after-free Read in ila_nf_input | ||
2024/11/13 22:40 | net-next | 8545b75bc414 | a8c99394 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | KASAN: use-after-free Read in ila_nf_input |