oss-sec mailing list archives

Re: CVE request: kernel: don't allow splice() to files opened with O_APPEND


From: "Steven M. Christey" <coley () linus mitre org>
Date: Tue, 14 Oct 2008 14:51:16 -0400 (EDT)


On Mon, 13 Oct 2008, Eugene Teo wrote:

"[PATCH] Don't allow splice() to files opened with O_APPEND

But Miklos convinced me that we should at least give it some thought,
and that accepting writes at arbitrary offsets is wrong at least for
IS_APPEND() files (which always have O_APPEND set, even if the reverse
isn't true: you can obviously have O_APPEND set on a regular file).

Use CVE-2008-4554, to be filled in later.

- Steve


Current thread: