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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 7 Sep 2020 17:05:34 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Pradeep P V K <ppvk@...eaurora.org>
Cc:     miklos@...redi.hu, linux-fsdevel@...r.kernel.org,
        stummala@...eaurora.org, sayalil@...eaurora.org,
        Pradeep P V K <ppvk@...eaurora.org>,
        kernel test robot <lkp@...el.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        ltp@...ts.linux.it
Subject: [fuse] 2ff3ba3472:
 dmesg.BUG:sleeping_function_called_from_invalid_context_at_include/linux/pagemap.h

Greeting,

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

commit: 2ff3ba3472f402384adccf117b045cef2b5b0c71 ("[PATCH V2] fuse: Fix VM_BUG_ON_PAGE issue while accessing zero ref count page")
url: https://github.com/0day-ci/linux/commits/Pradeep-P-V-K/fuse-Fix-VM_BUG_ON_PAGE-issue-while-accessing-zero-ref-count-page/20200826-222916
base: https://git.kernel.org/cgit/linux/kernel/git/mszeredi/fuse.git for-next

in testcase: ltp
testcase version: ltp-x86_64-14c1f76-1_20200715
with following parameters:

	disk: 1HDD
	fs: xfs
	test: syscalls_part5
	ucode: 0x21

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


on test machine: 8 threads Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz with 16G 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 <rong.a.chen@...el.com>


user  :notice: [  370.063533] tst_test.c:1308: INFO: Testing on ntfs

user  :notice: [  370.081348] tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ntfs opts='' extra opts=''

user  :notice: [  370.086107] The partition start sector was not specified for /dev/loop0 and it could not be obtained automatically.  It has been set to 0.

user  :notice: [  370.091011] The number of sectors per track was not specified for /dev/loop0 and it could not be obtained automatically.  It has been set to 0.

user  :notice: [  370.095743] The number of heads was not specified for /dev/loop0 and it could not be obtained automatically.  It has been set to 0.

user  :notice: [  370.100684] To boot from a device, Windows needs the 'partition start sector', the 'sectors per track' and the 'number of heads' to be set.

user  :notice: [  370.104104] Windows will not be able to boot from this device.

user  :notice: [  372.651701] safe_macros.c:754: INFO: Trying FUSE...

kern  :err   : [  372.661731] BUG: sleeping function called from invalid context at include/linux/pagemap.h:519
user  :notice: [  372.661783] tst_test.c:1247: INFO: Timeout per run is 0h 05m 00s

kern  :err   : [  372.663438] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4793, name: mount.ntfs
kern  :warn  : [  372.663449] CPU: 6 PID: 4793 Comm: mount.ntfs Not tainted 5.8.0-00002-g2ff3ba3472f402 #1
kern  :warn  : [  372.663450] Hardware name:  /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012
kern  :warn  : [  372.669730] Call Trace:
kern  :warn  : [  372.670820]  dump_stack+0x57/0x80
kern  :warn  : [  372.671943]  ___might_sleep.cold+0x87/0x95
kern  :warn  : [  372.673072]  set_page_dirty_lock+0x1e/0x60
kern  :warn  : [  372.674183]  fuse_copy_finish+0x93/0xa0 [fuse]
kern  :warn  : [  372.675277]  fuse_copy_fill+0x38/0x180 [fuse]
kern  :warn  : [  372.676348]  fuse_copy_page+0x17c/0x280 [fuse]
kern  :warn  : [  372.677420]  fuse_copy_args+0xf7/0x140 [fuse]
kern  :warn  : [  372.678484]  fuse_dev_do_read+0x7b5/0x900 [fuse]
kern  :warn  : [  372.679555]  ? finish_wait+0xa0/0xa0
kern  :warn  : [  372.680599]  fuse_dev_read+0x5c/0xa0 [fuse]
kern  :warn  : [  372.681649]  new_sync_read+0x114/0x1a0
kern  :warn  : [  372.682678]  vfs_read+0x17e/0x1c0
kern  :warn  : [  372.683698]  ksys_read+0x5f/0xe0
kern  :warn  : [  372.684717]  do_syscall_64+0x4c/0xa0
kern  :warn  : [  372.685724]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
kern  :warn  : [  372.686740] RIP: 0033:0x7fde9b6b650e
kern  :warn  : [  372.687726] Code: 48 8b 15 cd aa 00 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b6 0f 1f 80 00 00 00 00 8b 05 3a ef 00 00 85 c0 75 16 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 41 54 49 89
kern  :warn  : [  372.689977] RSP: 002b:00007ffce39842b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
kern  :warn  : [  372.691098] RAX: ffffffffffffffda RBX: 0000000000000044 RCX: 00007fde9b6b650e
kern  :warn  : [  372.692214] RDX: 0000000000021000 RSI: 00007fde9b2a3010 RDI: 0000000000000008
kern  :warn  : [  372.693332] RBP: 0000555faeb29fe0 R08: 000000000000007f R09: 0000555faeb2a990
kern  :warn  : [  372.694465] R10: 0000000000000007 R11: 0000000000000246 R12: 0000555faeb29fe0
kern  :warn  : [  372.695571] R13: 0000555faeb1eb90 R14: 00007fde9b48eb00 R15: 0000000000021000


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Rong Chen


View attachment "config-5.8.0-00002-g2ff3ba3472f402" of type "text/plain" (169434 bytes)

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

Download attachment "kmsg.xz" of type "application/x-xz" (67644 bytes)

View attachment "ltp" of type "text/plain" (215930 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ