landlock07 from ubuntu_ltp_syscalls failed on Noble

Bug #2083185 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

This is a new test case added on Aug. 22
https://github.com/linux-test-project/ltp/commit/dc8e343ec1a57485e29a28beb82b50667d6147de

And we got our fork updated recently in order to cover Oracular.
So this is not a regression.

Test failed with:
  landlock07.c:66: TFAIL: open("/dev/null", O_WRONLY) invalid retval 4: SUCCESS (0)

Test log:
 INFO: Test start time: Sat Sep 28 01:13:47 UTC 2024
 COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 131150 -n 131150 -f /tmp/ltp-B0ZEyLPPVi/alltests -l /dev/null -C /dev/null -T /dev/null
 LOG File: /dev/null
 FAILED COMMAND File: /dev/null
 TCONF COMMAND File: /dev/null
 Running tests.......
 tst_buffers.c:57: TINFO: Test is using guarded buffers
 tst_test.c:1860: TINFO: LTP version: 20240524
 tst_test.c:1864: TINFO: Tested kernel: 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64
 tst_test.c:1703: TINFO: Timeout per run is 0h 00m 30s
 landlock_common.h:31: TINFO: Landlock ABI v4
 landlock07.c:57: TPASS: open("/dev/null", O_WRONLY) : EACCES (13)
 landlock07.c:66: TFAIL: open("/dev/null", O_WRONLY) invalid retval 4: SUCCESS (0)

 HINT: You _MAY_ be missing kernel fixes:

 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39705a6c29f8

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

 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-42318

 Summary:
 passed 1
 failed 1
 broken 0
 skipped 0
 warnings 0

CVE References

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.