[LU-5491] lnet_ioctl must verify userspace ioctl buffer Created: 15/Aug/14  Updated: 31/Jan/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: lnet

Severity: 3
Rank (Obsolete): 15325

 Description   

I was just inspecting some lnet patch and noticed that lnet_ioctl->LNetCtl do quite a few unchecked userspace acess.
It looks like doing the check that the ioctl data is valid in lnet_ioctl is the most easy way to fix this.


Generated at Sat Feb 10 01:51:56 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.