]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
authorThomas Gleixner <tglx@linutronix.de>
Thu, 2 Nov 2017 12:30:03 +0000 (13:30 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Sat, 6 Jan 2018 12:22:58 +0000 (13:22 +0100)
commitadb64d8c852206281ea6ee6590ae35076a219409
tree2045c034e0a4a2ced733c6dbbf7bac3c6296d068
parent3e511952bc3ff9b233d418b0a75a8331deb08171
bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")

CVE-2017-5754

These ops are not endian safe and may break on architectures which have
aligment requirements.

Reverts: cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@linux.intel.com>
(cherry picked from commit 1943dc07b45e347c52c1bfdd4a37e04a86e399aa)
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
include/linux/bitops.h