creat09 in ubuntu_ltp_syscalls, cve-2018-13405 in ubuntu_ltp_cves failed on XFS (Setgid bit is set)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
When testing the LTP update (LTP 20230516, commit 3ebc2dfa85c) on Oracle cloud.
The creat09 test is now failing on XFS with J-oracle 5.15.0-1037.43:
tst_test.c:1634: TINFO: === Testing on xfs ===
tst_test.c:1093: TINFO: Formatting /dev/loop5 with xfs opts='' extra opts=''
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:110: TFAIL: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:110: TFAIL: mntpoint/
Complete test log:
12:31:41 INFO | START ubuntu_
12:31:41 DEBUG| Persistent state client.
12:31:41 DEBUG| Persistent state client.
12:31:41 DEBUG| Waiting for pid 54905 for 900 seconds
12:31:41 WARNI| System python is too old, crash handling disabled
12:31:42 ERROR| Exception escaping from test:
Traceback (most recent call last):
File "/home/
_call_
File "/home/
return func(*args, **dargs)
File "/home/
postprocess
File "/home/
self.
File "/home/
print(
File "/home/
verbose=
File "/home/
"Command returned non-zero exit status")
CmdError: Command failed, rc=1, Command returned non-zero exit status
* Command:
/opt/ltp/runltp -f /tmp/target -q -C /dev/null -l /dev/null -T /dev/null
Exit status: 1
Duration: 0.963459014893
stdout:
Checking for required user/group ids
'root' user id and group found.
'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
INFO: Test start time: Mon Jun 12 12:31:41 UTC 2023
COMMAND: /opt/ltp/
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
tst_device.c:96: TINFO: Found free device 5 '/dev/loop5'
tst_test.c:1558: TINFO: Timeout per run is 0h 00m 30s
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_test.c:1634: TINFO: === Testing on ext2 ===
tst_test.c:1093: TINFO: Formatting /dev/loop5 with ext2 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
tst_test.c:1634: TINFO: === Testing on ext3 ===
tst_test.c:1093: TINFO: Formatting /dev/loop5 with ext3 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
tst_test.c:1634: TINFO: === Testing on ext4 ===
tst_test.c:1093: TINFO: Formatting /dev/loop5 with ext4 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
tst_test.c:1634: TINFO: === Testing on xfs ===
tst_test.c:1093: TINFO: Formatting /dev/loop5 with xfs opts='' extra opts=''
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:110: TFAIL: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:110: TFAIL: mntpoint/
tst_test.c:1634: TINFO: === Testing on btrfs ===
tst_test.c:1093: TINFO: Formatting /dev/loop5 with btrfs opts='' extra opts=''
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
tst_test.c:1634: TINFO: === Testing on tmpfs ===
tst_test.c:1093: TINFO: Skipping mkfs for TMPFS filesystem
tst_test.c:1074: TINFO: Limiting tmpfs size to 32MB
creat09.c:73: TINFO: User nobody: uid = 65534, gid = 65534
creat09.c:75: TINFO: Found unused GID 11: SUCCESS (0)
creat09.c:120: TINFO: File created with umask(0)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:120: TINFO: File created with umask(S_IXGRP)
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
creat09.c:106: TPASS: mntpoint/
creat09.c:112: TPASS: mntpoint/
HINT: You _MAY_ be missing kernel fixes:
https:/
https:/
https:/
https:/
HINT: You _MAY_ be vulnerable to CVE(s):
https:/
https:/
Summary:
passed 46
failed 2
broken 0
skipped 0
warnings 0
INFO: ltp-pan reported some tests FAIL
LTP Version: 20230516
INFO: Test end time: Mon Jun 12 12:31:42 UTC 2023
summary: |
- creat09 in ubuntu_ltp_syscalls failed with J-oracle on XFS + creat09 in ubuntu_ltp_syscalls failed with J-oracle on XFS (Setgid bit + is set) |
This is affecting k-oracle as well.