[LU-945] Unverified user buffer access in lprocfs_wr_evict_client Created: 20/Dec/11  Updated: 29/May/17  Resolved: 29/May/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0, Lustre 2.2.0, Lustre 1.8.6
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-2222 Restore Evict by NID Functionality on... Resolved
Related
is related to LU-985 buffer overflow resulting in stack co... Resolved
Severity: 3
Rank (Obsolete): 10754

 Description   

The lprocfs_wr_evict_client accessed unverified user buffer which is a big no-no.

We should verify that the buffer is ok (atomically with copying) and also make sure the provided string length is big enough.


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