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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 13 Nov 2020 20:10:25 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Joe Perches <joe@...ches.com>
Cc:     Christoph Lameter <cl@...ux.com>,
        Pekka Enberg <penberg@...nel.org>,
        David Rientjes <rientjes@...gle.com>,
        Joonsoo Kim <iamjoonsoo.kim@....com>,
        Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, 0day robot <lkp@...el.com>,
        lkp@...ts.01.org, ltp@...ts.linux.it
Subject: [mm] b6efe2fcc4: BUG:kernel_NULL_pointer_dereference,address


Greeting,

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

commit: b6efe2fcc4e11010710ef5cd8e2bcbeb221a06c6 ("mm: slub: Convert sysfs sprintf family to sysfs_emit/sysfs_emit_at")
url: https://github.com/0day-ci/linux/commits/Joe-Perches/mm-Convert-sysfs-sprintf-family-to-sysfs_emit/20201102-041456


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

	disk: 1HDD
	fs: xfs
	test: fs-03
	ucode: 0xd6

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-7700 CPU @ 3.60GHz 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>


[   41.689368] BUG: kernel NULL pointer dereference, address: 0000000000000010
[   41.696354] #PF: supervisor read access in kernel mode
[   41.701508] #PF: error_code(0x0000) - not-present page
[   41.706661] PGD 0 P4D 0 
[   41.709205] Oops: 0000 [#1] SMP PTI
[   41.712702] CPU: 3 PID: 4619 Comm: read_all Tainted: G          I       5.10.0-rc1-00005-gb6efe2fcc4e1 #1
[   41.722296] Hardware name: Dell Inc. OptiPlex 7050/062KRH, BIOS 1.2.0 12/22/2016
[   41.729714] RIP: 0010:slabs_cpu_partial_show+0x95/0xe0
[   41.734868] Code: b0 0f 00 41 89 c5 eb 32 48 63 d5 48 8b 03 44 89 ee 89 e9 48 8b 14 d5 00 b9 63 82 4c 89 e7 48 8b 44 02 18 48 c7 c2 22 d1 57 82 <44> 8b 48 10 44 8b 40 14 e8 3e b0 0f 00 41 01 c5 89 ef 48 c7 c6 a0
[   41.739395] error: dpkg -i /opt/deb/trousers_0.3.14+fixed1-1_amd64.deb failed.
[   41.753693] RSP: 0018:ffffc90001617e38 EFLAGS: 00010293
[   41.753694] RAX: 0000000000000000 RBX: ffff88816136aa00 RCX: 0000000000000000
[   41.753695] RDX: ffffffff8257d122 RSI: 0000000000000004 RDI: ffff888811bd6000
[   41.753695] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   41.753696] R10: 0000000000000000 R11: ffff888811bd6003 R12: ffff888811bd6000
[   41.753697] R13: 0000000000000004 R14: ffff88881d2769d8 R15: ffff88881d276a10
[   41.760942] 
[   41.766178] FS:  00007fcccc466740(0000) GS:ffff88881dcc0000(0000) knlGS:0000000000000000
[   41.766179] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   41.766179] CR2: 0000000000000010 CR3: 00000008135c6001 CR4: 00000000003706e0
[   41.766180] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   41.766180] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   41.766181] Call Trace:
[   41.766185]  slab_attr_show+0x1d/0x40
[   41.766190]  sysfs_kf_seq_show+0x9b/0x100
[   41.848935]  seq_read+0xb2/0x400
[   41.852179]  vfs_read+0xce/0x1c0
[   41.855420]  ksys_read+0x5f/0xe0
[   41.858661]  do_syscall_64+0x33/0x40
[   41.862254]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   41.867328] RIP: 0033:0x7fcccc63b50e
[   41.870919] 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
[   41.889761] RSP: 002b:00007fff5d37ab58 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[   41.897353] RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fcccc63b50e
[   41.904512] RDX: 00000000000003ff RSI: 00007fff5d37b010 RDI: 0000000000000007
[   41.911669] RBP: 00007fcccc45c000 R08: 0000000000000020 R09: 0000000000000000
[   41.918824] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff5d37ac10
[   41.925981] R13: 00000000a2c853f1 R14: 00007fff5d37ac11 R15: 00007fff5d37b010
[   41.933138] Modules linked in: dm_mod xfs libcrc32c sd_mod t10_pi sg ipmi_devintf ipmi_msghandler intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp i915 kvm_intel kvm irqbypass intel_gtt crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel drm_kms_helper dell_wmi syscopyarea mei_wdt dell_smbios sysfillrect rapl ahci dell_wmi_aio sysimgblt intel_cstate fb_sys_fops dell_wmi_descriptor wmi_bmof sparse_keymap libahci intel_uncore dcdbas mei_me drm libata i2c_designware_platform i2c_designware_core video mei idma64 wmi pinctrl_sunrisepoint intel_pmc_core acpi_pad ip_tables
[   41.987098] CR2: 0000000000000010
[   41.990423] ---[ end trace 266dc72ff849e573 ]---


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,
Oliver Sang


View attachment "config-5.10.0-rc1-00005-gb6efe2fcc4e1" of type "text/plain" (171559 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ