syzbot


BUG: unable to handle kernel paging request in kfree

Status: closed as invalid on 2021/10/11 16:07
Reported-by: syzbot+98e2b60ad7109a190f91@syzkaller.appspotmail.com
First crash: 1736d, last: 1733d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in kfree selinux 1 2550d 2546d 0/28 closed as invalid on 2017/12/06 12:41
upstream BUG: unable to handle kernel paging request in kfree (2) mm C 297 2277d 2329d 10/28 fixed on 2018/09/24 08:37

Sample crash report:
BUG: unable to handle page fault for address: ffffebde00002008
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1878 Comm: syz-executor105 Not tainted 5.4.22-syzkaller-01097-gc6059ac63293 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:174 [inline]
RIP: 0010:virt_to_head_page include/linux/mm.h:748 [inline]
RIP: 0010:kfree+0xd6/0x6d0 mm/slub.c:3945
Code: f0 02 eb 0a 48 bb 00 00 00 80 7f 77 00 00 4c 01 e3 48 81 eb 00 00 00 80 48 c1 eb 06 48 83 e3 c0 48 b9 00 00 00 00 00 ea ff ff <48> 8b 44 0b 08 a8 01 0f 85 a9 01 00 00 48 01 cb 48 8b 43 08 48 89
RSP: 0018:ffff8881d0dc7278 EFLAGS: 00010206
RAX: ffffffff7fffffff RBX: 000001de00002000 RCX: ffffea0000000000
RDX: 0000000000000000 RSI: ffffffff84648d30 RDI: 0000000000080000
RBP: ffff8881d0dc72f0 R08: 0000000000000005 R09: ffffffff8140b355
R10: ffff8881d1868000 R11: 000000000000000a R12: 0000000000080000
R13: ffff8881d310e000 R14: ffffffff8140b3ec R15: 0000000000000001
FS:  000000000104c880(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffebde00002008 CR3: 00000001d4f89002 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 audit_free_lsm_field kernel/auditfilter.c:76 [inline]
 audit_free_rule kernel/auditfilter.c:91 [inline]
 audit_data_to_entry+0x225c/0x26c0 kernel/auditfilter.c:603
 audit_rule_change+0xbe/0x1110 kernel/auditfilter.c:1130
 audit_receive_msg kernel/audit.c:1367 [inline]
 audit_receive+0xe73/0x3750 kernel/audit.c:1512
 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
 netlink_unicast+0x87c/0xa20 net/netlink/af_netlink.c:1328
 netlink_sendmsg+0x9a7/0xd40 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:638 [inline]
 sock_sendmsg net/socket.c:658 [inline]
 ____sys_sendmsg+0x56f/0x860 net/socket.c:2298
 ___sys_sendmsg net/socket.c:2352 [inline]
 __sys_sendmsg+0x26a/0x350 net/socket.c:2398
 __do_sys_sendmsg net/socket.c:2407 [inline]
 __se_sys_sendmsg net/socket.c:2405 [inline]
 __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2405
 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x440cf9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff5acb9b08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440cf9
RDX: 0000000000000000 RSI: 00000000200004c0 RDI: 0000000000000003
RBP: 00000000006cb018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402580
R13: 0000000000402610 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffebde00002008
---[ end trace f6042e9bcc2fc7f0 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:174 [inline]
RIP: 0010:virt_to_head_page include/linux/mm.h:748 [inline]
RIP: 0010:kfree+0xd6/0x6d0 mm/slub.c:3945
Code: f0 02 eb 0a 48 bb 00 00 00 80 7f 77 00 00 4c 01 e3 48 81 eb 00 00 00 80 48 c1 eb 06 48 83 e3 c0 48 b9 00 00 00 00 00 ea ff ff <48> 8b 44 0b 08 a8 01 0f 85 a9 01 00 00 48 01 cb 48 8b 43 08 48 89
RSP: 0018:ffff8881d0dc7278 EFLAGS: 00010206
RAX: ffffffff7fffffff RBX: 000001de00002000 RCX: ffffea0000000000
RDX: 0000000000000000 RSI: ffffffff84648d30 RDI: 0000000000080000
RBP: ffff8881d0dc72f0 R08: 0000000000000005 R09: ffffffff8140b355
R10: ffff8881d1868000 R11: 000000000000000a R12: 0000000000080000
R13: ffff8881d310e000 R14: ffffffff8140b3ec R15: 0000000000000001
FS:  000000000104c880(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffebde00002008 CR3: 00000001d4f89002 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/24 20:14 https://android.googlesource.com/kernel/common android-5.4 c6059ac63293 1253d6f0 .config console log report syz C ci2-android-5-4-kasan
2020/02/23 01:14 https://android.googlesource.com/kernel/common android-5.4 e12432318607 2c36e7a7 .config console log report syz C ci2-android-5-4-kasan
2020/02/22 01:12 https://android.googlesource.com/kernel/common android-5.4 e12432318607 2ffa6679 .config console log report syz C ci2-android-5-4-kasan
2020/02/24 00:56 https://android.googlesource.com/kernel/common android-5.4 e12432318607 d801cb02 .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.