From: Andrey Savochkin <saw@saw.sw.com.sg>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: Jirka Kosina <jikos@jikos.cz>,
Giuliano Pochini <pochini@shiny.it>,
linux-kernel@vger.kernel.org
Subject: Re: FW: Linux kernel file offset pointer races
Date: Wed, 11 Aug 2004 18:26:02 +0400 [thread overview]
Message-ID: <20040811182602.A2055@castle.nmd.msu.ru> (raw)
In-Reply-To: <20040807171500.GA26084@logos.cnet>; from "Marcelo Tosatti" on Sat, Aug 07, 2004 at 02:15:00PM
BTW, f_pos assignments are non-atomic on IA-32 since it's a 64-bit value.
The file position is protected by the BKL in llseek(), but I do not see any
serialization neither in sys_read() nor in generic_file_read() and other
methods.
Have we accepted that the file position may be corrupted after crossing 2^32
boundary by 2 processes reading in parallel from the same file?
Or am I missing something?
Andrey
On Sat, Aug 07, 2004 at 02:15:00PM -0300, Marcelo Tosatti wrote:
> On Thu, Aug 05, 2004 at 12:30:23PM +0200, Jirka Kosina wrote:
> > On Thu, 5 Aug 2004, Giuliano Pochini wrote:
> >
> > > I don't remember if this issue has already been discussed here:
> > > -----FW: <Pine.LNX.4.44.0408041220550.26961-100000@isec.pl>-----
> > > Date: Wed, 4 Aug 2004 12:22:42 +0200 (CEST)
> > > From: Paul Starzetz <ihaquer@isec.pl>
> > > To: bugtraq@securityfocus.com, vulnwatch@vulnwatch.org,
> > > full-disclosure@lists.netsys.com
> > > Subject: Linux kernel file offset pointer races
> >
> > It hasn't been discussed here, but at
> > http://linux.bkbits.net:8080/linux-2.4/gnupatch@411064f7uz3rKDb73dEb4vCqbjEIdw
> > you can find a patchset fixing (some of) the mentioned problems. This
> > patchset is from 2.4.27-rc5
>
> "some of" ?
>
> Do you know any unfixed still broken piece of driver code ?
next prev parent reply other threads:[~2004-08-11 14:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-05 8:42 Giuliano Pochini
2004-08-05 10:30 ` Jirka Kosina
2004-08-07 17:15 ` Marcelo Tosatti
2004-08-11 14:26 ` Andrey Savochkin [this message]
2004-08-11 21:14 ` Marcelo Tosatti
2004-08-12 7:55 ` Andrey Savochkin
2004-08-12 13:53 ` Marcelo Tosatti
2004-08-09 8:33 ` Frank Steiner
2004-08-09 14:45 ` Alan Cox
2004-08-09 16:50 ` Jonathan Corbet
2004-08-09 17:24 ` Linus Torvalds
2004-08-10 6:08 ` Frank Steiner
2004-08-05 20:34 ` Alan Cox
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=20040811182602.A2055@castle.nmd.msu.ru \
--to=saw@saw.sw.com.sg \
--cc=jikos@jikos.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=pochini@shiny.it \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®