Bug 1217364

Summary: [Build 20231120-1][cve-2023-1829] tcindex01.c fails in kernel-default-base
Product: [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP5 Reporter: Martin Loviska <mloviska>
Component: KernelAssignee: Petr Vorel <petr.vorel>
Status: RESOLVED INVALID QA Contact:
Severity: Normal    
Priority: P5 - None CC: felix.niederwanger, jeos-internal, jpupava, meissner, petr.vorel
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.suse.de/tests/12851692/modules/cve-2023-1829/steps/7
See Also: https://bugzilla.suse.com/show_bug.cgi?id=1216647
https://bugzilla.suse.com/show_bug.cgi?id=1210335
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---
Attachments: journal

Description Martin Loviska 2023-11-21 12:05:49 UTC
Created attachment 870866 [details]
journal

## Observation

openQA test in scenario sle-15-SP5-JeOS-for-kvm-and-xen-Updates-x86_64-jeos-ltp-cve@uefi-virtio-vga fails in
[cve-2023-1829](https://openqa.suse.de/tests/12851692/modules/cve-2023-1829/steps/7)

JeOS ltp-cve test suite fails in sle15sp4,5 and sle12sp5 aggregates tests

```
tst_kconfig.c:87: TINFO: Parsing kernel config '/proc/config.gz'
tst_test.c:1690: TINFO: LTP version: 20230929
tst_test.c:1576: TINFO: Timeout per run is 0h 00m 30s
tcindex01.c:78: TBROK: Failed to create dummy device ltp_dummy1: EOPNOTSUPP
tcindex01.c:111: TWARN: Failed to remove netdevice ltp_dummy1: ENODEV

HINT: You _MAY_ be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8c710f75256b

HINT: You _MAY_ be vulnerable to CVE(s):

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1829

Summary:
passed   0
failed   0
broken   1
skipped  0
warnings 1
### TEST cve-2023-1829 COMPLETE >>> 6.
```

## Test suite description
After booting, setting up, patching and registering a system based
on an already existing SLES15-SP5 JeOS hard disk image for the KVM
and Xen hypervisors provided in the qcow2 format, multiple LTP
test cases for known CVEs are run in order to identify possible
regressions.
The tests are conducted on an x86_64 VM on a KVM hypervisor.
This scenario is defined by
https://gitlab.suse.de/qac/qac-openqa-yaml.



## Reproducible

Fails since (at least) Build [20231114-1](https://openqa.suse.de/tests/12812230)


## Expected result

Last good: [20231113-1](https://openqa.suse.de/tests/12806024) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=JeOS-for-kvm-and-xen-Updates&machine=uefi-virtio-vga&test=jeos-ltp-cve&version=15-SP5)
Comment 1 Petr Vorel 2023-12-07 08:09:00 UTC
I suppose it's a test failure. I need to backport this LTP commit into ltp-stable package, it should fix it.

https://github.com/linux-test-project/ltp/commit/e8894880f5b3308e507aebe2dc1a6dd2167ea5e4
Comment 3 Jozef Pupava 2023-12-11 08:11:06 UTC
Thank you Petr, test passed with your backport.
Comment 4 Jozef Pupava 2023-12-11 08:11:44 UTC
https://openqa.suse.de/tests/13016680
Comment 5 Petr Vorel 2023-12-14 10:08:59 UTC
FYI changing to invalid, because this was bug in the test.

Also, test is on Leap < SLE15-SP6 skipped (TCONF) instead of actual testing due missing dummy module, see https://bugzilla.suse.com/show_bug.cgi?id=1216647#c6