Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646514 - =sys-kernel/hardened-sources-4.8.17-r2 - unloading the b43 kernel module is not correctly handled (kernel crash)
Summary: =sys-kernel/hardened-sources-4.8.17-r2 - unloading the b43 kernel module is n...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-03 20:45 UTC by sliwa
Modified: 2018-10-12 00:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from "emerge --info" (emeinfo.txt,4.69 KB, text/plain)
2018-02-03 20:45 UTC, sliwa
Details

Note You need to log in before you can comment on or make changes to this bug.
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.