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=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 CBD54C433E0 for ; Tue, 16 Mar 2021 17:57:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9156F65101 for ; Tue, 16 Mar 2021 17:57:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239413AbhCPR45 (ORCPT ); Tue, 16 Mar 2021 13:56:57 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:44789 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239456AbhCPR4A (ORCPT ); Tue, 16 Mar 2021 13:56:00 -0400 Received: from [192.168.178.67] ([91.15.60.56]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MRVy9-1l1W8a0nMz-00NU6Y; Tue, 16 Mar 2021 18:55:21 +0100 Subject: Re: EDAC list as Trojan Horse distribution ?? From: Hermann Ruckerbauer To: He Zhe , tony.luck@intel.com, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org References: <1583303947-49858-1-git-send-email-zhe.he@windriver.com> <1f449e01-3207-b699-b91f-d1c04626a447@windriver.com> <59d52031-f4e8-e754-c8b6-ca1130bf0cf1@EyeKnowHow.de> Message-ID: Date: Tue, 16 Mar 2021 18:55:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <59d52031-f4e8-e754-c8b6-ca1130bf0cf1@EyeKnowHow.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Provags-ID: V03:K1:7yG1LTqtMATwziIhWsIPvHUImE1GA7Y8Brk0qx4n/Tqm8l9xdnb TRvsiiRCB++NxNvZ5xKrQGXwgXn1OkOo1ule+hv84rVaVRh51RcZNVxFVQCy5zQqXuagR6c 2eyiDXgY+opdOj99OFwvug5ByHDBW7lkMuKvGoG1v7C0wvVVSEwQsxwAGoOmwvZ2IWPZ97r ppKFkaj9EFNhdOejAbNFg== X-UI-Out-Filterresults: notjunk:1;V03:K0:w480LvYCMpg=:6bBIGL8ZXfKXbeCDffb1kG JUOoTT8OONJ4fQ7ScmIFAsnt/6rFe1h15UNOd6jENTUD+n/3B2Umesf4HEACAYDT+azf8dArY y9kfrkaKTu6HwrJctKRAng4P1IolLCe0Ew37DznJVm708qj3BfbRLNX6i3trUwkYagEKeHQvm P5ipG6XKhTHTNxNbHHvxVRmR3vsf7TiznPx2nDYrTUSo8TFbmI8a6ahvMhDH/SoFU0BcJ06bj CsKPcJomBGRjD3fL069WigizLwRNfkUCoQXN67p6Q48OT8He2AC1lEfNkr6bwWqYWQtzjU+Zu QhO38vnM1qaGdZRyTdFcGPNw8kwYRK4rRdH5X+lp93FVlfIvEVqSF4QerWoi1ASP0RZU/02v0 bB8WJqvWG9zcuxAX5SgkgfaEY5q0FMDq9KbZwMK7fz8BzJ3ewQAg1nTy7e/YyDrgPVwebnH/2 Zd7Eg4AdzHgwJqTqgQklfu7JK31zx/8= Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org > Hello *, ==> one more time as plain text..  > > > quite some tiem ago i sent a question to the EDAC list.. > I never receveived an answer. >   > today i got an answer with my original question quoted  and a .zip > file attached: > > ====================================== > > from:      nikolay.temizov@bpchargemaster.com > > Hello, > > Sorry, for my late reply to your question. Attached is the document > you need. > > *Thank you*, > > ======================================== > > I assume this is just to install a trojan horse when opening the > attached zip (also I assume most of you will work on linux and it > might not be a Problem for you anyhow   ;-) . > >  Virus total reports a Trojan horse, but only for with 2 out of 61 > virus scan engines (and I have to admit, I did not knew K7AntiVirus > and Qihoo-360 before, all other engines reported the file as > clean!!!!!!! ). > > So be careful when you get some feedback to old requests from this list > > Hermann > > > -- > Our next Events: > Online Seminar: Open the Black Box of Memory > Date: 01.03 - 05.03.2021 (5 times 9:00 - 13:00) > > EKH - EyeKnowHow > Signal Quality - Made in Bavaria > Hermann Ruckerbauer > www.EyeKnowHow.de > Hermann.Ruckerbauer@EyeKnowHow.de > Itzlinger Strasse 21a > 94469 Deggendorf > Tel.: +49 (0)991 / 29 69 29 05 > Mobile: +49 (0)176 / 787 787 77 > Fax: +49 (0)991 / 98158793 > Hello, > > > > > > Am 16.04.2020 um 10:40 schrieb He Zhe: >> Can this be considered for the moment? >> >> Thanks, >> Zhe >> >> On 3/4/20 2:39 PM, zhe.he@windriver.com wrote: >>> From: He Zhe >>> >>> 32-bit user-space program would get errors like the following from ioctl >>> syscall due to missing compat_ioctl. >>> MCE_GET_RECORD_LEN: Inappropriate ioctl for device >>> >>> compat_ptr_ioctl is provided as a generic implementation of .compat_ioctl >>> file operation to ioctl functions that either ignore the argument or pass >>> a pointer to a compatible data type. >>> >>> Signed-off-by: He Zhe >>> --- >>> arch/x86/kernel/cpu/mce/dev-mcelog.c | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/arch/x86/kernel/cpu/mce/dev-mcelog.c b/arch/x86/kernel/cpu/mce/dev-mcelog.c >>> index 7c8958d..6c9b91b7 100644 >>> --- a/arch/x86/kernel/cpu/mce/dev-mcelog.c >>> +++ b/arch/x86/kernel/cpu/mce/dev-mcelog.c >>> @@ -328,6 +328,7 @@ static const struct file_operations mce_chrdev_ops = { >>> .write = mce_chrdev_write, >>> .poll = mce_chrdev_poll, >>> .unlocked_ioctl = mce_chrdev_ioctl, >>> + .compat_ioctl = compat_ptr_ioctl, >>> .llseek = no_llseek, >>> }; >>> >