Bug 101087 - mount.ntfs-3g tainted, fs changes in kernel 4.12 break mount of ntfs-3g, possible data corruption
Summary: mount.ntfs-3g tainted, fs changes in kernel 4.12 break mount of ntfs-3g, poss...
Status: RESOLVED NOTOURBUG
Alias: None
Product: udisks
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: highest critical
Assignee: Martin Pitt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 11:41 UTC by Nicholas Stommel
Modified: 2017-05-18 12:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Nicholas Stommel 2017-05-18 11:41:10 UTC
Literally every single time I try to mount an ntfs partition on Ubuntu 16.04.2 LTS running the rc preview of 4.12, I receive this exact same trace message in my syslog telling me that something is wrong. This is a problem, I need to be able to mount ntfs-3g partitions on my machine without data corruption. Any insight or fix would be appreciated.


ay 18 07:01:49 delphi kernel: [  599.500863] ------------[ cut here ]------------
May 18 07:01:49 delphi kernel: [  599.500870] WARNING: CPU: 2 PID: 3164 at /home/kernel/COD/linux/fs/super.c:1281 super_setup_bdi_name+0xcf/0xe0
May 18 07:01:49 delphi kernel: [  599.500870] Modules linked in: ccm rfcomm bnep nls_iso8859_1 dm_crypt snd_soc_sst_broadwell cmdlinepart intel_spi_platform intel_spi spi_nor mtd snd_soc_sst_haswell_pcm snd_soc_sst_firmware snd_soc_sst_ipc snd_soc_sst_dsp arc4 snd_soc_rt298 hp_wmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass iwlmvm crct10dif_pclmul crc32_pclmul mac80211 ghash_clmulni_intel pcbc iwlwifi snd_soc_ssm4567 aesni_intel snd_soc_rt286 snd_soc_rl6347a snd_hda_codec_hdmi aes_x86_64 snd_soc_core crypto_simd glue_helper snd_hda_intel cryptd cfg80211 intel_cstate snd_compress snd_hda_codec snd_hda_core rtsx_pci_ms intel_rapl_perf snd_hwdep memstick snd_pcm_dmaengine ac97_bus elan_i2c snd_pcm snd_seq_midi serio_raw snd_seq_midi_event lpc_ich hid_sensor_rotation hid_sensor_incl_3d hid_sensor_gyro_3d
May 18 07:01:49 delphi kernel: [  599.500912]  hid_sensor_accel_3d hid_sensor_magn_3d snd_rawmidi hid_sensor_trigger btusb industrialio_triggered_buffer btrtl uvcvideo hid_sensor_iio_common btbcm snd_seq joydev btintel videobuf2_vmalloc input_leds bluetooth videobuf2_memops videobuf2_v4l2 videobuf2_core hid_multitouch snd_seq_device videodev snd_timer ecdh_generic media snd mei_me mei soundcore shpchp hp_accel lis3lv02d snd_soc_sst_acpi spi_pxa2xx_platform input_polldev snd_soc_sst_match dw_dmac dw_dmac_core i2c_designware_platform i2c_designware_core 8250_dw intel_vbtn hp_wireless acpi_pad mac_hid sparse_keymap acpi_als kfifo_buf industrialio parport_pc ppdev lp parport autofs4 hid_logitech_hidpp hid_sensor_custom hid_sensor_hub hid_logitech_dj usbhid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper psmouse syscopyarea sysfillrect
May 18 07:01:49 delphi kernel: [  599.500954]  ahci sysimgblt fb_sys_fops rtsx_pci libahci drm wmi sdhci_acpi video sdhci i2c_hid hid
May 18 07:01:49 delphi kernel: [  599.500965] CPU: 2 PID: 3164 Comm: mount.ntfs-3g Tainted: G        W       4.12.0-041200rc1-generic #201705131731
May 18 07:01:49 delphi ntfs-3g[3166]: Version 2015.3.14AR.1 integrated FUSE 28
May 18 07:01:49 delphi kernel: [  599.500966] Hardware name: HP HP Spectre x360 Convertible  /802D, BIOS F.45 04/21/2017
May 18 07:01:49 delphi kernel: [  599.500968] task: ffff919b01074380 task.stack: ffffb950039c8000
May 18 07:01:49 delphi kernel: [  599.500971] RIP: 0010:super_setup_bdi_name+0xcf/0xe0
May 18 07:01:49 delphi kernel: [  599.500972] RSP: 0018:ffffb950039cbc50 EFLAGS: 00010283
May 18 07:01:49 delphi kernel: [  599.500974] RAX: 0000000000000000 RBX: ffff919b005be800 RCX: 0000000000000002
May 18 07:01:49 delphi kernel: [  599.500975] RDX: 0000000000000001 RSI: 00000000fffffe01 RDI: ffffffff82fd81bb
May 18 07:01:49 delphi ntfs-3g[3166]: Mounted /dev/sda6 (Read-Write, label "Music", NTFS 3.1)
May 18 07:01:49 delphi kernel: [  599.500976] RBP: ffffb950039cbcd0 R08: ffff919a2e3ea038 R09: 0000000000000000
May 18 07:01:49 delphi kernel: [  599.500977] R10: ffffe4cc48edb600 R11: 0000000000000000 R12: ffff919ac0f0d000
May 18 07:01:49 delphi kernel: [  599.500978] R13: ffffffff83ad914c R14: ffffb950039cbce0 R15: ffff919afc983500
May 18 07:01:49 delphi kernel: [  599.500979] FS:  00007fe171045700(0000) GS:ffff919b0ed00000(0000) knlGS:0000000000000000
May 18 07:01:49 delphi ntfs-3g[3166]: Cmdline options: rw,noexec,nosuid,nodev,permissions,users
May 18 07:01:49 delphi kernel: [  599.500981] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 18 07:01:49 delphi kernel: [  599.500982] CR2: 00007fe171066000 CR3: 00000002003f5000 CR4: 00000000003406e0
May 18 07:01:49 delphi kernel: [  599.500983] Call Trace:
May 18 07:01:49 delphi kernel: [  599.500988]  ? kmem_cache_alloc_trace+0x181/0x190
May 18 07:01:49 delphi ntfs-3g[3166]: Mount options: rw,noexec,nosuid,nodev,users,allow_other,nonempty,default_permissions,relatime,fsname=/dev/sda6,blkdev,blksize=4096
May 18 07:01:49 delphi kernel: [  599.500991]  fuse_fill_super+0x3b3/0x6a0
May 18 07:01:49 delphi kernel: [  599.500993]  ? vsnprintf+0x24b/0x4d0
May 18 07:01:49 delphi kernel: [  599.500994]  ? snprintf+0x45/0x70
May 18 07:01:49 delphi kernel: [  599.500997]  mount_bdev+0x178/0x1b0
May 18 07:01:49 delphi ntfs-3g[3166]: User mapping built, Posix ACLs not used, configuration type 7
May 18 07:01:49 delphi kernel: [  599.500998]  ? mount_bdev+0x178/0x1b0
May 18 07:01:49 delphi kernel: [  599.501000]  ? fuse_get_root_inode+0x70/0x70
May 18 07:01:49 delphi kernel: [  599.501002]  fuse_mount_blk+0x15/0x20
May 18 07:01:49 delphi kernel: [  599.501003]  mount_fs+0x38/0x140
May 18 07:01:49 delphi udisksd[1739]: Mounted /dev/sda6 (system) at /media/noctua/Music on behalf of uid 1000
May 18 07:01:49 delphi kernel: [  599.501007]  vfs_kern_mount+0x67/0x110
May 18 07:01:49 delphi kernel: [  599.501008]  do_mount+0x1e1/0xca0
May 18 07:01:49 delphi kernel: [  599.501011]  ? __check_object_size+0xb3/0x190
May 18 07:01:49 delphi kernel: [  599.501013]  ? _copy_from_user+0x21/0x70
May 18 07:01:49 delphi kernel: [  599.501015]  ? kmem_cache_alloc_trace+0x142/0x190
May 18 07:01:49 delphi kernel: [  599.501017]  SyS_mount+0x83/0xd0
May 18 07:01:49 delphi kernel: [  599.501020]  entry_SYSCALL_64_fastpath+0x1e/0xa9
May 18 07:01:49 delphi kernel: [  599.501022] RIP: 0033:0x7fe170715faa
May 18 07:01:49 delphi kernel: [  599.501023] RSP: 002b:00007ffc9159e958 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
May 18 07:01:49 delphi kernel: [  599.501024] RAX: ffffffffffffffda RBX: 000055a51e1e9430 RCX: 00007fe170715faa
May 18 07:01:49 delphi kernel: [  599.501025] RDX: 000055a51e1ea5a0 RSI: 000055a51e1e9430 RDI: 000055a51e1e9760
May 18 07:01:49 delphi kernel: [  599.501026] RBP: 0000000000000000 R08: 000055a51e1e9620 R09: 0000000000000028
May 18 07:01:49 delphi kernel: [  599.501027] R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000000
May 18 07:01:49 delphi kernel: [  599.501028] R13: 0000000000000400 R14: 00007ffc9159eb30 R15: 000055a51e1e8de0
May 18 07:01:49 delphi kernel: [  599.501029] Code: a0 65 48 33 0c 25 28 00 00 00 75 2a 48 83 c4 58 5b 41 5a 41 5c 41 5d 41 5e 5d c3 48 89 df 89 45 84 e8 f6 10 f9 ff 8b 45 84 eb d2 <0f> ff eb c6 b8 f4 ff ff ff eb c7 e8 01 d5 e3 ff 90 0f 1f 44 00 
May 18 07:01:49 delphi kernel: [  599.501064] ---[ end trace 011e96c4b1d735b9 ]---
Comment 1 Nicholas Stommel 2017-05-18 11:50:16 UTC
See https://bugzilla.kernel.org/show_bug.cgi?id=195809
I wasn't quite sure where to report this one, but this seems fairly important as the warning and message is displayed literally every time an ntfs partition is mounted (through fstab or through the file manager or command line).
Comment 2 Martin Pitt 2017-05-18 11:54:25 UTC
Sorry, this would need to be fixed between the kernel and ntfs-3g. udisks just calls the command line tools like for any other file system, it has no say in how these actually work.
Comment 3 Nicholas Stommel 2017-05-18 12:02:32 UTC
My apologies, can you point me to a more specific place where would I file this bug for ntfs-3g and the kernel?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.