Re: [PATCH] EDAC/i82975x: Balance PCI ownership on probe and module exit
From: Borislav Petkov
Date: Tue Sep 15 2026 - 21:45:03 EST
On Mon, Sep 14, 2026 at 09:35:37PM -0400, Myeonghun Pak wrote:
> i82975x_init_one() leaves its PCI enable reference behind on failure
> and removal. Also, the fallback probe is never removed at module exit:
> i82975x_registered is initialized to one and never changed.
>
> Balance PCI enablement and track successful fallback initialization so
> module exit removes controllers that are not bound to the PCI driver.
> Only remember a normally probed device after successful initialization,
> and release the saved device reference on both normal and fallback exit.
>
> This issue was identified during our ongoing static-analysis research
> while reviewing kernel code.
>
> Fixes: 420390f06a5a ("drivers/edac: new i82975x driver")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: LLM
> Co-developed-by: Ijae Kim <ae878000@xxxxxxxxx>
> Signed-off-by: Ijae Kim <ae878000@xxxxxxxxx>
> Signed-off-by: Myeonghun Pak <mhun512@xxxxxxxxx>
> ---
> drivers/edac/i82975x_edac.c | 13 +++++++++----
> 1 file changed, 9 insertions(+), 4 deletions(-)
Arvind R., lemme know if you'd like to have an entry in CREDITS.
And if so, you can suggest one.
Thx.
From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>
Date: Tue, 15 Sep 2026 18:27:46 -0700
Subject: [PATCH] MAINTAINERS: Orphan drivers/edac/i82975x_edac.c
The driver has only been "carried forward" without any recent
maintainership interest or testing. Orphan it.
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index c2414447892c..d0c02c08b670 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9472,9 +9472,8 @@ S: Maintained
F: drivers/edac/i7core_edac.c
EDAC-I82975X
-M: "Arvind R." <arvino55@xxxxxxxxx>
L: linux-edac@xxxxxxxxxxxxxxx
-S: Maintained
+S: Orphan
F: drivers/edac/i82975x_edac.c
EDAC-IE31200
--
2.53.0
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette