[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: |
|
||||||||||||||||
| 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. |