From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 061093FC3 for ; Sat, 11 Sep 2021 20:13:23 +0000 (UTC) Received: by mail-lj1-f173.google.com with SMTP id j12so9306253ljg.10 for ; Sat, 11 Sep 2021 13:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3vhU7xLL173FRYm6rDoQqgeTaLY334pglNc+CQhiSd0=; b=nXreom5vcCZi/UXtyffWAdg0nhPWi3xkY51IliHyypm0IixrZO7Zp8BjYk2mPXEkTy IEtvk/eTXBnbmWXvOkW43pPfx9AxlaLH0SVH0rMB+xeqWQMxMuhru90aLtaBxm4NyWRD qK49xjsOf16l5WsrcPumulF4gWs60RXQujpkYWOG+Egk0tYoSHVLlD58mhzjQ6MU79Pi c6G/22J+N87BG2/zSZGDnHgEAea91LqWgGGfsQmnvXvbuIfqecY/Bf8QDJPp0Jl1jQY/ BuBMRnvW8mH8uJIR9w6YnxCXVvNHXsua/Oxvf7eg38YDLO0GbjWR5PI5aBnxJwJyuz74 YY4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3vhU7xLL173FRYm6rDoQqgeTaLY334pglNc+CQhiSd0=; b=jiOzFo8hN1YZBkMsPwq+lAaOI4MPa0NQnXvh4pbMB0IjTpuRr2tvewzAL/zycPa/2n kxJFP9FQCgTVDwG3YHCU0Y9XOCXo23lcyYv/C9fNcKG+taFhrWS72fWOT76aA2XAjnRH k8FPveS1OkPiXFKGGVxQtvbB8NcBsxjHj7Am3DjW6Kwa1jlBxQk4M04yWHFODU400Oxb RxD/Yr6rNH3kuaB9K53I9cY8uu9iOfL4HSRuSajlo/SZUPODZxqo3LIow2ag2YgHHQXB row8NT6/C4NhqcBlElqDsZnIMu20fG4msvTB1RuApkKE+h7drrz1b37Hn75dv2092+K1 v2vQ== X-Gm-Message-State: AOAM532ecf869mui8kKJvj/AqUnBTCJRk1vsIC/C1+kAj8wZs5eqA5aR YPhmArglsWieCRpwJlsIaMdFOOdC0A0= X-Google-Smtp-Source: ABdhPJweGWBL+bh+N8iCskyXIQ0NLdP8SSljVPAwv980QaGA7oOnkarm+NKH5fC+YhG6SpTMahtrmA== X-Received: by 2002:a2e:8546:: with SMTP id u6mr3419773ljj.185.1631391202009; Sat, 11 Sep 2021 13:13:22 -0700 (PDT) Received: from kari-VirtualBox (85-23-89-224.bb.dnainternet.fi. [85.23.89.224]) by smtp.gmail.com with ESMTPSA id c16sm298211lft.102.2021.09.11.13.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Sep 2021 13:13:21 -0700 (PDT) Date: Sat, 11 Sep 2021 23:13:19 +0300 From: Kari Argillander To: Mohammad Rasim Cc: Konstantin Komarov , ntfs3@lists.linux.dev Subject: Re: [BUG] moving big tree of files to the ntfs partition causes kernel crash Message-ID: <20210911201319.4lb6fqs57sliylhj@kari-VirtualBox> References: Precedence: bulk X-Mailing-List: ntfs3@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Sep 11, 2021 at 10:46:42PM +0300, Mohammad Rasim wrote: > Hi, > > I'm using the ntfs3 driver from the paragon git tree on the "5.10.59" kernel > under Manjaro linux. Thanks for info. Are you sure it is Paragons git tree? If you are preferring to this one: https://github.com/rmnscnce/ntfs3 then it is not Paragons git tree. Also if you are using ntfs3 from real Paragon git tree in here: https://github.com/Paragon-Software-Group/linux-ntfs3 then you probably would get wierd situations as this designed for 5.14/5.15 kernel. We appriciate help very much and will look into this, but still have to ask your help. Can you test master tree from Paragons real git? It is newest ntfs3 top of the 5.14-rc7. And ones again big thanks that you contact us and that you are testing ntfs3. And also like to ask that if this is leads some fixing do you want Reported-by tag in commit message? Argillander > > Trying to move a big tree of files ("buildroot" git tree) from an ext4 > partition to the ntfs partition is causing a kernel crash > > 1. > [ 952.614014] BUG: kernel NULL pointer dereference, address: > 000000000000000e > 2. > [ 952.614017] #PF: supervisor read access in kernel mode > 3. > [ 952.614018] #PF: error_code(0x0000) - not-present page > 4. > [ 952.614018] PGD 0 P4D 0 > 5. > [ 952.614020] Oops: 0000 [#1] PREEMPT SMP NOPTI > 6. > [ 952.614022] CPU: 3 PID: 182 Comm: kworker/u64:8 Tainted: G OE > 5.10.59-1-MANJARO #1 > 7. > [ 952.614023] Hardware name: Micro-Star International Co., Ltd > MS-7C02/B450 TOMAHAWK MAX (MS-7C02), BIOS 3.B0 05/12/2021 > 8. > [ 952.614026] Workqueue: writeback wb_workfn (flush-8:16) > 9. > [ 952.614030] RIP: 0010:ni_write_inode+0xe6b/0xed0 [ntfs3] > 10. > [ 952.614031] Code: 4f 06 44 8b 40 04 41 8b 37 48 89 c3 44 0f b7 48 > 0a 48 8b 7c 24 20 4c 01 fa 44 89 44 24 38 e8 2c 38 01 00 8b 54 24 38 > 48 89 de <44> 0f b7 48 0e 48 89 c7 44 89 4c 24 30 e8 13 fd 42 d2 44 > 8b 4c 24 > 11. > [ 952.614032] RSP: 0018:ffffb668007e7ac0 EFLAGS: 00010286 > 12. > [ 952.614033] RAX: 0000000000000000 RBX: ffff9b4880ddfc30 RCX: > 0000000000000000 > 13. > [ 952.614034] RDX: 0000000000000050 RSI: ffff9b4880ddfc30 RDI: > ffff9b46283865a4 > 14. > [ 952.614034] RBP: ffff9b461990c2c8 R08: ffff9b462b380000 R09: > 0000000000000001 > 15. > [ 952.614035] R10: 0000000000000002 R11: 0000000000000002 R12: > 0000000000000000 > 16. > [ 952.614035] R13: ffff9b458553c800 R14: ffff9b473a5c5100 R15: > ffff9b4880dddc60 > 17. > [ 952.614037] FS: 0000000000000000(0000) GS:ffff9b4c9eac0000(0000) > knlGS:0000000000000000 > 18. > [ 952.614037] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > 19. > [ 952.614038] CR2: 000000000000000e CR3: 00000004009d2000 CR4: > 0000000000350ee0 > 20. > [ 952.614039] Call Trace: > 21. > [ 952.614044] ? ntfs_get_block_vbo+0x490/0x490 [ntfs3] > 22. > [ 952.614046] ? sched_clock+0x5/0x10 > 23. > [ 952.614048] ? sched_clock_cpu+0xc/0xb0 > 24. > [ 952.614049] __writeback_single_inode+0x268/0x320 > 25. > [ 952.614051] writeback_sb_inodes+0x1fc/0x480 > 26. > [ 952.614052] __writeback_inodes_wb+0x4c/0xe0 > 27. > [ 952.614054] wb_writeback+0x1ff/0x2f0 > 28. > [ 952.614055] wb_workfn+0x2f8/0x510 > 29. > [ 952.614056] ? __update_idle_core+0x20/0xa0 > 30. > [ 952.614058] ? __switch_to_asm+0x42/0x70 > 31. > [ 952.614061] process_one_work+0x1ad/0x370 > 32. > [ 952.614062] worker_thread+0x50/0x3b0 > 33. > [ 952.614063] ? rescuer_thread+0x380/0x380 > 34. > [ 952.614064] kthread+0x133/0x150 > 35. > [ 952.614066] ? kthread_associate_blkcg+0xc0/0xc0 > 36. > [ 952.614067] ret_from_fork+0x22/0x30 > 37. > [ 952.614068] Modules linked in: xt_CHECKSUM xt_MASQUERADE > xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat > nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 > nft_counter nf_tables libcrc32c bridge stp llc rfcomm ntfs3(OE) > nfnetlink md4 rpcrdma rdma_cm iw_cm nls_utf8 ib_cm cifs ib_core > dns_resolver fscache libdes ccm cmac algif_hash algif_skcipher > af_alg joydev mousedev bnep btusb btrtl btbcm btintel bluetooth > usbhid ecdh_generic ecc uas usb_storage iwlmvm mac80211 libarc4 > snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio > snd_hda_codec_hdmi iwlwifi snd_hda_intel snd_intel_dspcfg > edac_mce_amd soundwire_intel soundwire_generic_allocation > soundwire_cadence nct6775 hwmon_vid snd_hda_codec kvm_amd > snd_hda_core kvm snd_hwdep soundwire_bus irqbypass wmi_bmof cfg80211 > snd_soc_core crct10dif_pclmul crc32_pclmul ghash_clmulni_intel > snd_compress ac97_bus snd_pcm_dmaengine snd_pcm aesni_intel r8169 > snd_timer crypto_simd ccp cryptd nls_iso8859_1 snd glue_helper realtek > 38. > [ 952.614099] vfat mdio_devres rapl fat rfkill libphy rng_core > soundcore sp5100_tco mac_hid i2c_piix4 k10temp wmi acpi_cpufreq > gpio_amdpt pinctrl_amd gpio_generic pcspkr nfsd vboxnetflt(OE) > vboxnetadp(OE) auth_rpcgss nfs_acl lockd vboxdrv(OE) grace uinput > i2c_dev sunrpc sg crypto_user fuse nfs_ssc ip_tables x_tables ext4 > crc32c_generic crc16 mbcache jbd2 crc32c_intel xhci_pci amdgpu > gpu_sched ttm i2c_algo_bit drm_kms_helper syscopyarea sysfillrect > sysimgblt fb_sys_fops cec drm agpgart > 39. > [ 952.614119] CR2: 000000000000000e > 40. > [ 952.614121] ---[ end trace f5cc69b33954c423 ]--- > 41. > [ 952.614123] RIP: 0010:ni_write_inode+0xe6b/0xed0 [ntfs3] > 42. > [ 952.614124] Code: 4f 06 44 8b 40 04 41 8b 37 48 89 c3 44 0f b7 48 > 0a 48 8b 7c 24 20 4c 01 fa 44 89 44 24 38 e8 2c 38 01 00 8b 54 24 38 > 48 89 de <44> 0f b7 48 0e 48 89 c7 44 89 4c 24 30 e8 13 fd 42 d2 44 > 8b 4c 24 > 43. > [ 952.614125] RSP: 0018:ffffb668007e7ac0 EFLAGS: 00010286 > 44. > [ 952.614125] RAX: 0000000000000000 RBX: ffff9b4880ddfc30 RCX: > 0000000000000000 > 45. > [ 952.614126] RDX: 0000000000000050 RSI: ffff9b4880ddfc30 RDI: > ffff9b46283865a4 > 46. > [ 952.614127] RBP: ffff9b461990c2c8 R08: ffff9b462b380000 R09: > 0000000000000001 > 47. > [ 952.614127] R10: 0000000000000002 R11: 0000000000000002 R12: > 0000000000000000 > 48. > [ 952.614128] R13: ffff9b458553c800 R14: ffff9b473a5c5100 R15: > ffff9b4880dddc60 > 49. > [ 952.614128] FS: 0000000000000000(0000) GS:ffff9b4c9eac0000(0000) > knlGS:0000000000000000 > 50. > [ 952.614129] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > 51. > [ 952.614130] CR2: 000000000000000e CR3: 00000004009d2000 CR4: > 0000000000350ee0 > 52. > [ 970.534491] kauditd_printk_skb: 1 callbacks suppressed > >