UDF filesystem on USB stick is corrupted when creating file or directory with certain name

Bug #1289112 reported by tommy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu 13.10 amd64

I wiped a 32GB USB stick and created a UDF filesystem on it (as per instructions at http://duncanlock.net/blog/2013/05/13/using-udf-as-an-improved-filesystem-for-usb-flash-drives/ )

reading and writing works fine, until I try to create a directory or file (using any method) with the exact name "Сергей Васильевич Рахманинов - Piano Concertos Nos. 2 & 4 (Concertgebouw Orchestra feat. piano: Vladimir Ashkenazy, conductor: Bernard Haitink)"

after attempting to create this file or directory, it appears to succeed, but the name is truncated to "Сергей Васильев" and the directory containing it on the UDF filesystem becomes unwritable and undeletable, although it can still be read.

Initially came across this bug by copying a directory with this name using nautilus, but also reproduced the problem with cp -r, mkdir and touch.

Various parts of the name worked fine: "Сергей Васильевич Рахманинов" seems fine as a filename, as is "Piano Concertos Nos. 2 & 4 (Concertgebouw Orchestra feat. piano: Vladimir Ashkenazy, conductor: Bernard Haitink)". A much longer directory name also worked fine. So I'm stumped as to what the problem is.

The filesystem was created with the command:
mkudffs -b 512 --media-type=hd --utf8 /dev/sdc
and otherwise seems to work fine.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-17-generic 3.11.0-17.31
ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: tommy 1965 F.... pulseaudio
 /dev/snd/controlC0: tommy 1965 F.... pulseaudio
Date: Fri Mar 7 16:23:50 2014
HibernationDevice: RESUME=UUID=fc98e994-afc1-42e5-a89c-2a531b28982f
InstallationDate: Installed on 2013-06-23 (256 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Gigabyte Technology Co., Ltd. G33M-DS2R
MarkForUpload: True
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-17-generic root=/dev/mapper/ubuntu-root ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-17-generic N/A
 linux-backports-modules-3.11.0-17-generic N/A
 linux-firmware 1.116.2
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to saucy on 2013-10-27 (130 days ago)
dmi.bios.date: 06/11/2007
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F3
dmi.board.name: G33M-DS2R
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF3:bd06/11/2007:svnGigabyteTechnologyCo.,Ltd.:pnG33M-DS2R:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnG33M-DS2R:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: G33M-DS2R
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
tommy (mesilliac) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.14 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc6-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
tommy (mesilliac) wrote :

Tested with latest mainline kernel, 3.14-rc7-trusty, bug still exists.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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