Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1496894
| Path | csiph.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Al Viro <viro@ZenIV.linux.org.uk> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" |
| Date | Fri, 07 Oct 2016 00:50:01 +0200 |
| Message-ID | <sppEd-7qB-3@gated-at.bofh.it> (permalink) |
| References | <spoyt-6y4-7@gated-at.bofh.it> <spoyt-6y4-5@gated-at.bofh.it> <spoI9-6CY-17@gated-at.bofh.it> <spp1v-72A-25@gated-at.bofh.it> <sppuy-7lV-17@gated-at.bofh.it> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.7.0 (2016-08-17) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 8 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | timur@codeaurora.org, cov@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org |
| X-Original-Date | Thu, 6 Oct 2016 23:41:17 +0100 |
| X-Original-Message-ID | <20161006224117.GP19539@ZenIV.linux.org.uk> |
| X-Original-References | <1475789429-11414-1-git-send-email-okaya@codeaurora.org> <20161006213734.GM19539@ZenIV.linux.org.uk> <f6ba2bf7-4f0b-e874-d642-6620d5df2212@codeaurora.org> <20161006220050.GN19539@ZenIV.linux.org.uk> <20161006223729.GO19539@ZenIV.linux.org.uk> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1496894 |
Show key headers only | View raw
On Thu, Oct 06, 2016 at 11:37:29PM +0100, Al Viro wrote: > If you ever get NULL in ->d_parent of struct dentry instance, you are > practically certain to have a dangling pointer to memory that used to > contain a struct dentry at some point but got freed and reused since then. ... which is what happens in your case, apparently. ->stats is still pointing to a dentry that had just been freed and its memory reused.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Al Viro <viro@ZenIV.linux.org.uk> - 2016-10-06 23:40 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Sinan Kaya <okaya@codeaurora.org> - 2016-10-06 23:50 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Sinan Kaya <okaya@codeaurora.org> - 2016-10-07 00:00 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Sinan Kaya <okaya@codeaurora.org> - 2016-10-07 00:20 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Al Viro <viro@ZenIV.linux.org.uk> - 2016-10-07 00:10 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Al Viro <viro@ZenIV.linux.org.uk> - 2016-10-07 00:40 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Al Viro <viro@ZenIV.linux.org.uk> - 2016-10-07 00:50 +0200
Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative" Sinan Kaya <okaya@codeaurora.org> - 2016-10-07 01:30 +0200
csiph-web