Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp331708ybl; Fri, 9 Aug 2019 06:42:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdTh7FE2y0GDnBixPULOq63OU4JS4dkg5htt30ZVzP66zsB0mbKL0Q7HeJLWR7zA+a1w8d X-Received: by 2002:a17:902:5983:: with SMTP id p3mr9388635pli.232.1565358165882; Fri, 09 Aug 2019 06:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565358165; cv=none; d=google.com; s=arc-20160816; b=O5qc28Wuw6OZdkn64Z2Kv4T0qq3Hr0fXmJQwYbFgGoLf3BX3yDnGD+xu9W3W3gT1Kz oZeYA3PfLovPTESidt2KhL+92ANl4dKJq4vxAjoSnNqiWieLh4+2QjQgaHmdYyv97pSV 8WhG5N39WzfuhsnE2Bku0QdJLY9leRVrrGwH6JD4Cs2hs1tRFNFDU/ZfOiKegDQzB6fM U3txahCHHXIISCDUP0zBixqs6NVHXC3ieDfrBCzYGpe+XyM9ls/x8HxwgjB3Un97/rkl /IzwrSeLDGps+LxGnzMC07o9rVjtKfQ+5mA+r8Vh81JImPz9pCSKBjwcaAu1JTPM7X9t XNLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=hDbmSeAqM7CnABefrdoIV33EQwgfzsxS6CwWc2ozMxc=; b=0uYWY/luPkQR0lQvUsmr07y0aFaO9hbgAGcVlQgsoG7anUS4YGs77JxWWloHbbNDEi R4fovSPRP6P4J/LOU5vgn8SOUSfRDl35zxwElNDnta7Y0VPvKOYQP/xEWZoX7HOoT7CN J7mX/RR94MRWRhaPPcXy5G93lkjJr7OnXZhQLv/JnQYPuqQfeZeYtEx7nw5LMeTiLpCU XX2vElllnkSk6mGgWt3tPX43zeGayyR1QUtJRJX9lss2wmRNwEa+e3azbm3/qHN0cjs9 td6hsuZuguUno/8/r9//2+vU/mc14lF409gtTkHj1dxAAxNGITdDXNzXFj/yRtWmu/ep 7YHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=uxcY+HoG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8si57152910pfc.176.2019.08.09.06.42.29; Fri, 09 Aug 2019 06:42:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=uxcY+HoG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406405AbfHINlc (ORCPT + 99 others); Fri, 9 Aug 2019 09:41:32 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:46957 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726152AbfHINlc (ORCPT ); Fri, 9 Aug 2019 09:41:32 -0400 Received: by mail-pf1-f193.google.com with SMTP id c3so22954700pfa.13 for ; Fri, 09 Aug 2019 06:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hDbmSeAqM7CnABefrdoIV33EQwgfzsxS6CwWc2ozMxc=; b=uxcY+HoGpSPxU3WZM34vst9UCgKCvpWafX3qIo5agR9YilACC8L2UAmnDJsft2xWlO b07chohxzG7xDB3J+bqVaMoSrNljFZcSamWc9wW+uH9NiT+TA4SsQP0SWcbE28tHM18q mTwYKTOwdk+pUBUgpdGK/EFNza0fSDoIXyaZqjkdpT4EJZKVcnEyqtf/0ogGJ8b1WYnh 3TrhBjACarraJTY0jKNBogI4gswvHw4aUqukhNA/+NdjDgM5YBCHb/Z0lxBjmFJOTwTK IvKidRrYHkitWYQfblSGRj+3MOR6AywPx/kgY9mxZa3glzSQfeGZZHHr2wvtoZ1z6Lpf vPkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hDbmSeAqM7CnABefrdoIV33EQwgfzsxS6CwWc2ozMxc=; b=L5sOrQB5/Q0GOaFTBrPC+jLup1g+OkSgriIrpupBoAB3+QGdVkv+Q/NKz6DGHh/vpr Y3gsZ4+wQ0DSXiWw6cDuESrd9bsgmG1gYByC3qm0Ir6n4HL+z0D+fm6K9gNGZ09XIQv7 ohJx/83hIZlF/+IY64TMP8w1r+goPZN9CGfpP26FifiPcxYgbeURspHEuxLSvQBSfLvX 0kGC8FDzL8rqb4mIbz78f9xgzcU7lhGYe0xWMP3+BCxiB6t0UItwnyPMm6tf4n18SMo8 W8VlshS37zDkpDTiNup1ZvzwbYiv7qGwqs9N94M7Tpx05+sPiboVT16ExYppmdL/mMs8 sUQQ== X-Gm-Message-State: APjAAAXYso/ckHB9dFij3hBRk/m3pnn7mTOXBhVz1UxiYqrIylpsGGe5 hHH5tY3urxBQ5jE4a4BurB4gVw== X-Received: by 2002:a62:b615:: with SMTP id j21mr20995178pff.190.1565358091327; Fri, 09 Aug 2019 06:41:31 -0700 (PDT) Received: from ?IPv6:2605:e000:100e:83a1:80e5:933f:36b7:b13c? ([2605:e000:100e:83a1:80e5:933f:36b7:b13c]) by smtp.gmail.com with ESMTPSA id 3sm104328974pfg.186.2019.08.09.06.41.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Aug 2019 06:41:30 -0700 (PDT) Subject: Re: [PATCH] floppy: fix usercopy direction To: alex.popov@linux.com, Jann Horn Cc: Jiri Kosina , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , Mukesh Ojha , "kernel-hardening@lists.openwall.com" , Denis Efremov , Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , cocci@systeme.lip6.fr References: <20190326220348.61172-1-jannh@google.com> <9ced7a06-5048-ad1a-3428-c8f943f7469c@linux.com> From: Jens Axboe Message-ID: Date: Fri, 9 Aug 2019 06:41:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <9ced7a06-5048-ad1a-3428-c8f943f7469c@linux.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/9/19 6:36 AM, Alexander Popov wrote: > Hello everyone! > > On 27.03.2019 1:03, Jann Horn wrote: >> As sparse points out, these two copy_from_user() should actually be >> copy_to_user(). > > I've spent some time on these bugs, but it turned out that they are already public. > > I think Jann's patch is lost, it is not applied to the mainline. > So I add a new floppy maintainer Denis Efremov to CC. Looks like it got lost indeed, I will just apply this one directly for 5.4. -- Jens Axboe