Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after load module e remove module xt_tls in centos 7 / 8 esxi 6.7 #63

Open
krumsoftov opened this issue Mar 20, 2024 · 1 comment

Comments

@krumsoftov
Copy link

After compiling and loading the module, everything works normally. After restarting, the module no longer works.

[ 82.079053] ------------[ cut here ]------------
[ 82.079074] proc_dir_entry 'net/xt_tls' already registered
[ 82.079100] WARNING: CPU: 2 PID: 1440 at fs/proc/generic.c:360 proc_register+0xf9/0x130
[ 82.079125] Modules linked in: xt_tls(OE+) nft_counter nft_compat nf_tables libcrc32c nfnetlink intel_rapl_msr intel_rapl_common sb_edac crct10dif_pclmul crc32_pclmul pcspkr vmwgfx ghash_clmulni_intel rapl joydev vmw_balloon ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm vmw_vmci i2c_piix4 ip_tables ext4 mbcache jbd2 sr_mod cdrom ata_generic sd_mod t10_pi sg ahci crc32c_intel serio_raw libahci ata_piix vmxnet3 libata vmw_pvscsi [last unloaded: xt_tls]
[ 82.079252] CPU: 2 PID: 1440 Comm: modprobe Kdump: loaded Tainted: G OE --------- - - 4.18.0-348.7.1.el8_5.x86_64 #1
[ 82.079286] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[ 82.079318] RIP: 0010:proc_register+0xf9/0x130
[ 82.079333] Code: c6 05 62 c2 d8 01 00 48 89 d8 5b 5d 41 5c 41 5d 41 5e c3 49 8b b4 24 a0 00 00 00 4c 89 f2 48 c7 c7 80 9d af b6 e8 20 20 d3 ff <0f> 0b c6 05 36 c2 d8 01 00 8b 43 5c 48 c7 c7 a0 7c 11 b7 8d b0 00
[ 82.079386] RSP: 0018:ffffaf5ec16d7bd0 EFLAGS: 00010286
[ 82.079403] RAX: 0000000000000000 RBX: ffff97a807bc7300 RCX: 0000000000000007
[ 82.079425] RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff97a937d16850
[ 82.079446] RBP: ffff97a825abcf88 R08: 0000000000000534 R09: 0000000000aaaaaa
[ 82.079468] R10: 0000000000000000 R11: ffffaf5ec29df020 R12: ffff97a801366c00
[ 82.079489] R13: ffff97a801366c80 R14: ffff97a807bc73ab R15: 0000000000000000
[ 82.079524] FS: 00007f68fc3f3740(0000) GS:ffff97a937d00000(0000) knlGS:0000000000000000
[ 82.079549] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 82.079567] CR2: 00007f68fb3a38c0 CR3: 0000000104314004 CR4: 00000000001706e0
[ 82.079619] Call Trace:
[ 82.079634] proc_mkdir_data+0x5d/0x80
[ 82.079649] tls_net_init+0x18/0x50 [xt_tls]
[ 82.079666] ops_init+0x3a/0x100
[ 82.079680] register_pernet_operations+0x114/0x210
[ 82.079697] ? 0xffffffffc06b2000
[ 82.079710] register_pernet_subsys+0x24/0x40
[ 82.079726] tls_mt_init+0x2d/0x1000 [xt_tls]
[ 82.079743] do_one_initcall+0x46/0x1d0
[ 82.079757] ? do_init_module+0x22/0x220
[ 82.079774] ? kmem_cache_alloc_trace+0x131/0x270
[ 82.079803] do_init_module+0x5a/0x220
[ 82.079816] load_module+0x14c5/0x17f0
[ 82.079831] ? __do_sys_finit_module+0xa8/0x110
[ 82.079846] __do_sys_finit_module+0xa8/0x110
[ 82.079862] do_syscall_64+0x5b/0x1a0
[ 82.080655] entry_SYSCALL_64_after_hwframe+0x65/0xca
[ 82.081420] RIP: 0033:0x7f68fb3c952d
[ 82.082183] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2b 79 2c 00 f7 d8 64 89 01 48
[ 82.083770] RSP: 002b:00007ffcb494de98 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 82.084555] RAX: ffffffffffffffda RBX: 0000563f72723db0 RCX: 00007f68fb3c952d
[ 82.085364] RDX: 0000000000000000 RSI: 0000563f707897b6 RDI: 0000000000000003
[ 82.086149] RBP: 0000563f707897b6 R08: 0000000000000000 R09: 0000563f72725770
[ 82.086947] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
[ 82.087752] R13: 0000563f72723e30 R14: 0000000000040000 R15: 0000000000000000
[ 82.088582] ---[ end trace f5888c69076e38ca ]---

@krumsoftov
Copy link
Author

@Lochnair I tested all versions of Centos 7 to 8 AND all versions of Redhat 7 to 8, all same Bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant