[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

[PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Thomas Hellstrom
If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory and corrupt it. Typically this results in a h

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Greg KH
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-25 Thread Thomas Hellstrom
On 01/24/2012 03:47 PM, Daniel Vetter wrote: On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to dr

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Greg KH
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-25 Thread Thomas Hellstrom
On 01/24/2012 03:47 PM, Daniel Vetter wrote: On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to dr

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Greg KH
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-25 Thread Thomas Hellstrom
On 01/24/2012 03:47 PM, Daniel Vetter wrote: On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to dr

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Greg KH
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-25 Thread Thomas Hellstrom
On 01/24/2012 03:47 PM, Daniel Vetter wrote: On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to dr

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Greg KH
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-25 Thread Thomas Hellstrom
On 01/24/2012 03:47 PM, Daniel Vetter wrote: On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to dr

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-24 Thread Greg KH
On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: > If the master tries to authenticate a client using drm_authmagic and > that client has already closed its drm file descriptor, > either wilfully or because it was terminated, the > call to drm_authmagic will dereference a stale poi

Re: [PATCH] drm: Fix authentication kernel crash

2012-01-25 Thread Thomas Hellstrom
On 01/24/2012 03:47 PM, Daniel Vetter wrote: On Tue, Jan 24, 2012 at 10:31:46AM +0100, Thomas Hellstrom wrote: If the master tries to authenticate a client using drm_authmagic and that client has already closed its drm file descriptor, either wilfully or because it was terminated, the call to dr