[GIT PULL] EDAC fix for 5.4

From: Borislav Petkov
Date: Wed Oct 23 2019 - 03:30:52 EST


Hi Linus,

please pull,
thx.

---
The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git tags/edac_urgent_for_5.4

for you to fetch changes up to 1e72e673b9d102ff2e8333e74b3308d012ddf75b:

EDAC/ghes: Fix Use after free in ghes_edac remove path (2019-10-17 11:27:05 +0200)

----------------------------------------------------------------
Fix ghes_edac UAF case triggered by KASAN and DEBUG_TEST_DRIVER_REMOVE.

Future pending rework of the ghes_edac instances registration will do
away with the single memory controller per system model and that ugly
hackery there.

This is a minimal fix for stable@, courtesy of James Morse.

----------------------------------------------------------------
James Morse (1):
EDAC/ghes: Fix Use after free in ghes_edac remove path

drivers/edac/ghes_edac.c | 4 ++++
1 file changed, 4 insertions(+)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix ImendÃrffer, HRB 36809, AG NÃrnberg