]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'ras-urgent-2020-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 23 Feb 2020 02:02:10 +0000 (18:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 23 Feb 2020 02:02:10 +0000 (18:02 -0800)
commit51d380039f5aebd4ce8ca3b7fcab51569b7d7c94
treed6e196846eee6d731a787e4570c503ef46d1869a
parent4d826a61be13e57c46d34950d31230f591b53b2b
parentc6d9d161087f1c02fded3f9b4b82bc8e3a4babe9
Merge tag 'ras-urgent-2020-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull RAS fixes from Thomas Gleixner:
 "Two fixes for the AMD MCE driver:

   - Populate the per CPU MCA bank descriptor pointer only after it has
     been completely set up to prevent a use-after-free in case that one
     of the subsequent initialization step fails

   - Implement a proper release function for the sysfs entries of MCA
     threshold controls instead of freeing the memory right in the CPU
     teardown code, which leads to another use-after-free when the
     associated sysfs file is opened and accessed"

* tag 'ras-urgent-2020-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/mce/amd: Fix kobject lifetime
  x86/mce/amd: Publish the bank pointer only after setup has succeeded