** Description changed: - The falcosecurity-scap-dkms module required for ubuntu_sysdig_smoke_test - has failed to build on Questing s390x with the following error message: + [ Impact ] + + * This SRU contains a fix for the `falcosecurity-scap-dkms` module, + which fails to build on s390x architectures on resolute and questing. + This module is a core component used for system diagnostics and + internal smoke testing. + + * A recent change in the kernel replaced the pgprot_val() macro with an + inline function on the s390x architecture only, which prevents use as + an lvalue: + https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bb2598c0d31bca8e57662b7d203e1876cd7f455f + The upstream for scap hadn't yet dealt with this. A bug was opened here: + https://github.com/falcosecurity/libs/issues/2936 + which lead to this fix: + https://github.com/falcosecurity/libs/pull/2943 + This SRU backports this fix. + + [ Test Plan ] + + * On an s390x machine running questing (or resolute), run + `sudo apt update && sudo apt install falcosecurity-scap-dkms`. + The installation will fail when attempting to build the module. + The console and log file at /var/lib/dkms/scap/0.20.0/build/make.log + reports errors about 'lvalue required as left operand of assignment'. + + * A kernel test already exists that relies on this package + (`ubuntu_sysdig_smoke_test`), so the fix should also cause this test to + pass (or at least fail later). + + [ Where problems could occur ] + + * The bug affects only the s390x architecture, but the fix from upstream + applies globally across all architectures. In spite of this, we consider + the risk low: The fix itself is localized, and better aligns upstream + with official kernel documentation (the previous implementation relied on + an assumption). Upstream CI also already tests against several + architectures. + + * If a regression were to occur, it would most likely appear as a compile + error, in a similar vein to the original issue. + + [ Other Info ] + + * This is my first SRU patch, so it's possible something is incorrect or + missing. Please let me know if so. + + + Original problem description follows: + ---------------------------------------------------------------- + The falcosecurity-scap-dkms module required for ubuntu_sysdig_smoke_test has failed to build on Questing s390x with the following error message: DKMS (dkms-3.2.0) make.log for scap/0.20.0 for kernel 6.17.0-8-generic (s390x) Wed Jan 14 04:18:06 UTC 2026 Building module(s) # command: make -j2 KERNELRELEASE=6.17.0-8-generic -C /lib/modules/6.17.0-8-generic/build M=/var/lib/dkms/scap/0.20.0/build make: Entering directory '/usr/src/linux-headers-6.17.0-8-generic' make[1]: Entering directory '/var/lib/dkms/scap/0.20.0/build' warning: the compiler differs from the one used to build the kernel The kernel was built by: s390x-linux-gnu-gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0 You are using: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0 [configure-kmod] Including /var/lib/dkms/scap/0.20.0/build//configure/ACCESS_OK_2/Makefile.inc /var/lib/dkms/scap/0.20.0/build//configure/DEVNODE_ARG1_CONST/Makefile.inc /var/lib/dkms/scap/0.20.0/build//configure/CLASS_CREATE_1/Makefile.inc [configure-kmod] Setting HAS_ACCESS_OK_2 flag [configure-kmod] Setting HAS_DEVNODE_ARG1_CONST flag [configure-kmod] Setting HAS_CLASS_CREATE_1 flag CC [M] main.o CC [M] dynamic_params_table.o CC [M] fillers_table.o CC [M] flags_table.o CC [M] ppm_events.o main.c: In function ‘ppm_mmap’: main.c:1244:55: error: lvalue required as left operand of assignment 1244 | pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; | ^ main.c:1282:63: error: lvalue required as left operand of assignment 1282 | pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; | ^ main.c:1305:63: error: lvalue required as left operand of assignment 1305 | pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; | ^ make[3]: *** [/usr/src/linux-headers-6.17.0-8-generic/scripts/Makefile.build:287: main.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/usr/src/linux-headers-6.17.0-8-generic/Makefile:2016: .] Error 2 make[1]: *** [/usr/src/linux-headers-6.17.0-8-generic/Makefile:248: __sub-make] Error 2 make[1]: Leaving directory '/var/lib/dkms/scap/0.20.0/build' make: *** [Makefile:248: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-6.17.0-8-generic' # exit code: 2 # elapsed time: 00:00:05 ----------------------------------------------------------------
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2138348 Title: falcosecurity-scap-dkms for ubuntu_sysdig_smoke_test failed to build on Questing s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2138348/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
