Kernel Crash with module xt_TEE

Installing the xt_TEE module crashes my GL-MT2500.

System Info:

  • Hostname : GL-MT2500
  • Model : GL.iNet GL-MT2500
  • Architecture : ARMv8 Processor rev 4
  • OpenWrt Version : OpenWrt 21.02-SNAPSHOT r15812+885-46b6ee7ffc
  • Kernel Version : 5.4.211

Here’s the crash log trace:

<7>[ 1014.053051] CPU: 0 PID: 9953 Comm: insmod Not tainted 5.4.211 #0
<7>[ 1014.059040] Hardware name: GL.iNet GL-MT2500 (DT)
<7>[ 1014.063731] pstate: 80000005 (Nzcv daif -PAN -UAO)
<7>[ 1014.068513] pc : init_module+0x5e5354/0x5e5388 [xt_TEE]
<7>[ 1014.073726] lr : ops_init+0x3c/0x120
<7>[ 1014.077286] sp : ffffffc010bbbac0
<7>[ 1014.080586] x29: ffffffc010bbbac0 x28: 0000000000000003
<7>[ 1014.085883] x27: ffffffc0109c84d0 x26: ffffffc008d3f180
<7>[ 1014.091180] x25: ffffffc010bbbd60 x24: ffffffc010a0bbe8
<7>[ 1014.096477] x23: ffffffc010a0bbc0 x22: 0000000000000011
<7>[ 1014.101774] x21: ffffffc010a0bcc0 x20: ffffffc008d3f000
<7>[ 1014.107071] x19: ffffff8039ebcd00 x18: 0000000000000000
<7>[ 1014.112368] x17: 0000000000000000 x16: 0000000000000000
<7>[ 1014.117664] x15: ffffffffffffffff x14: ffffff803b102180
<7>[ 1014.122961] x13: ffffff803b7d2c00 x12: ffffff803b43f600
<7>[ 1014.128258] x11: ffffff803b4a1200 x10: ffffff803e089b00
<7>[ 1014.133555] x9 : ffffff803e19db00 x8 : ffffff803b741c80
<7>[ 1014.138853] x7 : ffffff803b2b6380 x6 : ffffff8003399788
<7>[ 1014.144149] x5 : 0000000000000040 x4 : 0000000000000008
<7>[ 1014.149445] x3 : 0000000000000008 x2 : 0000000000002710
<7>[ 1014.154743] x1 : 0000000000000011 x0 : 0000000000000000
<7>[ 1014.160039] Call trace:
<7>[ 1014.162476] init_module+0x5e5354/0x5e5388 [xt_TEE]
<7>[ 1014.167340] ops_init+0x3c/0x120
<7>[ 1014.170556] register_pernet_operations+0xdc/0x1e8
<7>[ 1014.175333] register_pernet_subsys+0x2c/0x48
<7>[ 1014.179677] init_module+0x20/0x1000 [xt_TEE]
<7>[ 1014.184020] do_one_initcall+0x74/0x1c8
<7>[ 1014.187845] do_init_module+0x40/0x1e0
<7>[ 1014.191580] load_module+0x1ac0/0x1d08
<7>[ 1014.195316] __do_sys_init_module+0x140/0x1d0
<7>[ 1014.199658] __arm64_sys_init_module+0x18/0x20
<7>[ 1014.204090] el0_svc_common.constprop.2+0x7c/0x110
<7>[ 1014.208867] el0_svc_handler+0x20/0x80
<7>[ 1014.212602] el0_svc+0x8/0x680
<0>[ 1014.215647] Code: d0000001 910003fd b9405821 f946d000 (f8615801)
<4>[ 1014.221726] —[ end trace cd843dd746b54957 ]—
<0>[ 1014.227211] Kernel panic - not syncing: Fatal exception
<2>[ 1014.232423] SMP: stopping secondary CPUs
<0>[ 1014.236332] Kernel Offset: disabled
<0>[ 1014.239809] CPU features: 0x00002,20002008
<0>[ 1014.243889] Memory Limit: none

May I ask what version your device is now?
Known issue: 4.5.16 cannot install kernel packages.
You can roll back the version, there will be a new test version released in a few days.

Thank you for the update. Here's the release information you requested:

  • Version4.5.16
  • Firmware Typerelease3
  • Compile TimeInvalid Date

Okay, confirming that your current version is faulty. You can roll back the version to install the xt_TEE module。