sysdig-dkms fails to build on arm64 - kernel 5.13
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysdig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
sysdig-dkms fails to build on arm64 with the latest impish kernel (5.13):
/var/lib/
1942 | table_index = id - SYSCALL_TABLE_ID0;
| ^~~~~~~~~~~~~~~~~
| SYSCALL_TABLE_SIZE
/var/lib/
/var/lib/
/var/lib/
2019 | table_index = id - SYSCALL_TABLE_ID0;
| ^~~~~~~~~~~~~~~~~
| SYSCALL_TABLE_SIZE
[Test case]
$ sudo apt install sysdig-dkms
[Fix]
SYSCALL_TABLE_ID0 needs to be properly defined for arm64.
[Where problems could occur]
If the syscall table base ID changes on arm64 we may experience kernel panics due to memory access violations or sysdig may report incorrect result.
tags: | added: patch |
Changed in linux-oem-5.6 (Ubuntu Impish): | |
status: | New → Fix Committed |
sysdig (0.27.1-0.2ubuntu1) impish; urgency=medium
* Fix syscall table base ID on arm64 (LP: #1945757)
-- Andrea Righi <email address hidden> Fri, 01 Oct 2021 11:20:07 +0200