Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp727446imm; Wed, 17 Oct 2018 07:25:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV63vNyQsF96dGnSEQL/4pXsuiLAPnr96BwspoYGvb/VQX3UjpQ4lzlfxqZ+nzkOpI6Bcm9YG X-Received: by 2002:a62:8c93:: with SMTP id m141-v6mr27229523pfd.16.1539786324103; Wed, 17 Oct 2018 07:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539786324; cv=none; d=google.com; s=arc-20160816; b=bP9ERawCbHNapvmj69SisZNeGvfpzrWPZ3aO6JN/HqUltnyiNYVyiPkI0uG5xfzXbF z8Ze5vo+xErEL54LI9JLqiEIXlZwdrVKboj1HtCuCNTxo2xlbJGb3hRMn2uB3SHCaLeR lcb75LOLSg3AB567j2HtWZXkoUFUpH2Tye2PpR+3lwu+IsFAWT6o5GOLdYnpyQUg1/oe V/qNODTL9G8Rm1kX3LV33LDJ33GQ67GvTF1QeOlJK96iUxdiFgBFz0JpmSx4LFf8w8Em RHq+qdPfc8T5yf9LBPyigVl68rzEeljvmt4Z1I9O3hoV3Coo7KA6/PBFWV+wzrQWSSHh ICSw== 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:mime-version :user-agent:message-id:date:cc:to:from:subject; bh=1yIsSFmhSyHtjohkzPKCMV78p9wFHlljMXxzulqchr0=; b=BRYXaCIpnhMPDJF1jOCl624xKsh9/ILebrPaaRDyoHMXcETiWLad2Z7nPAUUaTq0rb dmcASaNj8SnENudaGqgVGVpvcU86HYIBpS9A2/mTqMg37d1dT6btFn0EMJ4Foj+2gkKg Oe/2C/ugu5grEuQGvMoIjMz2KV9gn/i/a2t8Dvfu+82T6j+e5PKrP+Q4K0lZGXgRUArJ N6ySeu1U2ybbWnhtclWMFGPUAPOJmu3ndYr1xH0n9PfMsVhQ9Vb7hnDChcJmQCFmGprJ hqaIBU9KWxAEjFA599RVMMExZCbc3aMDxVnrUFIP22Q60JdW5mvFUIpbbivgg8ayVC4T ++ZA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p70-v6si2915774pgp.53.2018.10.17.07.25.08; Wed, 17 Oct 2018 07:25:24 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727649AbeJQWTR (ORCPT + 99 others); Wed, 17 Oct 2018 18:19:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33132 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727032AbeJQWTQ (ORCPT ); Wed, 17 Oct 2018 18:19:16 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 818814E91F; Wed, 17 Oct 2018 14:23:21 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-250.rdu2.redhat.com [10.10.120.250]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9358660490; Wed, 17 Oct 2018 14:23:15 +0000 (UTC) Subject: [PATCH 0/4] FS-Cache: Miscellaneous fixes From: David Howells To: gregkh@linux-foundation.org Cc: Kiran Kumar Modukuri , syzbot+a95b989b2dde8e806af8@syzkaller.appspotmail.com, stable@vger.kernel.org, Eric Sandeen , Al Viro , viro@zeniv.linux.org.uk, sandeen@redhat.com, dhowells@redhat.com, linux-cachefs@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 17 Oct 2018 15:23:14 +0100 Message-ID: <153978619457.8478.3813964117489247515.stgit@warthog.procyon.org.uk> User-Agent: StGit/unknown-version MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 17 Oct 2018 14:23:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Attached are another couple of miscellaneous fixes for FS-Cache and CacheFiles: (1) Fix a race between object burial in cachefiles and external rmdir. (2) Fix a race from a split atomic op. (3) Fix incomplete initialisation of cookie key space. (4) Fix out-of-bounds read. The patches are tagged here: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-fixes-20181017 and can also be found on the following branch: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache-fixes David --- Al Viro (1): cachefiles: fix the race between cachefiles_bury_object() and rmdir(2) David Howells (1): fscache: Fix incomplete initialisation of inline key space Eric Sandeen (1): fscache: Fix out of bound read in long cookie keys kiran.modukuri (1): fscache: Fix race in fscache_op_complete() due to split atomic_sub & read fs/cachefiles/namei.c | 2 +- fs/fscache/cookie.c | 31 ++++++++++--------------------- fs/fscache/internal.h | 1 - fs/fscache/main.c | 4 +--- include/linux/fscache-cache.h | 4 ++-- 5 files changed, 14 insertions(+), 28 deletions(-)