lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 26 Nov 2021 13:35:43 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Ronnie Sahlberg <lsahlber@...hat.com>
Cc:     Steve French <stfrench@...rosoft.com>,
        kernel test robot <lkp@...el.com>,
        Aurelien Aptel <aaptel@...e.com>, Paulo Alcantara <pc@....nz>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [cifs]  966a3cb7c7:
 page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_COMP|__GFP_ZERO),nodemask=(null),cpuset=/,mems_allowed=



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 966a3cb7c7db786452a87afdc3b48858fc4d4d6b ("cifs: improve fallocate emulation")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: xfstests
version: xfstests-x86_64-99bc497-1_20211122
with following parameters:

	disk: 4HDD
	fs: btrfs
	fs2: smbv3
	test: generic-group-32
	ucode: 0xde

test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git


on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


[  417.012130][ T4464] smpboot: CPU 4 is now offline
[  417.537914][ T4464] smpboot: CPU 7 is now offline
[  418.548502][ T4464] smpboot: Booting Node 0 Processor 7 APIC 0x7
[  419.141994][ T4464] smpboot: CPU 6 is now offline
[  419.656801][ T4464] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  421.481311][ T4475] fsstress: page allocation failure: order:8, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[  421.495142][ T4475] CPU: 2 PID: 4475 Comm: fsstress Not tainted 5.13.0-rc7-00007-g966a3cb7c7db #1
[  421.504167][ T4475] Hardware name: Gigabyte Technology Co., Ltd. Z270X-UD5/Z270X-UD5-CF, BIOS F2 02/10/2017
[  421.514129][ T4475] Call Trace:
[ 421.517378][ T4475] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122) 
[ 421.521463][ T4475] warn_alloc.cold (kbuild/src/consumer/mm/page_alloc.c:4066) 
[ 421.526054][ T4475] ? zone_watermark_ok_safe (kbuild/src/consumer/mm/page_alloc.c:4047) 
[ 421.531560][ T4475] ? __alloc_pages_direct_compact (kbuild/src/consumer/mm/page_alloc.c:4237) 
[ 421.537596][ T4475] ? get_page_from_freelist (kbuild/src/consumer/mm/page_alloc.c:3778 kbuild/src/consumer/mm/page_alloc.c:3948) 
[  421.543109][ T4475]  ? get_page_from_freelist+0xc80/0xc80
[  421.548630][ T4475]  __alloc_pages_slowpath+0x1a36/0x1f40
[  421.555183][ T4475]  ? kmemdup+0x30/0x40
[  421.559193][ T4475]  ? SMB2_ioctl_init+0x10a/0xb80 [cifs]
[  421.564744][ T4475]  ? warn_alloc+0x140/0x140
[  421.569248][ T4475]  ? get_page_from_freelist+0x439/0xc80
[  421.574753][ T4475]  __alloc_pages+0x4da/0x600
[  421.579257][ T4475]  ? __alloc_pages_slowpath+0x1f40/0x1f40
[  421.585996][ T4475]  kmalloc_order+0x38/0xc0
[  421.590359][ T4475]  kmalloc_order_trace+0x19/0xc0
[  421.595240][ T4475]  smb3_simple_falloc+0xde7/0x1740 [cifs]
[  421.601005][ T4475]  ? cp_new_stat+0x47a/0x5c0
[  421.605536][ T4475]  ? __ia32_sys_lstat+0x80/0x80
[  421.610303][ T4475]  ? smb3_llseek+0xb40/0xb40 [cifs]
[  421.615512][ T4475]  smb3_fallocate+0xc6/0x1700 [cifs]
[  421.620737][ T4475]  ? smb3_zero_range+0x1180/0x1180 [cifs]
[  421.626457][ T4475]  ? __do_sys_newfstat+0xbe/0x100
[  421.631431][ T4475]  ? __ia32_sys_fstat+0x80/0x80
[  421.636226][ T4475]  vfs_fallocate+0x2aa/0x9c0
[  421.640743][ T4475]  ksys_fallocate+0x3a/0x80
[  421.645169][ T4475]  __x64_sys_fallocate+0x93/0x100
[  421.650083][ T4475]  do_syscall_64+0x40/0x80
[  421.654450][ T4475]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  421.660294][ T4475] RIP: 0033:0x7f5821e32437
[  421.664678][ T4475] Code: 5f ba 0c 00 f7 d8 64 89 02 b8 ff ff ff ff eb ba 0f 1f 00 48 8d 05 c9 12 0d 00 49 89 ca 8b 00 85 c0 75 10 b8 1d 01 00 00 0f 05 <48> 3d 00
f0 ff ff 77 51 c3 41 55 49 89 cd 41 54 49 89 d4 55 89 f5
[  421.684458][ T4475] RSP: 002b:00007ffc9d943de8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
[  421.692871][ T4475] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f5821e32437
[  421.700829][ T4475] RDX: 0000000000119f63 RSI: 0000000000000001 RDI: 0000000000000004
[  421.708782][ T4475] RBP: 00000000000008f1 R08: 000000000000006e R09: 00007ffc9d943a15
[  421.716766][ T4475] R10: 00000000000497b8 R11: 0000000000000246 R12: 0000000000000001
[  421.724710][ T4475] R13: 00000000000497b8 R14: 0000000000119f63 R15: 00005648b262b7c0
[  421.732707][ T4475] Mem-Info:
[  421.735747][ T4475] active_anon:615 inactive_anon:66590 isolated_anon:0
[  421.735747][ T4475]  active_file:4968691 inactive_file:1229171 isolated_file:0
[  421.735747][ T4475]  unevictable:378410 dirty:28134 writeback:29866
[  421.735747][ T4475]  slab_reclaimable:44960 slab_unreclaimable:259563
[  421.735747][ T4475]  mapped:10165 shmem:3088 pagetables:870 bounce:0
[  421.735747][ T4475]  free:80492 free_pcp:394 free_cma:0
[  421.774368][ T4475] Node 0 active_anon:2460kB inactive_anon:266360kB active_file:19877576kB inactive_file:4922012kB unevictable:1513640kB isolated(anon):0kB isolated(file):0kB mapped:40660kB dirty:6272kB writeback:222620kB shmem:12352kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 202752kB writeback_tmp:0kB kernel_stack:20736kB pagetables:3480kB all_unreclaimable? no
[  421.807506][ T4475] Node 0 DMA free:15360kB min:36kB low:48kB high:60kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15980kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  421.833616][ T4475] lowmem_reserve[]: 0 2637 27181 27181 27181
[  421.839547][ T4475] Node 0 DMA32 free:104912kB min:6552kB low:9252kB high:11952kB reserved_highatomic:0KB active_anon:4kB inactive_anon:8460kB active_file:2547244kB inactive_file:4740kB unevictable:0kB writepending:3644kB present:2766180kB managed:2700644kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  421.868224][ T4475] lowmem_reserve[]: 0 0 24543 24543 24543
[  421.873910][ T4475] Node 0 Normal free:171620kB min:60992kB low:86124kB high:111256kB reserved_highatomic:2048KB active_anon:2456kB inactive_anon:257900kB active_file:17350520kB inactive_file:4918300kB unevictable:1513640kB writepending:233688kB present:30654464kB managed:25563308kB mlocked:2344kB bounce:0kB free_pcp:1656kB local_pcp:1360kB free_cma:0kB
[  421.905685][ T4475] lowmem_reserve[]: 0 0 0 0 0
[  421.910312][ T4475] Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15360kB
[  421.922896][ T4475] Node 0 DMA32: 574*4kB (UME) 185*8kB (UME) 119*16kB (UME) 15*32kB (UME) 255*64kB (UME) 176*128kB (UM) 56*256kB (UM) 15*512kB (UME) 3*1024kB (UM) 3*2048kB (UME) 7*4096kB (M) = 104912kB
[  421.941219][ T4475] Node 0 Normal: 3933*4kB (UMEH) 6015*8kB (UMEH) 3728*16kB (UEH) 1291*32kB (UMEH) 35*64kB (UMEH) 1*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 167180kB
[  421.957640][ T4475] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[  421.967216][ T4475] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[  421.976519][ T4475] 6590026 total pagecache pages
[  421.981344][ T4475] 0 pages in swap cache
[  421.985414][ T4475] Swap cache stats: add 0, delete 0, find 0/0
[  421.991423][ T4475] Free swap  = 0kB
[  421.995072][ T4475] Total swap = 0kB
[  421.998732][ T4475] 8359156 pages RAM
[  422.002497][ T4475] 0 pages HighMem/MovableOnly
[  422.007111][ T4475] 1289328 pages reserved
[  422.011310][ T4475] 0 pages cma reserved
[  422.015336][ T4475] 0 pages hwpoisoned



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.13.0-rc7-00007-g966a3cb7c7db" of type "text/plain" (174290 bytes)

View attachment "job-script" of type "text/plain" (5834 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (10072 bytes)

View attachment "xfstests" of type "text/plain" (2011 bytes)

View attachment "job.yaml" of type "text/plain" (4903 bytes)

View attachment "reproduce" of type "text/plain" (1490 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ