Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
The attribute passed to ll_setstripe_ea() is copied to a buffer allocated based on size information passed from userspace.
But the contents of this attribute are analyized and possibly changed (in ll_adjust_lum) before the size is validated.
This can result in a warning from KASAN, and could result in memory corruption.
The size should be validated before, or while, the attribute is examined.
Attachments
Issue Links
- is duplicated by
-
LU-13168 Client panic "Freechain corrupt"/"Redzone Overwritten"
- Resolved