Redpine: Driver crash with network-manager 1.10 and above
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
SRU Justification:
------------------
Impact:
-------
Kernel crash upon inserting Redpine driver
Test case:
----------
1) Install network-manager v(1.10) snap.
2) Insert Redpine modules.
3) Observe the behavior.
Result:
-------
Redpine driver crashes the entire kernel and below is the crash log.
... skipping ...
[ 49.130185] BUG: unable to handle kernel NULL pointer dereference at 0000000000000134
[ 49.138969] IP: [<ffffffffc0517
[ 49.244030] CPU: 0 PID: 31 Comm: kworker/u4:1 Not tainted 4.4.0-139-generic #165-Ubuntu
[ 49.252988] Hardware name: Dell Inc. Edge Gateway 3001/, BIOS 01.00.00 04/17/2017
[ 49.261374] Workqueue: rsi_scan_worker rsi_scan_start [ven_rsi_91x]
[ 49.268385] task: ffff880078538cc0 ti: ffff8800785e4000 task.ti: ffff8800785e4000
[ 49.276765] rsi_prepare_
[ 49.387307] [<ffffffffc0516
[ 49.395784] [<ffffffffc0516
[ 49.403486] [<ffffffff81853
[ 49.409633] [<ffffffff8109e
[ 49.416164] [<ffffffff8109f
[ 49.422306] [<ffffffff8109f
[ 49.429032] [<ffffffff810a5
[ 49.434589] [<ffffffff81853
[ 49.440731] [<ffffffff810a5
[ 49.448042] [<ffffffff81857
[ 49.454086] [<ffffffff810a5
Root cause analysis:
-------
In nm-1.10 and above versions, MAC spoof is enabled by default. In Redpine
driver, this handling is missed. Hence, Added the fix for the same.
Fix:
----
Copied the Custom MAC address into driver global structure.
Regression Petential:
-------
This is a very direct issue Since the driver is crashing upon inserting the
modules. we ran the multiple times insertion and deletion of modules and connected
to third-party AP, did data transfer.
CVE References
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1813869
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.