All of lore.kernel.org
 help / color / mirror / Atom feed
From: Siddharth Chandrasekaran <csiddharth@vmware.com>
To: torvalds@linux-foundation.org
Cc: gregkh@linuxfoundation.org, sashal@kernel.org, jannh@google.com,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	siddharth@embedjournal.com,
	Siddharth Chandrasekaran <csiddharth@vmware.com>
Subject: [PATCH 4.19 0/2] Backport readdir sanity checking patches
Date: Tue, 24 Dec 2019 01:06:28 +0530	[thread overview]
Message-ID: <cover.1577128883.git.csiddharth@vmware.com> (raw)
In-Reply-To: <cover.1577128778.git.csiddharth@vmware.com>

Hello,

This patchset is a backport of upstream commits that makes getdents() and
getdents64() do sanity checking on the pathname that it gives to user
space.

Sid

Linus Torvalds (2):
  Make filldir[64]() verify the directory entry filename is valid
  filldir[64]: remove WARN_ON_ONCE() for bad directory entries

 fs/readdir.c | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

-- 
2.7.4


  parent reply	other threads:[~2019-12-23 19:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23 19:36 [PATCH 4.14 0/2] Backport readdir sanity checking patches Siddharth Chandrasekaran
2019-12-23 19:36 ` [PATCH 4.14 1/2] Make filldir[64]() verify the directory entry filename is valid Siddharth Chandrasekaran
2019-12-23 19:36 ` [PATCH 4.14 2/2] filldir[64]: remove WARN_ON_ONCE() for bad directory entries Siddharth Chandrasekaran
2019-12-23 19:36 ` Siddharth Chandrasekaran [this message]
2019-12-23 19:36   ` [PATCH 4.19 1/2] Make filldir[64]() verify the directory entry filename is valid Siddharth Chandrasekaran
2019-12-23 19:36   ` [PATCH 4.19 2/2] filldir[64]: remove WARN_ON_ONCE() for bad directory entries Siddharth Chandrasekaran
2019-12-23 19:36 ` [PATCH 4.4 0/2] Backport readdir sanity checking patches Siddharth Chandrasekaran
2019-12-23 19:36   ` [PATCH 4.4 1/2] Make filldir[64]() verify the directory entry filename is valid Siddharth Chandrasekaran
2019-12-23 19:36   ` [PATCH 4.4 2/2] filldir[64]: remove WARN_ON_ONCE() for bad directory entries Siddharth Chandrasekaran
2020-01-07 22:09   ` [PATCH 4.4 0/2] Backport readdir sanity checking patches Ben Hutchings
2019-12-23 19:36 ` [PATCH 4.9 " Siddharth Chandrasekaran
2019-12-23 19:36   ` [PATCH 4.9 1/2] Make filldir[64]() verify the directory entry filename is valid Siddharth Chandrasekaran
2019-12-23 19:36   ` [PATCH 4.9 2/2] filldir[64]: remove WARN_ON_ONCE() for bad directory entries Siddharth Chandrasekaran
2020-01-01 17:00 ` [PATCH 4.14 0/2] Backport readdir sanity checking patches Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1577128883.git.csiddharth@vmware.com \
    --to=csiddharth@vmware.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jannh@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sashal@kernel.org \
    --cc=siddharth@embedjournal.com \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.