Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646514

Summary: =sys-kernel/hardened-sources-4.8.17-r2 - unloading the b43 kernel module is not correctly handled (kernel crash)
Product: Gentoo Linux Reporter: sliwa
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: normal CC: hardened, kernel, sliwa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output from "emerge --info"

Description sliwa 2018-02-03 20:45:23 UTC
Created attachment 517688 [details]
output from "emerge --info"

Unloading b43 (Broadcom wireless driver) results in a kernel crash (on hardened sources 4.8.17-hardened-r2). This happens on the last line of linux/drivers/net/wireless/broadcom/b43/main.c:b43_bcma_remove(), which is to kfree. I commented out this line, then there is no crash, but the device is not correctly deallocated (phy number as reported by iw is incremented on reloading the module).

BTW the overall satisfaction from using the driver is rather poor. At the moment, my wifi stopped working in the 2.4 GHz range completely (maybe a hardware problem). And I do not have bluetooth firmware loaded, if that matters.