ci starts bisection 2022-11-14 02:22:44.357038589 +0000 UTC m=+297128.414562566 bisecting cause commit starting from f8f60f322f0640c8edda2942ca5f84b7a27c417a building syzkaller on 3ead01ade920906b89aff0066a9d5e922ee270c8 ensuring issue is reproducible on original commit f8f60f322f0640c8edda2942ca5f84b7a27c417a testing commit f8f60f322f0640c8edda2942ca5f84b7a27c417a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0ad542229df02a751276e08ec046bddb673f425089c0ea4bc363766bcbee6b7e all runs: crashed: WARNING in anon_vma_name testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6f8d0da60788cb619d8e6f2e420b449de232bedcca9561845a8ca6564577f50c all runs: OK # git bisect start f8f60f322f0640c8edda2942ca5f84b7a27c417a 4fe89d07dcc2804c8b562f6c7896a45643d34b2f Bisecting: 10347 revisions left to test after this (roughly 13 steps) [27bc50fc90647bbf7b734c3fc306a5e61350da53] Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 27bc50fc90647bbf7b734c3fc306a5e61350da53 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 77de30d077c25702728b28765554e14ad2eae34cd0e41661992e936d87a84602 failed: failed to create VM pool: failed to create GCE image: create image operation failed: &{Code:PERMISSIONS_ERROR ErrorDetails:[] Location: Message:Required 'read' permission for 'disks/ci-upstream-linux-next-kasan-gce-root-bisect-job-bisect-job-image.tar.gz' ForceSendFields:[] NullFields:[]}. # git bisect skip 27bc50fc90647bbf7b734c3fc306a5e61350da53 Bisecting: 10347 revisions left to test after this (roughly 13 steps) [c52f0935ef5f5ade564a8ff1c32a7df2ea279811] dt-bindings: mmc: mtk-sd: add Inline Crypto Engine clock testing commit c52f0935ef5f5ade564a8ff1c32a7df2ea279811 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d626c235b5a33741c9871ea1501c6353cee4a8689add2221e88b89ebe24ebd65 all runs: OK # git bisect good c52f0935ef5f5ade564a8ff1c32a7df2ea279811 Bisecting: 3907 revisions left to test after this (roughly 12 steps) [66500d0e2e5c9b64fc5d3f4879e2140572e1b386] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git testing commit 66500d0e2e5c9b64fc5d3f4879e2140572e1b386 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d2766c3e310b5ac521d8b54c1ef05f2c0675b147011c2cd3aaa480ca62ed9904 all runs: OK # git bisect good 66500d0e2e5c9b64fc5d3f4879e2140572e1b386 Bisecting: 2003 revisions left to test after this (roughly 11 steps) [080c1179d77ad36d6e51469b68801ef341ec292a] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git testing commit 080c1179d77ad36d6e51469b68801ef341ec292a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9d5c0d7a5aef06e61469b664a157b59ced090dd851e4dd692ec2645fc5dd10da all runs: OK # git bisect good 080c1179d77ad36d6e51469b68801ef341ec292a Bisecting: 974 revisions left to test after this (roughly 10 steps) [84e5ca9988b4ee4351b068c7bb7152f4240054d4] Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git testing commit 84e5ca9988b4ee4351b068c7bb7152f4240054d4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 57e8be2b568fbcf2a81c7121bb534900f6a82c2022a59ffb30939f08255fbb12 all runs: OK # git bisect good 84e5ca9988b4ee4351b068c7bb7152f4240054d4 Bisecting: 483 revisions left to test after this (roughly 9 steps) [917d2dd3c9cb80646df958c9a29b4ea1739cf4bd] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git testing commit 917d2dd3c9cb80646df958c9a29b4ea1739cf4bd gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c342ac18b0b1b110aa536b622ed7ca24556babee92f8799eb63e2acfbf5e4669 all runs: OK # git bisect good 917d2dd3c9cb80646df958c9a29b4ea1739cf4bd Bisecting: 256 revisions left to test after this (roughly 8 steps) [ca77a205798d441462bde61bfed6eaea86b31ecc] mm: vmscan: fix extreme overreclaim and swap floods testing commit ca77a205798d441462bde61bfed6eaea86b31ecc gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8b6e5ecaf09356a0b3b3f0e2dccfe41296887d99d19a351a665bf58dd4f8ab94 all runs: crashed: WARNING in anon_vma_name # git bisect bad ca77a205798d441462bde61bfed6eaea86b31ecc Bisecting: 112 revisions left to test after this (roughly 7 steps) [b112efa5f46f7092111696cd63702ebd3776c82e] devdax: use dax_insert_entry() + dax_delete_mapping_entry() testing commit b112efa5f46f7092111696cd63702ebd3776c82e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b054c38e61c004cea2dc783ed00f83356880da752b829c8c75e1b127c28fa40f all runs: OK # git bisect good b112efa5f46f7092111696cd63702ebd3776c82e Bisecting: 55 revisions left to test after this (roughly 6 steps) [96ba188c569498fa3a5f4008c99307c802af9f01] mm/damon/sysfs: implement DAMOS tried regions update command testing commit 96ba188c569498fa3a5f4008c99307c802af9f01 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ba6732193553035d8fa44e6e2368ea3454004f56c582f418c26bb69073a5392d all runs: OK # git bisect good 96ba188c569498fa3a5f4008c99307c802af9f01 Bisecting: 27 revisions left to test after this (roughly 5 steps) [97f1b5e86a5aba85b339dcf55dc168c754be3354] mm/autonuma: use can_change_(pte|pmd)_writable() to replace savedwrite testing commit 97f1b5e86a5aba85b339dcf55dc168c754be3354 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2904b800bf0b7c6ee9eff57cf738bc17938989b98ed476ab18c4ddabcad35b68 all runs: crashed: WARNING in anon_vma_name # git bisect bad 97f1b5e86a5aba85b339dcf55dc168c754be3354 Bisecting: 13 revisions left to test after this (roughly 4 steps) [02e4060f10a98bcd1a676e6dbf3fada156dcca3c] mm,thp,rmap: lock_compound_mapcounts() on THP mapcounts testing commit 02e4060f10a98bcd1a676e6dbf3fada156dcca3c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 88cde3ac9fecbfbb562d9807e44d2190ad23a3aa7af290dff7af51a7f4ed6642 all runs: OK # git bisect good 02e4060f10a98bcd1a676e6dbf3fada156dcca3c Bisecting: 6 revisions left to test after this (roughly 3 steps) [a0157a2c735bd9c8ea8486b2f3631225a086fe9d] mm/khugepaged: recover from poisoned file-backed memory testing commit a0157a2c735bd9c8ea8486b2f3631225a086fe9d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: dac5ff7a17822c79152b99aba1d07b8826c4c74b8d8e1fd0f4468851eee1c65f all runs: crashed: WARNING in anon_vma_name # git bisect bad a0157a2c735bd9c8ea8486b2f3631225a086fe9d Bisecting: 3 revisions left to test after this (roughly 2 steps) [2220e3a8953e86b87adfc753fc57c2a5e0b0a032] mm: anonymous shared memory naming testing commit 2220e3a8953e86b87adfc753fc57c2a5e0b0a032 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 79e9d45a0ed56071f13c5fb20218da71eee0062040334ff9f2fd87771e11dfe5 all runs: crashed: WARNING in anon_vma_name # git bisect bad 2220e3a8953e86b87adfc753fc57c2a5e0b0a032 Bisecting: 0 revisions left to test after this (roughly 1 step) [bc9074de6ee5203bc7c1104c48dff14d0eb39e20] selftests/damon: test non-context inputs to rm_contexts file testing commit bc9074de6ee5203bc7c1104c48dff14d0eb39e20 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9d11aa0f2546b6a0a9091829b5f3fb8ea165436292a0cb98239c5b9cc6e681df all runs: OK # git bisect good bc9074de6ee5203bc7c1104c48dff14d0eb39e20 2220e3a8953e86b87adfc753fc57c2a5e0b0a032 is the first bad commit commit 2220e3a8953e86b87adfc753fc57c2a5e0b0a032 Author: Pasha Tatashin Date: Mon Nov 7 18:47:15 2022 +0000 mm: anonymous shared memory naming Since commit 9a10064f5625 ("mm: add a field to store names for private anonymous memory"), name for private anonymous memory, but not shared anonymous, can be set. However, naming shared anonymous memory is just as useful for tracking purposes. Extend the functionality to be able to set names for shared anon. Sample output: /* Create shared anonymous segment */ anon_shmem = mmap(NULL, SIZE, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); /* Name the segment: "MY-NAME" */ rv = prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, anon_shmem, SIZE, "MY-NAME"); cat /proc//maps (and smaps): 7fc8e2b4c000-7fc8f2b4c000 rw-s 00000000 00:01 1024 [anon_shmem:MY-NAME] Link: https://lkml.kernel.org/r/20221107184715.3950621-1-pasha.tatashin@soleen.com Signed-off-by: Pasha Tatashin Cc: Arnd Bergmann Cc: Bagas Sanjaya Cc: Colin Cross Cc: David Hildenbrand Cc: Hugh Dickins Cc: Johannes Weiner Cc: Jonathan Corbet Cc: "Kirill A . Shutemov" Cc: Liam Howlett Cc: Matthew Wilcox (Oracle) Cc: Mike Rapoport Cc: Paul Gortmaker Cc: Peter Xu Cc: Sean Christopherson Cc: Vincent Whitchurch Cc: Vlastimil Babka Cc: xu xin Cc: Yang Shi Cc: Yu Zhao Signed-off-by: Andrew Morton Documentation/filesystems/proc.rst | 8 +++++--- fs/proc/task_mmu.c | 14 ++++++++++---- include/linux/mm.h | 2 ++ include/linux/mm_types.h | 27 +++++++++++++-------------- mm/madvise.c | 7 ++----- mm/shmem.c | 20 ++++++++++++++++++-- 6 files changed, 50 insertions(+), 28 deletions(-) culprit signature: 79e9d45a0ed56071f13c5fb20218da71eee0062040334ff9f2fd87771e11dfe5 parent signature: 9d11aa0f2546b6a0a9091829b5f3fb8ea165436292a0cb98239c5b9cc6e681df revisions tested: 16, total time: 3h41m58.653751347s (build: 1h51m50.358699682s, test: 1h47m37.466775867s) first bad commit: 2220e3a8953e86b87adfc753fc57c2a5e0b0a032 mm: anonymous shared memory naming recipients (to): ["akpm@linux-foundation.org" "akpm@linux-foundation.org" "corbet@lwn.net" "linux-doc@vger.kernel.org" "linux-fsdevel@vger.kernel.org" "linux-mm@kvack.org" "pasha.tatashin@soleen.com"] recipients (cc): ["arnd@arndb.de" "ccross@google.com" "david@redhat.com" "hannes@cmpxchg.org" "hughd@google.com" "linux-kernel@vger.kernel.org" "paul.gortmaker@windriver.com" "peterx@redhat.com" "shy828301@gmail.com" "vbabka@suse.cz" "willy@infradead.org"] crash: WARNING in anon_vma_name ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4139 at include/linux/mmap_lock.h:155 mmap_assert_locked include/linux/mmap_lock.h:155 [inline] WARNING: CPU: 0 PID: 4139 at include/linux/mmap_lock.h:155 anon_vma_name+0xd8/0x120 mm/madvise.c:96 Modules linked in: CPU: 0 PID: 4139 Comm: syz-executor.0 Not tainted 6.1.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:mmap_assert_locked include/linux/mmap_lock.h:155 [inline] RIP: 0010:anon_vma_name+0xd8/0x120 mm/madvise.c:96 Code: c1 ea 03 80 3c 02 00 75 54 48 8b 83 80 00 00 00 5b 5d 41 5c c3 48 8d bd 58 01 00 00 be ff ff ff ff e8 fc d7 14 07 85 c0 75 8a <0f> 0b eb 86 48 89 ef e8 4c 10 f5 ff 0f 0b 48 c7 c7 ec 2d f2 8c e8 RSP: 0018:ffffc90004b1f818 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffff8ac6a000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff892be2c0 RDI: ffffffff898576a0 RBP: 0000000000000000 R08: ffffc90004b1f708 R09: 0000000000000000 R10: ffffffffff600000 R11: 0000000000000000 R12: ffff88801bec0818 R13: ffffffff8ac6a008 R14: ffffffff8ac6a010 R15: 0000000000000000 FS: 00007f90a54b9700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f90a47a80c0 CR3: 00000000246d1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: show_map_vma+0x1f7/0x5f0 fs/proc/task_mmu.c:297 show_smap+0xca/0x420 fs/proc/task_mmu.c:866 traverse.part.0+0xbb/0x5b0 fs/seq_file.c:111 traverse fs/seq_file.c:101 [inline] seq_read_iter+0x76f/0x1090 fs/seq_file.c:195 seq_read+0x161/0x200 fs/seq_file.c:162 do_loop_readv_writev fs/read_write.c:756 [inline] do_loop_readv_writev fs/read_write.c:743 [inline] do_iter_read+0x3e7/0x690 fs/read_write.c:798 vfs_readv+0xc3/0x130 fs/read_write.c:916 do_preadv fs/read_write.c:1008 [inline] __do_sys_preadv fs/read_write.c:1058 [inline] __se_sys_preadv fs/read_write.c:1053 [inline] __x64_sys_preadv+0x1d1/0x290 fs/read_write.c:1053 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f90a468b639 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f90a54b9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f90a47abf80 RCX: 00007f90a468b639 RDX: 0000000000000001 RSI: 00000000200006c0 RDI: 0000000000000003 RBP: 00007f90a46e67e1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000fffffffe R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0760396f R14: 00007f90a54b9300 R15: 0000000000022000