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>] [day] [month] [year] [list]
Date:	Wed, 5 Feb 2014 11:35:31 -0600
From:	Ahmed Tamrawi <ahmedtamrawi@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: mutex_unlock is missed in function (drm_crtc_init) in file (linux-3.13/drivers/gpu/drm/drm_crtc.c)

Bug Report Filed: https://bugzilla.kernel.org/show_bug.cgi?id=70081
Linux Version [3.13]
Configuration: Default configuration for x86

In function (drm_crtc_init) in file (linux-3.13/drivers/gpu/drm/drm_crtc.c):

The structure (crtc->mutex) gets successfully locked at line (636) by
(drm_modeset_lock_all(dev)), but it is not unlocked before line (637)
where the structure is reinitialized. After line (637) the
re-initialized structure gets locked at (638) and unlocked at line
(650) by (drm_modeset_unlock_all(dev)).

A possible solution is to call (drm_modeset_unlock_all(dev)) before
the re-initialization line (637).


Thanks,
Ahmed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ