Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.5.0
-
3
-
10930
Description
This is a minor issue since it requires root to exploit.
# echo 0 | tee /proc/fs/lustre/llite/*/xattr_cache 0 # getfattr -n trusted.version /mnt/lustre Message from syslogd@t at Oct 7 09:28:05 ... kernel:LustreError: 10513:0:(osd_handler.c:2741:osd_xattr_get()) ASSERTION( buf->lb_len == sizeof(dt_obj_version_t) ) failed: Message from syslogd@t at Oct 7 09:28:05 ... kernel:LustreError: 10513:0:(osd_handler.c:2741:osd_xattr_get()) LBUG
The special case for XATTR_NAME_VERSION should provide the usual "if buf is NULL then return size..." behavior.