Public bug reported:

Yesterday an hour before shutdown my /home became read-only, with the
below error appearing in dmesg. Upon boot today, I encountered emergency
mode, and the superblock checksum was corrupt, needing debugfs repair,
as I disabled backup superblocks. Specifically-enabled superblock
features are also listed. Please prevent this cause of filesystem
corruption next time.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 26.04.1 LTS
Release:        26.04
Codename:       resolute
$ uname -a
Linux daniel-desktop3 7.0.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep  
4 09:10:14 UTC 2026 x86_64 GNU/Linux
$ dmesg
[...]
[36544.872615] ------------[ cut here ]------------
[36544.872620] WARNING: fs/jbd2/transaction.c:1563 at 
jbd2_journal_dirty_metadata+0x244/0x260, CPU#1: glean.dispatche/3037
[36544.872629] Modules linked in: rndis_host cdc_ether usbnet mii esp4 
snd_seq_dummy snd_hrtimer xt_CHECKSUM xfrm_interface xfrm6_tunnel tunnel4 
tunnel6 bridge xfrm_user stp xfrm_algo llc ip6t_REJECT nf_reject_ipv6 ip6t_rt 
ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_multiport nft_limit xt_hl 
xt_limit xt_addrtype xt_tcpudp xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat 
xt_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_policy xt_mark 
xt_comment nft_compat x_tables nf_tables nfnetlink binfmt_misc joydev 
input_leds mac_hid nls_iso8859_1 intel_rapl_msr amd_atl intel_rapl_common 
snd_hda_codec_alc882 snd_hda_codec_realtek_lib snd_hda_codec_atihdmi 
snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_hda_codec kvm_amd snd_hda_core uvcvideo snd_usb_audio snd_intel_dspcfg 
videobuf2_vmalloc ccp snd_usbmidi_lib snd_intel_sdw_acpi uvc ee1004 snd_hwdep 
videobuf2_memops snd_ump videobuf2_v4l2 snd_seq_midi kvm snd_seq_midi_event 
videobuf2_common snd_rawmidi irqbypass snd_pcm videodev snd_seq
[36544.872747]  snd_seq_device mc rapl snd_timer wmi_bmof snd i2c_piix4 k10temp 
soundcore i2c_smbus sch_fq_codel nct6775 ppdev lp nct6775_core hwmon_vid 
parport ntsync msr nvme_fabrics efi_pstore dmi_sysfs autofs4 btrfs libblake2b 
dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor 
async_tx xor raid6_pq raid1 raid0 linear amdgpu amdxcp i2c_algo_bit 
drm_ttm_helper ttm drm_exec drm_panel_backlight_quirks gpu_sched 
drm_suballoc_helper drm_buddy drm_display_helper nvme hid_multitouch cec 
rc_core nvme_core ghash_clmulni_intel r8169 video nvme_keyring ahci nvme_auth 
realtek libahci hkdf wmi hid_generic usbhid hid aesni_intel
[36544.872836] CPU: 1 UID: 1000 PID: 3037 Comm: glean.dispatche Not tainted 
7.0.0-38-generic #38-Ubuntu PREEMPT(lazy) 
[36544.872840] Hardware name: Micro-Star International Co., Ltd. MS-7C37/X570-A 
PRO (MS-7C37), BIOS H.R4 08/13/2026
[36544.872842] RIP: 0010:jbd2_journal_dirty_metadata+0x244/0x260
[36544.872847] Code: ff ff 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 c9 45 31 d2 
e9 39 8e 68 ff 4c 8b 4e 70 4d 39 ce 0f 84 45 ff ff ff e9 0d 71 7e ff <0f> 0b 41 
b8 e4 ff ff ff e9 33 ff ff ff 0f 0b 66 90 66 66 2e 0f 1f
[36544.872849] RSP: 0018:ffffcccac74e7b18 EFLAGS: 00010246
[36544.872853] RAX: 0000000000000001 RBX: ffff8b2a67de9d98 RCX: 00000000000001fd
[36544.872855] RDX: 0000000000000000 RSI: ffff8b2b53807800 RDI: 0000000000000000
[36544.872857] RBP: ffffcccac74e7b48 R08: 0000000000000000 R09: 0000000000000000
[36544.872859] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8b2b58cf6d00
[36544.872861] R13: ffff8b2fe40513b8 R14: ffff8b2a6ed7a540 R15: ffff8b2a67de9da0
[36544.872863] FS:  000077c30b3ff6c0(0000) GS:ffff8b328f07b000(0000) 
knlGS:0000000000000000
[36544.872865] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36544.872867] CR2: 000077c311725ca0 CR3: 00000001cdf00000 CR4: 0000000000f50ef0
[36544.872870] PKRU: 55555554
[36544.872872] Call Trace:
[36544.872874]  <TASK>
[36544.872876]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.872883]  __ext4_handle_dirty_metadata+0x63/0x200
[36544.872888]  ext4_orphan_file_add+0x18a/0x1f0
[36544.872891]  ? asm_exc_page_fault+0x27/0x30
[36544.872895]  ext4_orphan_add+0x125/0x380
[36544.872900]  ext4_write_inline_data_end+0x299/0x3e0
[36544.872906]  ext4_da_write_end+0x128/0x170
[36544.872911]  generic_perform_write+0x9a/0x2c0
[36544.872917]  ext4_buffered_write_iter+0x6d/0x150
[36544.872921]  ext4_file_write_iter+0xaf/0x110
[36544.872924]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.872927]  vfs_write+0x25b/0x490
[36544.872934]  ksys_write+0x71/0xf0
[36544.872938]  __x64_sys_write+0x19/0x30
[36544.872941]  x64_sys_call+0x22f/0x2390
[36544.872945]  do_syscall_64+0x105/0x5a0
[36544.872950]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.872954]  ? exc_page_fault+0x94/0x1e0
[36544.872957]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.872961]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[36544.872964] RIP: 0033:0x77c326aac802
[36544.872968] Code: 08 0f 85 61 3a ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 
4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 
0f 1f 84 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 66
[36544.872970] RSP: 002b:000077c30b3fe068 EFLAGS: 00000246 ORIG_RAX: 
0000000000000001
[36544.872973] RAX: ffffffffffffffda RBX: 000077c30b3fe11c RCX: 000077c326aac802
[36544.872975] RDX: 0000000000000001 RSI: 000077c311725ca0 RDI: 000000000000004f
[36544.872977] RBP: 000077c30b3fe090 R08: 0000000000000000 R09: 0000000000000000
[36544.872979] R10: 0000000000000000 R11: 0000000000000246 R12: 000077c30b3fe270
[36544.872981] R13: 000077c311725ca0 R14: 000077c2e0c8dd60 R15: 0000000000000071
[36544.872987]  </TASK>
[36544.872989] ---[ end trace 0000000000000000 ]---
[36544.872996] ------------[ cut here ]------------
[36544.872998] WARNING: fs/ext4/ext4_jbd2.c:367 at 
__ext4_handle_dirty_metadata+0x11c/0x200, CPU#1: glean.dispatche/3037
[36544.873002] Modules linked in: rndis_host cdc_ether usbnet mii esp4 
snd_seq_dummy snd_hrtimer xt_CHECKSUM xfrm_interface xfrm6_tunnel tunnel4 
tunnel6 bridge xfrm_user stp xfrm_algo llc ip6t_REJECT nf_reject_ipv6 ip6t_rt 
ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_multiport nft_limit xt_hl 
xt_limit xt_addrtype xt_tcpudp xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat 
xt_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_policy xt_mark 
xt_comment nft_compat x_tables nf_tables nfnetlink binfmt_misc joydev 
input_leds mac_hid nls_iso8859_1 intel_rapl_msr amd_atl intel_rapl_common 
snd_hda_codec_alc882 snd_hda_codec_realtek_lib snd_hda_codec_atihdmi 
snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel edac_mce_amd 
snd_hda_codec kvm_amd snd_hda_core uvcvideo snd_usb_audio snd_intel_dspcfg 
videobuf2_vmalloc ccp snd_usbmidi_lib snd_intel_sdw_acpi uvc ee1004 snd_hwdep 
videobuf2_memops snd_ump videobuf2_v4l2 snd_seq_midi kvm snd_seq_midi_event 
videobuf2_common snd_rawmidi irqbypass snd_pcm videodev snd_seq
[36544.873099]  snd_seq_device mc rapl snd_timer wmi_bmof snd i2c_piix4 k10temp 
soundcore i2c_smbus sch_fq_codel nct6775 ppdev lp nct6775_core hwmon_vid 
parport ntsync msr nvme_fabrics efi_pstore dmi_sysfs autofs4 btrfs libblake2b 
dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor 
async_tx xor raid6_pq raid1 raid0 linear amdgpu amdxcp i2c_algo_bit 
drm_ttm_helper ttm drm_exec drm_panel_backlight_quirks gpu_sched 
drm_suballoc_helper drm_buddy drm_display_helper nvme hid_multitouch cec 
rc_core nvme_core ghash_clmulni_intel r8169 video nvme_keyring ahci nvme_auth 
realtek libahci hkdf wmi hid_generic usbhid hid aesni_intel
[36544.873178] CPU: 1 UID: 1000 PID: 3037 Comm: glean.dispatche Tainted: G      
  W           7.0.0-38-generic #38-Ubuntu PREEMPT(lazy) 
[36544.873183] Tainted: [W]=WARN
[36544.873184] Hardware name: Micro-Star International Co., Ltd. MS-7C37/X570-A 
PRO (MS-7C37), BIOS H.R4 08/13/2026
[36544.873186] RIP: 0010:__ext4_handle_dirty_metadata+0x11c/0x200
[36544.873189] Code: 4c 89 f6 49 c7 c1 02 37 20 ae 4c 89 ef e8 9c ce 06 00 41 
ba fb ff ff ff e9 7c ff ff ff 48 89 df e8 79 26 f6 ff e9 6c ff ff ff <0f> 0b 48 
c7 c2 40 26 a6 ad 45 89 d0 4c 89 e1 44 89 fe 4c 89 f7 44
[36544.873191] RSP: 0018:ffffcccac74e7b58 EFLAGS: 00010286
[36544.873194] RAX: ffff8b2b53807800 RBX: ffff8b2b58cf6d00 RCX: 0000000000000000
[36544.873196] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[36544.873198] RBP: ffffcccac74e7b90 R08: 0000000000000000 R09: 0000000000000000
[36544.873200] R10: 00000000ffffffe4 R11: 0000000000000000 R12: ffff8b2fe40513b8
[36544.873202] R13: 0000000000000000 R14: ffffffffada67a20 R15: 0000000000000056
[36544.873204] FS:  000077c30b3ff6c0(0000) GS:ffff8b328f07b000(0000) 
knlGS:0000000000000000
[36544.873206] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36544.873209] CR2: 000077c311725ca0 CR3: 00000001cdf00000 CR4: 0000000000f50ef0
[36544.873211] PKRU: 55555554
[36544.873212] Call Trace:
[36544.873214]  <TASK>
[36544.873217]  ext4_orphan_file_add+0x18a/0x1f0
[36544.873220]  ? asm_exc_page_fault+0x27/0x30
[36544.873224]  ext4_orphan_add+0x125/0x380
[36544.873229]  ext4_write_inline_data_end+0x299/0x3e0
[36544.873234]  ext4_da_write_end+0x128/0x170
[36544.873239]  generic_perform_write+0x9a/0x2c0
[36544.873244]  ext4_buffered_write_iter+0x6d/0x150
[36544.873248]  ext4_file_write_iter+0xaf/0x110
[36544.873251]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.873254]  vfs_write+0x25b/0x490
[36544.873259]  ksys_write+0x71/0xf0
[36544.873263]  __x64_sys_write+0x19/0x30
[36544.873267]  x64_sys_call+0x22f/0x2390
[36544.873270]  do_syscall_64+0x105/0x5a0
[36544.873274]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.873277]  ? exc_page_fault+0x94/0x1e0
[36544.873281]  ? srso_alias_return_thunk+0x5/0xfbef5
[36544.873284]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[36544.873287] RIP: 0033:0x77c326aac802
[36544.873290] Code: 08 0f 85 61 3a ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 
4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 
0f 1f 84 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 66
[36544.873292] RSP: 002b:000077c30b3fe068 EFLAGS: 00000246 ORIG_RAX: 
0000000000000001
[36544.873295] RAX: ffffffffffffffda RBX: 000077c30b3fe11c RCX: 000077c326aac802
[36544.873297] RDX: 0000000000000001 RSI: 000077c311725ca0 RDI: 000000000000004f
[36544.873299] RBP: 000077c30b3fe090 R08: 0000000000000000 R09: 0000000000000000
[36544.873301] R10: 0000000000000000 R11: 0000000000000246 R12: 000077c30b3fe270
[36544.873303] R13: 000077c311725ca0 R14: 000077c2e0c8dd60 R15: 0000000000000071
[36544.873308]  </TASK>
[36544.873310] ---[ end trace 0000000000000000 ]---
[36544.873312] EXT4-fs: ext4_orphan_file_add:86: aborting transaction: error 28 
in __ext4_handle_dirty_metadata
[36544.873316] EXT4: jbd2_journal_dirty_metadata failed: handle type 1 started 
at line 713, credits 2/0, errcode -28
[36544.873319] EXT4-fs error (device dm-2) in ext4_orphan_add:186: Readonly 
filesystem
[36544.873327] Aborting journal on device dm-2-8.
[36544.895128] EXT4-fs error (device dm-2): ext4_journal_check_start:86: comm 
LS Thread: Detected aborted journal
[36544.909341] EXT4-fs (dm-2): Remounting filesystem read-only
[...]
# dumpe2fs -h /dev/dm-2
dumpe2fs 1.47.2 (1-Jan-2025)
Filesystem volume name:   <none>
Last mounted on:          /home
Filesystem UUID:          a80a899f-1adc-4dd1-9cbe-fd9ddf4d5c29
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index sparse_super2 
fast_commit orphan_file filetype needs_recovery extent 64bit flex_bg 
inline_data encrypt casefold sparse_super large_file extra_isize metadata_csum 
orphan_present
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              117964800
Block count:              471859200
Reserved block count:     0
Overhead clusters:        7663970
Free blocks:              126481735
Free inodes:              108237761
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Fri Nov  4 21:44:42 2022
Last mount time:          Thu Oct  8 03:27:48 2026
Last write time:          Thu Oct  8 12:28:33 2026
Mount count:              2
Maximum mount count:      -1
Last checked:             Thu Oct  8 03:10:32 2026
Check interval:           0 (<none>)
Lifetime writes:          19 TB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      c2a0fbde-6852-41f0-8baa-ebaf889bac89
Journal backup:           inode blocks
Checksum type:            crc32c
Checksum:                 0x3dd55b6b
Character encoding:       utf8-12.1
Orphan file inode:        18
Journal features:         journal_incompat_revoke journal_64bit 
journal_checksum_v3 FEATURE_I5
Total journal size:       1024M
Total journal blocks:     262144
Max transaction length:   261888
Fast commit length:       256
Journal sequence:         0x00c368aa
Journal start:            188230
Journal checksum type:    crc32c
Journal checksum:         0x96d5d892

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-38-generic 7.0.0-38.38
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Oct  8 13:18:26 2026
InstallationDate: Installed on 2022-11-05 (1434 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: Micro-Star International Co., Ltd. MS-7C37
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-38-generic 
root=/dev/mapper/ssdcrypt ro fbcon=font:TER16x32 rootflags=nombcache,nodev 
splash usbcore.autosuspend=-1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RfKill:
 
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-04-24 (168 days ago)
dmi.bios.date: 08/13/2026
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: H.R4
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X570-A PRO (MS-7C37)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 3.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 3.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrH.R4:bd08/13/2026:br5.17:svnMicro-StarInternationalCo.,Ltd.:pnMS-7C37:pvr3.0:rvnMicro-StarInternationalCo.,Ltd.:rnX570-APRO(MS-7C37):rvr3.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr3.0:skuTobefilledbyO.E.M.:pfaTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7C37
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 3.0
dmi.sys.vendor: Micro-Star International Co., Ltd.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

** Attachment removed: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2170223/+attachment/6007294/+files/CurrentDmesg.txt

** Attachment removed: "WifiSyslog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2170223/+attachment/6007309/+files/WifiSyslog.txt

** Attachment removed: "acpidump.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2170223/+attachment/6007310/+files/acpidump.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170223

Title:
  ext4 with inline data and orphan suddenly mounted readonly and
  checksum failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2170223/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to