| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: TAKE 956783 - xfs_dm_getall_dmattr() doesn't check if the user buffer is at valid address |
| From: | Vlad Apostolov <vapo@xxxxxxx> |
| Date: | Tue, 28 Nov 2006 11:00:26 +1100 |
| Cc: | sgi.bugs.xfs@xxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <20061127055859.GC1374@xxxxxxxxxxxxx> |
| References: | <45629AD8.8000800@xxxxxxx> <20061127055859.GC1374@xxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.8 (X11/20061025) |
Christoph Hellwig wrote: On Tue, Nov 21, 2006 at 05:21:12PM +1100, Vlad Apostolov wrote:No EFAULT error when dm_getall_dmattr() called with an invalid user buffer address. The fix is actually fine as it gives an early indication (even not complete)that the user pointer is bad. There is another problem you are pointing at and it is the userspace pointer dereference later on without using copy_to_user(). If you have any patch fixing this problem it would be great. Thanks and regards, Vlad |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Problem after removing SATA II disc without unmounting, Johannes Weberhofer, Weberhofer GmbH |
|---|---|
| Next by Date: | Re: [PATCH/RFC] pass dio_complete proper offset from finished_one_bio, Eric Sandeen |
| Previous by Thread: | Re: TAKE 956783 - xfs_dm_getall_dmattr() doesn't check if the user buffer is at valid address, Christoph Hellwig |
| Next by Thread: | Re: TAKE 956783 - xfs_dm_getall_dmattr() doesn't check if the user buffer is at valid address, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |