Bug 1816765
| Summary: | kernel crash when loading mac80211_hwsim module | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vladimir Benes <vbenes> | ||||
| Component: | kernel | Assignee: | Davide Caratti <dcaratti> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 31 | CC: | airlied, bskeggs, dcaratti, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, masami256, mchehab, mjg59, steved | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.5.13-200.fc31 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-05-21 04:49:12 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Vladimir Benes
2020-03-24 16:53:14 UTC
(In reply to Vladimir Benes from comment #0) > 1. Please describe the problem: > there is a crash when loading mac80211_hwsim module: > [12750.707904] cfg80211: Loading compiled-in X.509 certificates for > regulatory database > [12750.716473] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' > [12750.783611] mac80211_hwsim: initializing netlink > [12750.789726] BUG: kernel NULL pointer dereference, address: > 0000000000000048 [...] > scratch build from > https://koji.fedoraproject.org/koji/taskinfo?taskID=42738694 seems to fix > the issue too and sorry for the worng bugzilla number in the build version. I rebuilt it as https://koji.fedoraproject.org/koji/taskinfo?taskID=42745543 . the fix consists in including the following two commits: commit 77036165d8bcf7c7b2a2df28a601ec2c52bb172d Author: Saravana Kannan <saravanak> Date: Fri Feb 21 00:05:10 2020 -0800 driver core: Skip unnecessary work when device doesn't have sync_state() A bunch of busy work is done for devices that don't have sync_state() support. Stop doing the busy work. Signed-off-by: Saravana Kannan <saravanak> Link: https://lore.kernel.org/r/20200221080510.197337-4-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh> commit ac338acf514e7b578fa9e3742ec2c292323b4c1a Author: Saravana Kannan <saravanak> Date: Fri Feb 21 00:05:09 2020 -0800 driver core: Add dev_has_sync_state() Add an API to check if a device has sync_state support in its driver or bus. Signed-off-by: Saravana Kannan <saravanak> Link: https://lore.kernel.org/r/20200221080510.197337-3-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh> Created attachment 1673199 [details]
backport for f31
requested a stable backport: https://lore.kernel.org/lkml/f22b7cd6fb6256f56e908e021f4fe389f3a6ee07.camel@redhat.com/ |