Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 18 Nov 2018 00:18:52 +0000
From: Paweł Krawczyk <pawel.krawczyk@...h.com>
To: lkrg-users@...ts.openwall.com
Subject: KMOD HASH kzalloc() error

Just tried 0.5 on Ubuntu 18.10:

Linux pax 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux

gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)

Got the following (this was with 0.5 from tar.gz, then tried from
BitBucket and insmod just hanged, unable to kill):

Nov 18 00:04:36 pax kernel: [441202.883159] [p_lkrg] KMOD HASH kzalloc()
error! Can't allocate memory for module list ;[
Nov 18 00:04:36 pax kernel: [441202.883161] [p_lkrg] KMOD HASH error!
Can't allocate memory during dumping modules from module list ;[
Nov 18 00:04:36 pax kernel: [441202.883244] insmod: page allocation
failure: order:8, mode:0x48c020(GFP_ATOMIC|__GFP_COMP|__GFP_ZERO),
nodemask=(null)
Nov 18 00:04:36 pax kernel: [441202.883245] insmod cpuset=/ mems_allowed=0
Nov 18 00:04:36 pax kernel: [441202.883248] CPU: 0 PID: 14824 Comm:
insmod Tainted: G        W  OE     4.18.0-11-generic #12-Ubuntu
Nov 18 00:04:36 pax kernel: [441202.883249] Hardware name: ASUSTeK
COMPUTER INC. UX303UA/UX303UA, BIOS UX303UA.300 07/01/2016
Nov 18 00:04:36 pax kernel: [441202.883250] Call Trace:
Nov 18 00:04:36 pax kernel: [441202.883252]  dump_stack+0x63/0x83
Nov 18 00:04:36 pax kernel: [441202.883255]  warn_alloc.cold.115+0x69/0xfc
Nov 18 00:04:36 pax kernel: [441202.883257] 
__alloc_pages_slowpath+0xd98/0xde0
Nov 18 00:04:36 pax kernel: [441202.883260]  ? sprintf+0x56/0x70
Nov 18 00:04:36 pax kernel: [441202.883262] 
__alloc_pages_nodemask+0x263/0x280
Nov 18 00:04:36 pax kernel: [441202.883264]  alloc_pages_current+0x81/0xe0
Nov 18 00:04:36 pax kernel: [441202.883267]  kmalloc_order+0x18/0x40
Nov 18 00:04:36 pax kernel: [441202.883269]  kmalloc_order_trace+0x24/0xb0
Nov 18 00:04:36 pax kernel: [441202.883270]  ? alloc_pages_current+0x81/0xe0
Nov 18 00:04:36 pax kernel: [441202.883272]  __kmalloc+0x218/0x230
Nov 18 00:04:36 pax kernel: [441202.883274]  ? kmalloc_order_trace+0x24/0xb0
Nov 18 00:04:36 pax kernel: [441202.883279] 
p_list_from_module_list+0x5a/0x350 [p_lkrg]
Nov 18 00:04:36 pax kernel: [441202.883284]  ?
p_count_modules_from_sysfs_kobj+0xa0/0x110 [p_lkrg]
Nov 18 00:04:36 pax kernel: [441202.883289]  p_kmod_hash+0x305/0x440
[p_lkrg]
Nov 18 00:04:36 pax kernel: [441202.883294] 
p_create_database+0x1bd/0x2b0 [p_lkrg]
Nov 18 00:04:36 pax kernel: [441202.883295]  ? 0xffffffffc1292000
Nov 18 00:04:36 pax kernel: [441202.883300]  p_lkrg_register+0xee/0x1000
[p_lkrg]
Nov 18 00:04:36 pax kernel: [441202.883302]  do_one_initcall+0x4a/0x1c4
Nov 18 00:04:36 pax kernel: [441202.883305]  ? _cond_resched+0x19/0x30
Nov 18 00:04:36 pax kernel: [441202.883306]  ?
kmem_cache_alloc_trace+0x165/0x1d0
Nov 18 00:04:36 pax kernel: [441202.883308]  ? do_init_module+0x27/0x220
Nov 18 00:04:36 pax kernel: [441202.883310]  do_init_module+0x60/0x220
Nov 18 00:04:36 pax kernel: [441202.883311]  load_module+0x151d/0x18c0
Nov 18 00:04:36 pax kernel: [441202.883314] 
__do_sys_finit_module+0xc2/0x120
Nov 18 00:04:36 pax kernel: [441202.883316]  ?
__do_sys_finit_module+0xc2/0x120
Nov 18 00:04:36 pax kernel: [441202.883318] 
__x64_sys_finit_module+0x1a/0x20
Nov 18 00:04:36 pax kernel: [441202.883320]  do_syscall_64+0x5a/0x110
Nov 18 00:04:36 pax kernel: [441202.883321] 
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Nov 18 00:04:36 pax kernel: [441202.883322] RIP: 0033:0x7f61910fb219
Nov 18 00:04:36 pax kernel: [441202.883323] Code: 00 c3 66 2e 0f 1f 84
00 00 00 00 00 0f 1f 44 00 00 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
47 fc 0c 00 f7 d8 64 89 01 48
Nov 18 00:04:36 pax kernel: [441202.883349] RSP: 002b:00007ffc7814a698
EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Nov 18 00:04:36 pax kernel: [441202.883351] RAX: ffffffffffffffda RBX:
00005602c98017a0 RCX: 00007f61910fb219
Nov 18 00:04:36 pax kernel: [441202.883352] RDX: 0000000000000000 RSI:
00005602c9801260 RDI: 0000000000000003
Nov 18 00:04:36 pax kernel: [441202.883352] RBP: 00005602c9801260 R08:
0000000000000000 R09: 0000000000000000
Nov 18 00:04:36 pax kernel: [441202.883353] R10: 0000000000000003 R11:
0000000000000246 R12: 0000000000000000
Nov 18 00:04:36 pax kernel: [441202.883354] R13: 00005602c9803df0 R14:
0000000000000000 R15: 00005602c9801260

-- 
Paweł Krawczyk
+44 7879 180015


Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.