Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [jfs?] KASAN: slab-out-of-bounds Read in dbAllocBits | 0 (1) | 2024/05/09 13:18 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [jfs?] KASAN: slab-out-of-bounds Read in dbAllocBits | 0 (1) | 2024/05/09 13:18 |
Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | UBSAN: array-index-out-of-bounds in dbAllocBits jfs | C | inconclusive | error | 234 | 290d | 741d | 0/28 | auto-obsoleted due to no activity on 2024/03/07 21:48 |
linux-4.19 | KASAN: use-after-free Read in dbAllocBits | C | error | 2 | 722d | 744d | 0/1 | upstream: reported C repro on 2022/10/01 12:57 | |
linux-5.15 | UBSAN: array-index-out-of-bounds in dbAllocBits origin:upstream | C | error | 2 | 8d07h | 514d | 0/3 | upstream: reported C repro on 2023/05/19 07:30 | |
linux-6.1 | UBSAN: array-index-out-of-bounds in dbAllocBits origin:upstream | C | 2 | 31d | 514d | 0/3 | upstream: reported C repro on 2023/05/19 04:28 |
================================================================== BUG: KASAN: slab-out-of-bounds in dbAllocBits+0x61e/0x630 fs/jfs/jfs_dmap.c:2255 Read of size 8 at addr ffff88802639eeb8 by task syz-executor242/5196 CPU: 2 PID: 5196 Comm: syz-executor242 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc3/0x620 mm/kasan/report.c:488 kasan_report+0xd9/0x110 mm/kasan/report.c:601 dbAllocBits+0x61e/0x630 fs/jfs/jfs_dmap.c:2255 dbAllocDmap+0x5c/0x110 fs/jfs/jfs_dmap.c:2032 dbAllocNear fs/jfs/jfs_dmap.c:1258 [inline] dbAlloc+0x784/0xab0 fs/jfs/jfs_dmap.c:843 ea_get+0xc11/0x12c0 fs/jfs/xattr.c:514 __jfs_setxattr+0x1ed/0x1070 fs/jfs/xattr.c:718 __jfs_set_acl+0x110/0x1a0 fs/jfs/acl.c:87 jfs_set_acl+0x256/0x330 fs/jfs/acl.c:115 set_posix_acl+0x25c/0x320 fs/posix_acl.c:955 vfs_set_acl+0x53d/0x900 fs/posix_acl.c:1134 do_set_acl+0xd9/0x1b0 fs/posix_acl.c:1279 do_setxattr+0xeb/0x170 fs/xattr.c:626 setxattr+0x15d/0x180 fs/xattr.c:652 path_setxattr+0x179/0x1e0 fs/xattr.c:671 __do_sys_lsetxattr fs/xattr.c:694 [inline] __se_sys_lsetxattr fs/xattr.c:690 [inline] __x64_sys_lsetxattr+0xc1/0x160 fs/xattr.c:690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f03a87c66b9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffca6e6e748 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f03a87c66b9 RDX: 0000000020000180 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 00007f03a883f610 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000024 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffca6e6e918 R14: 0000000000000001 R15: 0000000000000001 </TASK> Allocated by task 4906: 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:370 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:3966 [inline] __kmalloc_node_track_caller+0x220/0x470 mm/slub.c:3986 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:599 __alloc_skb+0x164/0x380 net/core/skbuff.c:668 __netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:732 __netdev_alloc_skb_ip_align include/linux/skbuff.h:3321 [inline] e1000_alloc_rx_buffers+0x3b5/0x7b0 drivers/net/ethernet/intel/e1000e/netdev.c:668 e1000_configure+0x199a/0x4ad0 drivers/net/ethernet/intel/e1000e/netdev.c:3761 e1000e_open+0x403/0x1790 drivers/net/ethernet/intel/e1000e/netdev.c:4658 __dev_open+0x2d4/0x4e0 net/core/dev.c:1430 __dev_change_flags+0x561/0x720 net/core/dev.c:8692 dev_change_flags+0x8f/0x160 net/core/dev.c:8764 devinet_ioctl+0x127a/0x1f10 net/ipv4/devinet.c:1172 inet_ioctl+0x3aa/0x3f0 net/ipv4/af_inet.c:1001 sock_do_ioctl+0x116/0x280 net/socket.c:1222 sock_ioctl+0x22e/0x6c0 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88802639e000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 1720 bytes to the right of allocated 2048-byte region [ffff88802639e000, ffff88802639e800) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x26398 head: order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888015042f00 ffffea000069fc00 dead000000000002 raw: 0000000000000000 0000000000080008 00000001ffffffff 0000000000000000 head: 00fff00000000840 ffff888015042f00 ffffea000069fc00 dead000000000002 head: 0000000000000000 0000000000080008 00000001ffffffff 0000000000000000 head: 00fff00000000003 ffffea000098e601 dead000000000122 00000000ffffffff head: 0000000800000000 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4675, tgid -996255200 (klogd), ts 4675, free_ts 20473074610 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmalloc_trace+0x2fb/0x330 mm/slub.c:3992 kmalloc include/linux/slab.h:628 [inline] syslog_print+0xf9/0x5d0 kernel/printk/printk.c:1556 do_syslog+0x3be/0x6a0 kernel/printk/printk.c:1734 __do_sys_syslog kernel/printk/printk.c:1826 [inline] __se_sys_syslog kernel/printk/printk.c:1824 [inline] __x64_sys_syslog+0x74/0xb0 kernel/printk/printk.c:1824 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 4675 tgid 4675 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487 __put_partials+0x14c/0x170 mm/slub.c:2906 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888 __alloc_skb+0x2b1/0x380 net/core/skbuff.c:658 alloc_skb include/linux/skbuff.h:1313 [inline] alloc_skb_with_frags+0xe4/0x710 net/core/skbuff.c:6515 sock_alloc_send_pskb+0x7f1/0x980 net/core/sock.c:2795 unix_dgram_sendmsg+0x4b9/0x1b10 net/unix/af_unix.c:2019 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x47f/0x4e0 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2199 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88802639ed80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802639ee00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88802639ee80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88802639ef00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802639ef80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/05/05 13:06 | upstream | 7367539ad4b0 | 610f2a54 | .config | console log | report | syz | C | [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] | ci-qemu-upstream | KASAN: slab-out-of-bounds Read in dbAllocBits | |
2024/08/18 15:11 | upstream | c3f2d783a459 | e1c76ab2 | .config | console log | report | syz / log | C | [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |
2024/09/07 11:46 | upstream | b31c44928842 | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | UBSAN: array-index-out-of-bounds in dbAllocBits | ||
2024/06/20 11:08 | upstream | 2ccbdf43d5e7 | 41b7e219 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | UBSAN: array-index-out-of-bounds in dbAllocBits | ||
2024/10/14 11:10 | upstream | 6485cf5ea253 | 084d8178 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/10/10 16:31 | upstream | d3d1556696c1 | d44647df | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/10/05 15:49 | upstream | 27cc6fdf7201 | d7906eff | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/10/03 19:13 | upstream | 7ec462100ef9 | d7906eff | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/10/02 08:49 | upstream | e32cde8d2bd7 | ea2b66a6 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/10/01 10:09 | upstream | e32cde8d2bd7 | bbd4e0a4 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/30 16:07 | upstream | 9852d85ec9d4 | 179f4029 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/30 04:23 | upstream | e7ed34365879 | ba29ff75 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/29 13:07 | upstream | 3efc57369a0c | ba29ff75 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/29 05:43 | upstream | 3efc57369a0c | ba29ff75 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/28 22:47 | upstream | ad46e8f95e93 | ba29ff75 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/27 21:10 | upstream | e477dba5442c | 2b1784d6 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/27 20:27 | upstream | e477dba5442c | 2b1784d6 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/23 01:27 | upstream | af9c191ac2a0 | 6f888b75 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/16 22:39 | upstream | adfc3ded5c33 | 49cf0773 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/14 17:10 | upstream | b7718454f937 | 08d8a733 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/14 12:34 | upstream | b7718454f937 | 08d8a733 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/13 05:09 | upstream | 196145c606d0 | 73e8a465 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/12 22:00 | upstream | 77f587896757 | 60e1a995 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/12 11:17 | upstream | 7c6a3a65ace7 | d94c83d8 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/12 04:55 | upstream | 7c6a3a65ace7 | d94c83d8 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/11 08:15 | upstream | 8d8d276ba2fb | 8ab55d0e | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/08 07:42 | upstream | d1f2d51b711a | 9750182a | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/06 02:54 | upstream | ad618736883b | 464ac2ed | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/05 14:47 | upstream | c763c4339688 | 36ae3a26 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/04 01:56 | upstream | 88fac17500f4 | 9d47f20a | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/09/02 11:50 | upstream | 67784a74e258 | 1eda0d14 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/08/31 20:14 | upstream | 1934261d8974 | 1eda0d14 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits | |||
2024/08/18 13:52 | upstream | c3f2d783a459 | e1c76ab2 | .config | console log | report | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-snapshot-upstream-root | UBSAN: array-index-out-of-bounds in dbAllocBits |