Re: Local DoS on single_open?
viro_at_parcelfarce.linux.theplanet.co.uk
Date: 09/11/03
- Previous message: richard.brunner_at_amd.com: "RE: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata"
- In reply to: Keith Owens: "Local DoS on single_open?"
- Next in thread: Keith Owens: "Re: Local DoS on single_open?"
- Reply: Keith Owens: "Re: Local DoS on single_open?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Sep 2003 05:55:07 +0100 To: Keith Owens <kaos@ocs.com.au>
On Thu, Sep 11, 2003 at 02:42:13PM +1000, Keith Owens wrote:
> single_open() requires the kernel to kmalloc a buffer which lives until
> the userspace caller closes the file. What prevents a malicious user
> opening the same /proc entry multiple times, allocating lots of kmalloc
> space and causing a local DoS?
Size of that buffer is limited. IOW, it's not different from opening
e.g. a shitload of pipes or sockets.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: richard.brunner_at_amd.com: "RE: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata"
- In reply to: Keith Owens: "Local DoS on single_open?"
- Next in thread: Keith Owens: "Re: Local DoS on single_open?"
- Reply: Keith Owens: "Re: Local DoS on single_open?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]