From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26856C388F7 for ; Thu, 22 Oct 2020 23:36:41 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 57A3124248 for ; Thu, 22 Oct 2020 23:36:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VFG+oi6D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57A3124248 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1kVk7t-0008IV-On; Thu, 22 Oct 2020 19:36:09 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kVk7r-0008IN-Hm for kernelnewbies@kernelnewbies.org; Thu, 22 Oct 2020 19:36:07 -0400 Received: by mail-lj1-x230.google.com with SMTP id c21so3778671ljn.13 for ; Thu, 22 Oct 2020 16:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PsS9bTCoaeM9ITeqd98k/+ciWeKL+oPnoB3RxyMrryU=; b=VFG+oi6DT0cn1tViCSJPpc1kNeuEZIlaqZyJeSWxqSIpJXus3IHX8PbMGRc8k/TYS6 Qk6TdyQZX8ja42B7Zp2UoBgFaOdkKx5StoVOBCXyrNSPOQp4iYiohJLBXOWz//4ZIU5F GxsphZnnTXjR/vZoaBo+/mnNE0Hilbx3fsaQOCaA4bp3ryhL0gWw7enbTPcDG5NFogRn 8jPx4CjslrZ9No2xF+hKKnI220Tgb5aCJq2u/FJZn2SIx4/k1ryCd+lLeJk8J/qAg5MO LoZoqCHY9QfePZwpu1C18gFJCBmtwLVNecCDAmJR3cpIhywCakRX/oYutkgWCYVq1NRM 3SGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PsS9bTCoaeM9ITeqd98k/+ciWeKL+oPnoB3RxyMrryU=; b=PJTga6onZLlmaw4/D/KccMOpSJIwGT/WS2uKOnvfZa2+vV/I9vdSoIgaWs1JTSmpN0 HWBMbQVJPsd0W2ZPP2RuD6YNBEn32ZkCAt06yxP/6bdurAr312es+KugaBs2en+khofc mhsHZPd5X2xl//F8HKcwuVyylymkXkBs3/IVfrZBBV3F4d8hH1N3Ft85nXYuNe3InxNV O37fhvYqFAmH65ogFBnSTC6FdLTkOQVYmcxtvBOsxW+k77UndYOcLuFJBf4oDiq+c6FN K08eIKZAZpxNaiQAXIfxBpdj4gj3NenbCwJigDQttyOSI3AjXaipshM7itnWJ/Ll3El5 kmAw== X-Gm-Message-State: AOAM5339Pj9Mo+DgcO6Ox3Kgr/sus/Oa0UvJ6YxW+lxBJu9NHJYLbA16 Th2mPdzfhYNTadDo/uCqcKTCZTKLG8o0qxuy5gddJHTUln8= X-Google-Smtp-Source: ABdhPJyEratPBraxGH9UdBs/7TXfw91fL7qynSM72cvA7d1wAT84WVrriUMv8ZsgNSEY6tPthKju2Wzi9UpZsNgSEwM= X-Received: by 2002:a05:651c:503:: with SMTP id o3mr1702465ljp.421.1603409764749; Thu, 22 Oct 2020 16:36:04 -0700 (PDT) MIME-Version: 1.0 From: Sohaib Mhmd Date: Fri, 23 Oct 2020 01:35:53 +0200 Message-ID: Subject: Invoke Firefox from kernel space To: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============9096765631303998562==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============9096765631303998562== Content-Type: multipart/alternative; boundary="0000000000007515f205b24aed06" --0000000000007515f205b24aed06 Content-Type: text/plain; charset="UTF-8" Hello, I tried to use: call_usermodehelper It worked fine with /sbin/shutdown and /bin/touch but with /bin/firefox i got kernel oops: Any clarification, thanks [ 2258.760627] invoke_userlevel_app: module verification failed: signature > and/or required key missing - tainting kernel > [ 2258.918529] do_init_module: 'invoke_userlevel_app'->init suspiciously > returned 256, it should follow 0/-E convention > do_init_module: loading module anyway... > [ 2258.918543] CPU: 1 PID: 4454 Comm: insmod Tainted: G OE > 5.9.0-11953-g7cf726a59435 #2 > [ 2258.918544] Hardware name: Hewlett-Packard HP ProBook 450 G1/1942, BIOS > L74 Ver. 01.07 01/24/2014 > [ 2258.918545] Call Trace: > [ 2258.918554] dump_stack+0x6b/0x83 > [ 2258.918559] do_init_module.cold+0x21/0x26 > [ 2258.918563] __do_sys_finit_module+0x98/0xe0 > [ 2258.918566] do_syscall_64+0x33/0x40 > [ 2258.918568] entry_SYSCALL_64_after_hwframe+0x44/0xa9 > [ 2258.918570] RIP: 0033:0x7f39f031837d > [ 2258.918572] 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 eb 6a 0c 00 f7 d8 64 89 01 48 > [ 2258.918573] RSP: 002b:00007ffd4a6b4bf8 EFLAGS: 00000246 ORIG_RAX: > 0000000000000139 > [ 2258.918576] RAX: ffffffffffffffda RBX: 0000562b8cc9c800 RCX: > 00007f39f031837d > [ 2258.918577] RDX: 0000000000000000 RSI: 0000562b8be25288 RDI: > 0000000000000003 > [ 2258.918577] RBP: 0000000000000000 R08: 0000000000000000 R09: > 00007f39f03e34a0 > [ 2258.918578] R10: 0000000000000003 R11: 0000000000000246 R12: > 0000000000000000 > [ 2258.918579] R13: 0000562b8be25288 R14: 0000562b8cc9f040 R15: > 00007ffd4a6b4da8 > --0000000000007515f205b24aed06 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I tried to use: call_= usermodehelper
It worked fine with /sb= in/shutdown and /bin/touch
but with /bin/firefox i got kernel= oops:
Any clarification, thanks

[ 2258.760627] invoke_userle= vel_app: module verification failed: signature and/or required key missing = - tainting kernel
[ 2258.918529] do_init_module: 'invoke_userlevel_a= pp'->init suspiciously returned 256, it should follow 0/-E conventio= n
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0do_init_module:= loading module anyway...
[ 2258.918543] CPU: 1 PID: 4454 Comm: insmod T= ainted: G =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OE =C2=A0 =C2=A0 5.9.0-11953-g= 7cf726a59435 #2
[ 2258.918544] Hardware name: Hewlett-Packard HP ProBook= 450 G1/1942, BIOS L74 Ver. 01.07 01/24/2014
[ 2258.918545] Call Trace:<= br>[ 2258.918554] =C2=A0dump_stack+0x6b/0x83
[ 2258.918559] =C2=A0do_ini= t_module.cold+0x21/0x26
[ 2258.918563] =C2=A0__do_sys_finit_module+0x98/= 0xe0
[ 2258.918566] =C2=A0do_syscall_64+0x33/0x40
[ 2258.918568] =C2= =A0entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2258.918570] RIP: 0033:0x7= f39f031837d
[ 2258.918572] 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 eb 6a 0c 00 f7 d8 6= 4 89 01 48
[ 2258.918573] RSP: 002b:00007ffd4a6b4bf8 EFLAGS: 00000246 OR= IG_RAX: 0000000000000139
[ 2258.918576] RAX: ffffffffffffffda RBX: 00005= 62b8cc9c800 RCX: 00007f39f031837d
[ 2258.918577] RDX: 0000000000000000 R= SI: 0000562b8be25288 RDI: 0000000000000003
[ 2258.918577] RBP: 000000000= 0000000 R08: 0000000000000000 R09: 00007f39f03e34a0
[ 2258.918578] R10: = 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
[ 2258.9185= 79] R13: 0000562b8be25288 R14: 0000562b8cc9f040 R15: 00007ffd4a6b4da8
=
=C2=A0
--0000000000007515f205b24aed06-- --===============9096765631303998562== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============9096765631303998562==--