Null bytes in files access by 2 or more NFS clients

Bug #199037 reported by Timo Aaltonen on 2008-03-06
Affects Status Importance Assigned to Milestone
linux (Fedora)
Fix Released
linux (Ubuntu)
Ben Collins

Bug Description

There's a bug in the linux NFS client where it's possible to corrupt files when the server is a NetApp filer and two (or more) clients have write access to the file. A good example of such a file is ~/.zhistory. This has been fixed upstream and on RHEL5: (second changeset)

and discussed here:

Please apply to the Hardy kernel, and possibly others, thanks!

Timo Aaltonen (tjaalton) on 2008-03-06
description: updated
Changed in linux:
milestone: none → ubuntu-8.04-beta
Changed in linux:
status: Unknown → Invalid
Timo Aaltonen (tjaalton) wrote :

uh, the bug watch updater is on crack.. the upstream bug is "verified" not "invalid".

Hi Timo,

Regarding the upstream tracker status, we filed a bug against malone but it didn't really get any resolution - .

Regarding this bug, I'm just adding the upstream git commit id for the kernel guys to reference. I'll be sure to have them take a look. Thanks.

commit 5d47a35600270e7115061cb1320ee60ae9bcb6b8
Author: Trond Myklebust <email address hidden>
Date: Thu Feb 7 17:24:07 2008 -0500

    NFS: Fix a potential file corruption issue when writing

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → High
status: New → Triaged
Ben Collins (ben-collins) wrote :

Applied to git tree. Will be in 2.6.24-12.18 upload, and also available for Hardy Beta.

Changed in linux:
assignee: ubuntu-kernel-team → ben-collins
status: Triaged → Fix Committed
Steve Langasek (vorlon) wrote :

Ben, I can't find any mention of this fix in the linux package changelog. Can you confirm that this fix has made it into the archive, and close the bug if appropriate?

Ben Collins (ben-collins) wrote :

Patch has been included since linux-2.6.24-11.17

Changed in linux:
status: Fix Committed → Fix Released
Changed in linux:
status: Invalid → Fix Committed
Changed in linux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.