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: <51FF5FC9.8080302@huawei.com>
Date:	Mon, 5 Aug 2013 16:18:17 +0800
From:	Li Zefan <lizefan@...wei.com>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC:	Ingo Molnar <mingo@...nel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	LKML <linux-kernel@...r.kernel.org>,
	stable <stable@...r.kernel.org>
Subject: stable: please queue commit 0231bb5 ("perf: Fix event group context
 move")

Plese consider adding commit 0231bb5336758426b44ccd798ccd3c5419c95d58
to stable tree. It fixes a real bug, which was explained here:

	http://thread.gmane.org/gmane.linux.kernel.perf.user/1144

and I've managed to reproduce the bug in 3.4 kernel with the test
program attached in the above email, and I've confirmed the bug fix.

The effect of the bug is, if we open a group of mixed events(sw/hw)
and the "disabled" flag is not set and sw events come first, then
some of the perf events won't be started after the call to perf_event_open().

The bug fix should be applicable to kernels >= 3.0 && <= 3.7.

--
Li Zefan
--
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