Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported |
---|---|---|---|---|---|---|
KASAN: stack-out-of-bounds Read in __aa_lookupn_ns apparmor | C | 52 | 2218d | 2250d |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
KASAN: global-out-of-bounds Read in __aa_lookupn_ns | 4 (5) | 2018/09/28 15:01 |
================================================================== BUG: KASAN: global-out-of-bounds in memcmp+0xe3/0x160 lib/string.c:861 Read of size 1 at addr ffffffff88000008 by task syz-executor3/16911 CPU: 1 PID: 16911 Comm: syz-executor3 Not tainted 4.19.0+ #298 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c4/0x2b6 lib/dump_stack.c:113 print_address_description.cold.8+0x58/0x1ff mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.9+0x242/0x309 mm/kasan/report.c:412 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report.c:430 memcmp+0xe3/0x160 lib/string.c:861 strnstr+0x4b/0x70 lib/string.c:934 __aa_lookupn_ns+0xc1/0x570 security/apparmor/policy_ns.c:209 aa_lookupn_ns+0x88/0x1e0 security/apparmor/policy_ns.c:240 aa_fqlookupn_profile+0x1b9/0x1010 security/apparmor/policy.c:468 fqlookupn_profile+0x80/0xc0 security/apparmor/label.c:1844 aa_label_strn_parse+0xa3a/0x1230 security/apparmor/label.c:1908 IPVS: ftp: loaded support on port[0] = 21 aa_label_parse+0x42/0x50 security/apparmor/label.c:1943 aa_change_profile+0x513/0x3260 security/apparmor/domain.c:1362 apparmor_setprocattr+0xaa4/0x1150 security/apparmor/lsm.c:658 security_setprocattr+0x66/0xc0 security/security.c:1298 proc_pid_attr_write+0x301/0x540 fs/proc/base.c:2569 __vfs_write+0x119/0x9f0 fs/read_write.c:485 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fea23bdac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fea23bdb6d4 R13: 00000000004c54ee R14: 00000000004d8e08 R15: 00000000ffffffff The buggy address belongs to the variable: __start_rodata+0x8/0x1000 Memory state around the buggy address: ffffffff87ffff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff87ffff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff88000000: 00 fa fa fa fa fa fa fa 00 01 fa fa fa fa fa fa ^ ffffffff88000080: 00 00 00 07 fa fa fa fa 00 04 fa fa fa fa fa fa ffffffff88000100: 05 fa fa fa fa fa fa fa 00 00 00 00 05 fa fa fa ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2018/10/23 04:59 | upstream | ca9eb48fe01f | ecb386fe | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/22 06:05 | upstream | 467e050e9760 | ecb386fe | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/19 03:42 | upstream | fa520c47eaa1 | 9aba67b5 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/16 22:13 | upstream | b955a910d7fd | 1ba7fd7e | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/14 11:20 | upstream | 3a27203102eb | caf12900 | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/11 22:00 | upstream | 0778a9f2dd92 | ba6ddb43 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/11 21:40 | upstream | 9dcd936c5312 | ba6ddb43 | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/11 18:48 | upstream | 9dcd936c5312 | ba6ddb43 | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/11 17:29 | upstream | 9dcd936c5312 | 5f818b4b | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/07 03:25 | upstream | c1d84a1b42ef | 8b311eaf | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/06 20:16 | upstream | 091a1eaa0e30 | 8b311eaf | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/05 19:51 | upstream | b2e45b46d85b | 8b311eaf | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/05 16:24 | upstream | befad944e231 | 8b311eaf | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/02 21:10 | upstream | 1d2ba7fee28b | a316a2af | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/10/02 18:46 | upstream | 1d2ba7fee28b | a316a2af | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/09/30 18:02 | upstream | 291d0e5d81e1 | 41e4b329 | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/09/28 11:53 | upstream | ad0371482b1e | 8bb1f0fc | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/09/25 09:53 | upstream | 02214bfc89c7 | 0e7547d7 | .config | console log | report | ci-upstream-kasan-gce | |||||
2018/09/25 07:43 | upstream | 02214bfc89c7 | 0e7547d7 | .config | console log | report | ci-upstream-kasan-gce-root | |||||
2018/10/01 21:17 | linux-next | 4794a36bf08d | e06f7713 | .config | console log | report | ci-upstream-linux-next-kasan-gce-root | |||||
2018/10/01 08:29 | linux-next | 4794a36bf08d | 48a50c6b | .config | console log | report | ci-upstream-linux-next-kasan-gce-root | |||||
2018/10/01 01:13 | linux-next | 4794a36bf08d | 41e4b329 | .config | console log | report | ci-upstream-linux-next-kasan-gce-root | |||||
2018/09/30 22:24 | linux-next | 4794a36bf08d | 41e4b329 | .config | console log | report | ci-upstream-linux-next-kasan-gce-root | |||||
2018/09/29 09:22 | linux-next | 4794a36bf08d | 41e4b329 | .config | console log | report | ci-upstream-linux-next-kasan-gce-root | |||||
2018/09/28 02:18 | linux-next | 9e27e2c2d003 | 0c2fa87b | .config | console log | report | ci-upstream-linux-next-kasan-gce-root | |||||
2018/09/26 06:05 | linux-next | 8b7a6ebdd4a5 | b7e11289 | .config | console log | report | ci-upstream-linux-next-kasan-gce-root |