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-next>] [day] [month] [year] [list]
Message-Id: <1497278454.15415.50.camel@abdul.in.ibm.com>
Date:   Mon, 12 Jun 2017 20:10:54 +0530
From:   Abdul Haleem <abdhalee@...ux.vnet.ibm.com>
To:     linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Cc:     linux-kernel <linux-kernel@...r.kernel.org>,
        linux-next@...r.kernel.org, Tejun Heo <tj@...nel.org>,
        sachinp <sachinp@...ux.vnet.ibm.com>,
        Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [next-20170609] WARNING: CPU: 3 PID: 71167 at lib/idr.c:157
 idr_replace

Hi,

WARN_ON_ONCE is being called from idr_replace() function in file
lib/idr.c at line 157

    struct radix_tree_node *node;
    void __rcu **slot = NULL;
    void *entry;

    if (WARN_ON_ONCE(id < 0))
        return ERR_PTR(-EINVAL);
    if (WARN_ON_ONCE(radix_tree_is_internal_node(ptr)))
        return ERR_PTR(-EINVAL);

    entry = __radix_tree_lookup(&idr->idr_rt, id, &node, &slot);


Test: Trinity (https://github.com/kernelslacker/trinity)
Machine : Power 8 PowerVM LPAR
Kernel : 4.12.0-rc4-next-20170606
gcc : version 5.2.1
config : attached

trace logs:
------------[ cut here ]------------
WARNING: CPU: 3 PID: 71167 at lib/idr.c:157 idr_replace+0x100/0x110
Modules linked in: xts(E) ip_set(E) ipmi_powernv(E) ipmi_devintf(E)
shpchp(E) ibmpowernv(E) ofpart(E) uio_pdrv_genirq(E) sg(E) ses(E)
at24(E) tg3(E) bnx2x(E) ahci(E) loop(E) xt_CHECKSUM(E) ipt_MASQUERADE(E)
nf_nat_masquerade_ipv4(E) tun(E) kvm_hv(E) kvm_pr(E) kvm(E)
ip6t_rpfilter(E) ipt_REJECT(E) nf_reject_ipv4(E) ip6t_REJECT(E)
nf_reject_ipv6(E) xt_conntrack(E) nfnetlink(E) ebtable_nat(E)
ebtable_broute(E) bridge(E) stp(E) llc(E) ip6table_nat(E)
nf_conntrack_ipv6(E) nf_defrag_ipv6(E) nf_nat_ipv6(E) ip6table_mangle(E)
ip6table_security(E) ip6table_raw(E) iptable_nat(E) nf_conntrack_ipv4(E)
nf_defrag_ipv4(E) nf_nat_ipv4(E) nf_nat(E) nf_conntrack(E)
iptable_mangle(E) iptable_security(E) iptable_raw(E) ebtable_filter(E)
ebtables(E) ip6table_filter(E) ip6_tables(E) iptable_filter(E)
i2c_dev(E)
[29316.280682]  ghash_generic(E) gf128mul(E) vmx_crypto(E) enclosure(E)
scsi_transport_sas(E) nvmem_core(E) opal_prd(E) ipmi_msghandler(E)
powernv_rng(E) powernv_flash(E) uio(E) rtc_opal(E) mtd(E) i2c_opal(E)
nfsd(E) auth_rpcgss(E) nfs_acl(E) lockd(E) grace(E) sunrpc(E)
ip_tables(E) ext4(E) jbd2(E) fscrypto(E) mbcache(E) sd_mod(E) mdio(E)
libcrc32c(E) ptp(E) ast(E) i2c_algo_bit(E) drm_kms_helper(E)
syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) ttm(E) drm(E)
aacraid(E) libahci(E) libata(E) i2c_core(E) pps_core(E) dm_mirror(E)
dm_region_hash(E) dm_log(E) dm_mod(E) [last unloaded: xts]
CPU: 3 PID: 71167 Comm: trinity-c43 Tainted: G            E
4.12.0-rc4-next-20170609-autotest #1
task: c000003bd0799500 task.stack: c0000011e81f0000
NIP: c0000000004d20a0 LR: d00000000fc16a98 CTR: c0000000004d1fa0
REGS: c0000011e81f38d0 TRAP: 0700   Tainted: G            E    (4.12.0-rc4-next-20170609-autotest)
MSR: 9000000000029033 <SF,HV,EE,ME,IR,DR,RI,LE>
  CR: 28002428  XER: 20000000  
CFAR: c0000000004d1fd4 SOFTE: 1 
GPR00: d00000000fc16a98 c0000011e81f3b50 c00000000106d800 c00000334c89de38 
GPR04: 0000000000000000 ffffffffd7d7d7d7 00000000d7d7d7d7 0000000000000000 
GPR08: c0000011e81f4000 0000000000000000 0000000080000003 d00000000fc47760 
GPR12: c0000000004d1fa0 c00000000fac1f80 0000000000000000 0000000010030d70 
GPR16: 0000000010030f38 0000000000000000 d00000000fc17150 0000000000000008 
GPR20: d00000000fc4f4e0 00007fff79960000 0000000000000009 0000000000000000 
GPR24: 0000000000000000 c0000011e81f3c50 0000000000000008 d00000000fc61958 
GPR28: c00000334c89de50 c00000334c89de38 ffffffffd7d7d7d7 ffffffffd7d7d7d7 
NIP [c0000000004d20a0] idr_replace+0x100/0x110
LR [d00000000fc16a98] drm_gem_handle_delete+0x58/0x120 [drm]
Call Trace:
[c0000011e81f3b50] [c0000011e81f3bf0] 0xc0000011e81f3bf0 (unreliable)
[c0000011e81f3ba0] [d00000000fc16a98] drm_gem_handle_delete+0x58/0x120 [drm]
[c0000011e81f3bf0] [d00000000fc17e80] drm_ioctl+0x270/0x4e0 [drm]
[c0000011e81f3d40] [c000000000344108] do_vfs_ioctl+0xc8/0x8c0
[c0000011e81f3de0] [c0000000003449c4] SyS_ioctl+0xc4/0xe0
[c0000011e81f3e30] [c00000000000af84] system_call+0x38/0xe0
Instruction dump:
38210050 7f83e378 e8010010 eb81ffe0 eba1ffe8 ebc1fff0 ebe1fff8 7c0803a6
4e800020 0fe00000 3860ffea 4bffff94 <0fe00000> 3860ffea 4bffff88 60420000
---[ end trace 5158244f52496ab9 ]---
_exception: 47 callbacks suppressed


-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre



View attachment "alpine-4k-pagesize" of type "text/plain" (87956 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ