Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.12.0, Lustre 2.13.0, Lustre 2.12.2, Lustre 2.12.3, Lustre 2.14.0, Lustre 2.12.4, Lustre 2.12.5, Lustre 2.15.0, Lustre 2.15.3
-
3
-
9223372036854775807
Description
conf-sanity test_98 fails with 'Buffer overflow check failed' since October 26, 2018. So far, this test is only failing with this error for ARM architecture testing.
Looking at the logs of a recent failure, https://testing.whamcloud.com/test_sets/f2d62dae-fdef-11e8-b837-52540065bddc , the last lines of test output in the client test_log are
Started lustre-OST0000 mount lustre on /mnt/lustre..... Starting client: trevis-79vm11.trevis.whamcloud.com: -o user_xattr,flock trevis-24vm4@tcp:/lustre /mnt/lustre CMD: trevis-79vm11.trevis.whamcloud.com mkdir -p /mnt/lustre CMD: trevis-79vm11.trevis.whamcloud.com mount -t lustre -o user_xattr,flock trevis-24vm4@tcp:/lustre /mnt/lustre CMD: trevis-79vm11.trevis.whamcloud.com cp /etc/passwd /mnt/lustre/a CMD: trevis-79vm11.trevis.whamcloud.com rm /mnt/lustre/a CMD: trevis-79vm11.trevis.whamcloud.com grep /mnt/lustre' ' /proc/mounts > /dev/null setup single mount lustre success conf-sanity test_98: @@@@@@ FAIL: Buffer overflow check failed
The test is fairly simple
7230 test_98() 7231 { 7232 local mountopt 7233 local temp=$MDS_MOUNT_OPTS 7234 7235 setup 7236 check_mount || error "mount failed" 7237 mountopt="user_xattr" 7238 for ((x = 1; x <= 400; x++)); do 7239 mountopt="$mountopt,user_xattr" 7240 done 7241 remount_client $mountopt $MOUNT 2>&1 | grep "too long" || 7242 error "Buffer overflow check failed" 7243 cleanup || error "cleanup failed" 7244 } 7245 run_test 98 "Buffer-overflow check while parsing mount_opts"
In the console log of client 1 (vm11), we see the long mount option
[45496.444538] Lustre: DEBUG MARKER: mount -t lustre -o remount,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xattr,user_xat [45497.132159] Lustre: DEBUG MARKER: /usr/sbin/lctl mark conf-sanity test_98: @@@@@@ FAIL: Buffer overflow check failed
but there are no obvious errors in the console logs.
Logs for other failures are at
https://testing.whamcloud.com/test_sets/8ca4b49e-d9d0-11e8-b46b-52540065bddc
https://testing.whamcloud.com/test_sets/876f284e-df5f-11e8-a871-52540065bddc
https://testing.whamcloud.com/test_sets/e7d91f16-f7a9-11e8-86c0-52540065bddc
Attachments
Issue Links
- is related to
-
LU-10300 Can the Lustre 2.10.x clients support 64K kernel page?
- Resolved
- is related to
-
LU-7919 Buffer overflow in mount_lustre: parse_ldd(),append_option()
- Resolved
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...