Public bug reported:
== Summary ==
falcosecurity-scap-dkms 0.23.2-5ubuntu1 fails to build the scap kernel module
on arm64 against Linux 7.3 headers (7.3.0-1004-aws, and the build for
7.3.0-11-generic is attempted in the same run). The setup step of
ubuntu_sysdig_smoke_test therefore fails when installing sysdig and
falcosecurity-scap-dkms.
The same failure occurs on s390x (7.3.0-10-generic headers, openstack
s390x-vm). The same package version builds fine on amd64 and ppc64el
with the same kernel version (7.3.0-11.12).
== Cause ==
Linux 7.3 removed the task_euid() helper. driver/ppm_fillers.c still uses it in
f_sched_prog_fork():
ppm_fillers.c:7906:25: error: implicit declaration of function 'task_euid';
did you mean 'task_uid'? [-Wimplicit-function-declaration]
7906 | uint32_t euid = task_euid(child).val;
ppm_fillers.c:7906:41: error: request for member 'val' in something not a
structure or union
This filler is only enabled on arm64, s390x, riscv64 and loongarch in
the kernel module, which is why amd64 and ppc64el (both built
successfully for 7.3.0-10 and 7.3.0-11) are not affected. riscv64 and
loongarch were not tested here.
== Upstream fix ==
Fixed upstream in falcosecurity/libs PR #3091 (commit 9a2835a, "fix(driver):
replace removed task_euid helper"), merged to master on 2026-09-07. It replaces
task_euid(child) with task_cred_xxx(child, euid):
- uint32_t euid = from_kuid(&init_user_ns, task_euid(child));
+ uint32_t euid = from_kuid(&init_user_ns, task_cred_xxx(child, euid));
Note: 0.23.2 uses "task_euid(child).val" rather than the from_kuid()
form in master, so the patch needs to be adapted for 0.23.2. The Ubuntu
package currently carries no patch for this (debian/patches only has the
two s390x related patches).
== Test Information ==
* SRU Cycle: 2026.11.09
* Series: stonking
* Package: linux (generic / aws)
* Kernel Version: 7.3.0-11.12
* Arch: arm64, s390x (amd64 and ppc64el not affected)
* Cloud / Target: aws (c6g.8xlarge) for arm64; openstack (s390x-vm) for s390x
* Test Suite: ubuntu_sysdig_smoke_test
* Test Case: setup
* Failing package: falcosecurity-scap-dkms 0.23.2-5ubuntu1 (source:
falcosecurity-libs)
== Failure Log ==
Command: env DEBIAN_FRONTEND=noninteractive apt-get install --yes --force-yes
sysdig falcosecurity-scap-dkms
Setting up falcosecurity-scap-dkms (0.23.2-5ubuntu1) ...
Building for 7.3.0-1004-aws and 7.3.0-11-generic
Building initial module scap/0.23.2 for 7.3.0-1004-aws
Building module(s)........(bad exit status: 2)
Failed command:
make -j32 KERNELRELEASE=7.3.0-1004-aws -C /lib/modules/7.3.0-1004-aws/build
M=/var/lib/dkms/scap/0.23.2/build
Error! Bad return status for module build on kernel: 7.3.0-1004-aws (aarch64)
dpkg: error processing package falcosecurity-scap-dkms (--configure):
old falcosecurity-scap-dkms package postinst maintainer script subprocess
failed with exit status 10
E: Sub-process /usr/bin/dpkg returned an error code (1)
CC [M] ppm_fillers.o
ppm_fillers.c: In function 'f_sched_prog_fork':
ppm_fillers.c:7906:25: error: implicit declaration of function 'task_euid'; did
you mean 'task_uid'? [-Wimplicit-function-declaration]
7906 | uint32_t euid = task_euid(child).val;
ppm_fillers.c:7906:41: error: request for member 'val' in something not a
structure or union
make[3]: *** [/usr/src/linux-headers-7.3.0-1004-aws/scripts/Makefile.build:290:
ppm_fillers.o] Error 1
make[2]: *** [/usr/src/linux-headers-7.3.0-1004-aws/Makefile:2234: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2
== Failure Log (s390x) ==
Building initial module scap/0.23.2 for 7.3.0-10-generic
Building module(s)......(bad exit status: 2)
Error! Bad return status for module build on kernel: 7.3.0-10-generic (s390x)
ppm_fillers.c:7906:25: error: implicit declaration of function 'task_euid'; did
you mean 'task_uid'? [-Wimplicit-function-declaration]
7906 | uint32_t euid = task_euid(child).val;
ppm_fillers.c:7906:41: error: request for member 'val' in something not a
structure or union
make[3]: ***
[/usr/src/linux-headers-7.3.0-10-generic/scripts/Makefile.build:290:
ppm_fillers.o] Error 1
Note: the "_TIF_31BIT undeclared" error in configure/COMPAT_S390/test.c
is only a configure-time probe and is not the cause of the build
failure.
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Affects: falcosecurity-libs (Ubuntu)
Importance: Undecided
Status: New
** Tags: 7.3 arm64 aws openstack s390x sru-20261109 stonking
ubuntu-sysdig-smoke-test
** Also affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174045
Title:
falcosecurity-scap-dkms 0.23.2-5ubuntu1 fails to build on Stonking
arm64 and s390x (implicit declaration of function 'task_euid')
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2174045/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs