github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/report/testdata/linux/guilty/39 (about) 1 FILE: security/apparmor/policy_ns.c 2 3 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:3038 4 __sys_setsockopt+0x1ba/0x3c0 net/socket.c:1902 5 __do_sys_setsockopt net/socket.c:1913 [inline] 6 __se_sys_setsockopt net/socket.c:1910 [inline] 7 __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1910 8 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 9 ================================================================== 10 BUG: KASAN: global-out-of-bounds in memcmp+0xe3/0x160 lib/string.c:861 11 Read of size 1 at addr ffffffff88000008 by task syz-executor0/10914 12 13 entry_SYSCALL_64_after_hwframe+0x49/0xbe 14 RIP: 0033:0x457579 15 Code: 1d b4 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 16 RSP: 002b:00007f4c14533c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 17 RAX: ffffffffffffffda RBX: 00007f4c14533c90 RCX: 0000000000457579 18 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 19 RBP: 000000000072bf00 R08: 0000000000000004 R09: 0000000000000000 20 R10: 0000000020000080 R11: 0000000000000246 R12: 00007f4c145346d4 21 R13: 00000000004c3ed9 R14: 00000000004d6260 R15: 0000000000000004 22 CPU: 0 PID: 10914 Comm: syz-executor0 Not tainted 4.19.0-rc5+ #252 23 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 24 Call Trace: 25 __dump_stack lib/dump_stack.c:77 [inline] 26 dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 27 print_address_description.cold.8+0x58/0x1ff mm/kasan/report.c:256 28 kasan_report_error mm/kasan/report.c:354 [inline] 29 kasan_report.cold.9+0x242/0x309 mm/kasan/report.c:412 30 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report.c:430 31 memcmp+0xe3/0x160 lib/string.c:861 32 strnstr+0x4b/0x70 lib/string.c:934 33 __aa_lookupn_ns+0xc1/0x570 security/apparmor/policy_ns.c:209 34 aa_lookupn_ns+0x88/0x1e0 security/apparmor/policy_ns.c:240 35 aa_fqlookupn_profile+0x1b9/0x1010 security/apparmor/policy.c:468 36 fqlookupn_profile+0x80/0xc0 security/apparmor/label.c:1844 37 aa_label_strn_parse+0xa3a/0x1230 security/apparmor/label.c:1908 38 aa_label_parse+0x42/0x50 security/apparmor/label.c:1943 39 aa_change_profile+0x513/0x3510 security/apparmor/domain.c:1362 40 apparmor_setprocattr+0xa8b/0x1150 security/apparmor/lsm.c:656 41 security_setprocattr+0x66/0xc0 security/security.c:1298 42 proc_pid_attr_write+0x301/0x540 fs/proc/base.c:2555 43 __vfs_write+0x119/0x9f0 fs/read_write.c:485 44 vfs_write+0x1fc/0x560 fs/read_write.c:549 45 ksys_write+0x101/0x260 fs/read_write.c:598 46 __do_sys_write fs/read_write.c:610 [inline] 47 __se_sys_write fs/read_write.c:607 [inline] 48 __x64_sys_write+0x73/0xb0 fs/read_write.c:607 49 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 50 entry_SYSCALL_64_after_hwframe+0x49/0xbe 51 RIP: 0033:0x457579 52 Code: 1d b4 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 53 RSP: 002b:00007f5a92ec2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 54 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 55 RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000004 56 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 57 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5a92ec36d4 58 R13: 00000000004c5454 R14: 00000000004d8c78 R15: 00000000ffffffff 59 60 CPU: 1 PID: 10921 Comm: syz-executor3 Not tainted 4.19.0-rc5+ #252 61 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 62 The buggy address belongs to the variable: 63 __start_rodata+0x8/0x1000 64 Call Trace: 65 __dump_stack lib/dump_stack.c:77 [inline] 66 dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 67 68 Memory state around the buggy address: 69 ffffffff87ffff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 ffffffff87ffff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 71 fail_dump lib/fault-inject.c:51 [inline] 72 should_fail.cold.4+0xa/0x17 lib/fault-inject.c:149 73 ffffffff88000000: 00 fa fa fa fa fa fa fa 00 01 fa fa fa fa fa fa 74 ^ 75 ffffffff88000080: 00 00 00 07 fa fa fa fa 00 04 fa fa fa fa fa fa 76 ffffffff88000100: 05 fa fa fa fa fa fa fa 00 00 00 00 05 fa fa fa 77 ==================================================================