Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 140f5055 authored by Dundi Raviteja's avatar Dundi Raviteja
Browse files

wlan: Avoid accessing user space memory

In __iw_ftm_set_var_ints_getnone(), sub_cmd values are
reading using iwreq_data structure, but this uses
user space address which can't be accessed by kernel.

To address this, use kernel pointer "extra" to read
sub_cmd values where user space data is copied using
"copy_from_user()" API.

Change-Id: Ia2aa3c9c0ed84236f60d48408b2d23ed5da7a9ad
CRs-Fixed: 3122567
parent f3e0c6d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment