syzbot


WARNING in __kfence_free (3)

Status: upstream: reported syz repro on 2023/10/18 02:09
Subsystems: kasan mm
[Documentation on labels]
Reported-by: syzbot+59f37b0ab4c558a5357c@syzkaller.appspotmail.com
First crash: 131d, last: 2d21h
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] Monthly mm report (Feb 2024) 0 (1) 2024/02/17 20:23
[syzbot] Monthly mm report (Jan 2024) 0 (1) 2024/01/17 09:21
[syzbot] Monthly mm report (Dec 2023) 0 (1) 2023/12/18 10:47
[syzbot] [mm?] [kasan?] WARNING in __kfence_free (3) 1 (3) 2023/11/16 04:47
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __kfence_free (2) kasan mm 1 416d 412d 0/26 auto-obsoleted due to no activity on 2023/05/02 22:23
upstream WARNING in __kfence_free kasan mm 4 588d 672d 0/26 auto-obsoleted due to no activity on 2022/11/11 05:48

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3161 at mm/kfence/core.c:1143 __kfence_free+0x7c/0xb4 mm/kfence/core.c:1143
Modules linked in:
CPU: 0 PID: 3161 Comm: syz-executor.1 Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0
Hardware name: linux,dummy-virt (DT)
pstate: 81400009 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
pc : __kfence_free+0x7c/0xb4 mm/kfence/core.c:1143
lr : kfence_free include/linux/kfence.h:187 [inline]
lr : slab_free_hook mm/slub.c:2100 [inline]
lr : slab_free mm/slub.c:4299 [inline]
lr : kfree+0x188/0x278 mm/slub.c:4409
sp : ffff800082c53ae0
x29: ffff800082c53ae0 x28: f9ff00000559b600 x27: 0000000000000000
x26: 0000000000000000 x25: ffff00007ff0d538 x24: f7ff000002c03f00
x23: d688800080246b3c x22: 0000000000000000 x21: ffff800080246b3c
x20: ffff00007ff0d000 x19: fffffc0001ffc340 x18: 0000000000000001
x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffff85752a40
x14: ffff00007f9e3090 x13: 0000000000000000 x12: 0000000000005800
x11: fdff0000059c0e24 x10: fdff0000059c0e00 x9 : 0000000000000046
x8 : ffff800082c53af0 x7 : 0000000000000000 x6 : 0000000000000045
x5 : 00000000810000d9 x4 : ffff00007f868000 x3 : ffff8000825102b8
x2 : f7ff00000b6d0500 x1 : ffff00007f88ecc8 x0 : ffff00007ff0d000
Call trace:
 __kfence_free+0x7c/0xb4 mm/kfence/core.c:1143
 kfence_free include/linux/kfence.h:187 [inline]
 slab_free_hook mm/slub.c:2100 [inline]
 slab_free mm/slub.c:4299 [inline]
 kfree+0x188/0x278 mm/slub.c:4409
 kvfree+0x3c/0x4c mm/util.c:663
 xt_free_table_info+0x78/0x90 net/netfilter/x_tables.c:1212
 __do_replace+0x23c/0x308 net/ipv4/netfilter/ip_tables.c:1084
 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline]
 do_ip6t_set_ctl+0x2fc/0x374 net/ipv6/netfilter/ip6_tables.c:1636
 nf_setsockopt+0x68/0x94 net/netfilter/nf_sockopt.c:101
 ipv6_setsockopt+0x98/0xe4 net/ipv6/ipv6_sockglue.c:997
 tcp_setsockopt+0x20/0x3c net/ipv4/tcp.c:3734
 sock_common_setsockopt+0x1c/0x28 net/core/sock.c:3716
 do_sock_setsockopt+0xa0/0x188 net/socket.c:2311
 __sys_setsockopt+0x74/0xcc net/socket.c:2334
 __do_sys_setsockopt net/socket.c:2343 [inline]
 __se_sys_setsockopt net/socket.c:2340 [inline]
 __arm64_sys_setsockopt+0x28/0x38 net/socket.c:2340
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:51
 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:155
 el0_svc+0x34/0xd8 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598
---[ end trace 0000000000000000 ]---

Crashes (75):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/15 10:59 upstream 8d3dea210042 d9b1cdd5 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/05 20:16 upstream 54be6c6c5ae8 e23e8c20 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/04 20:19 upstream 3f24fcdacd40 a67b2c42 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/25 08:40 upstream 4759ff71f23e 1e153dc8 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/16 19:17 upstream 052d534373b7 2a7bcc7f .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/26 21:53 upstream fbafc3e621c3 fb427a07 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/19 21:03 upstream 2cf4f94d8e86 3ad490ea .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/11 19:45 upstream a39b6ac3781d 28b24332 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/22 11:36 upstream c2d5304e6c64 cb976f63 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/17 14:48 upstream 7475e51b8796 cb976f63 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/17 13:16 upstream 7475e51b8796 cb976f63 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/16 04:46 upstream c42d9eeef8e5 cb976f63 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/20 02:37 upstream b401b621758e 3af7dd65 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/18 22:28 upstream c02197fc9076 578f7538 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/17 00:08 upstream 0f1dd5e91e2b 578f7538 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/15 03:46 upstream 8d3dea210042 d9b1cdd5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/13 10:32 upstream c664e16bb1ba 77b23aa1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/08 21:27 upstream 047371968ffc e8e30238 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/08 18:13 upstream 047371968ffc e8e30238 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/07 15:14 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/01 18:21 upstream 6764c317b6bb d61103fc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/02/01 15:13 upstream 6764c317b6bb d61103fc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/28 16:10 upstream 8a696a29c690 cc4a4020 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/24 09:10 upstream 615d30064886 1e153dc8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/23 21:21 upstream 7ed2632ec7d7 bf3b32eb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/23 18:13 upstream 7ed2632ec7d7 bf3b32eb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/20 14:05 upstream 9d64bf433c53 9bd8dcda .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/16 04:26 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/08 11:28 upstream 0dd3ee311255 4c0fd4bb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/08 00:17 upstream 0dd3ee311255 d0304e9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/07 03:52 upstream 52b1853b080a d0304e9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/05 04:58 upstream 5eff55d725a4 28c42cff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/03 22:00 upstream 610a9b8f49fb 28c42cff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2024/01/02 10:57 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/31 12:12 upstream 453f5db0619e fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/29 11:07 upstream 505e701c0b2c fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/28 10:27 upstream f5837722ffec fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/27 11:18 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/25 23:09 upstream 861deac3b092 fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/22 03:07 upstream a4aebe936554 4f9530a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/21 07:15 upstream 1a44b0073b92 4f9530a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/20 05:54 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/20 03:15 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/15 09:47 upstream c7402612e2e6 3222d10c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/12 10:54 upstream 26aff849438c ebcad15c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/10 00:21 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/09 22:13 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/09 14:16 upstream f2e8a57ee903 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/08 17:12 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/07 20:10 upstream bee0e7762ad2 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/03 19:34 upstream 33cc938e65a9 f819d6f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/12/02 23:30 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/24 09:04 upstream f1a09972a45a 5b429f39 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/22 11:42 upstream c2d5304e6c64 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/21 09:24 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/20 11:53 upstream eb3479bc23fa cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/18 15:03 upstream 791c8ab095f7 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/17 18:09 upstream 6bc40e44f1dd cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/17 03:05 upstream 7475e51b8796 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/16 01:37 upstream c42d9eeef8e5 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/11 12:51 upstream 18553507f60f d80eec66 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/07 03:04 upstream be3ca57cfb77 83211397 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/03 22:56 upstream 8f6f76a6a29f 500bfdc4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/11/03 12:33 upstream 8f6f76a6a29f c4ac074c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/31 22:30 upstream 5a6a09e97199 69904c9f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/31 01:44 upstream 14ab6d425e80 b5729d82 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/23 18:53 upstream 05d3ef8bba77 989a3687 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/23 03:30 upstream fe3cfe869d5e 361b23dc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/22 13:53 upstream 1acfd2bd3f0d 361b23dc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/19 03:28 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/18 15:21 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/17 19:10 upstream 213f891525c2 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/14 16:08 upstream 727fb8376504 f757a323 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
2023/10/14 02:04 upstream 8cb1f10d8c4b f757a323 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in __kfence_free
* Struck through repros no longer work on HEAD.