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:   Thu, 22 Jun 2017 00:31:35 +0100
From:   Chris Wilson <chris@...is-wilson.co.uk>
To:     Tejun Heo <tj@...nel.org>, "David Airlie" <airlied@...ux.ie>
Cc:     "linuxppc-dev" <linuxppc-dev@...ts.ozlabs.org>,
        "linux-kernel" <linux-kernel@...r.kernel.org>,
        linux-next@...r.kernel.org, "sachinp" <sachinp@...ux.vnet.ibm.com>,
        "Stephen Rothwell" <sfr@...b.auug.org.au>,
        "Abdul Haleem" <abdhalee@...ux.vnet.ibm.com>
Subject: Re: [next-20170609] WARNING: CPU: 3 PID: 71167 at lib/idr.c:157 idr_replace

Quoting Tejun Heo (2017-06-13 14:58:49)
> Cc'ing David Airlie.
> 
> This is from drm driver calling in idr_replace() w/ a negative id.
> Probably a silly bug in error handling path?

No, this is the validation of an invalid userspace handle. The drm ABI
for handles is supposed to be a full u32 range with 0 reserved for an
invalid handle (constrained by the idr_alloc ofc). The WARN was
introduced by 0a835c4f090a.
-Chris

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ