Bug 216704

Summary: ubifs_assert_failed [ubifs]: UBIFS assert failed: freed == n, in fs/ubifs/tnc.c:3072
Product: File System Reporter: Zhihao Cheng (chengzhihao1)
Component: OtherAssignee: fs_other
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 6.1.0-rc5 Subsystem:
Regression: No Bisected commit-id:
Attachments: diff
setup.sh
diff2
diff3

Description Zhihao Cheng 2022-11-18 06:11:54 UTC
1. Apply diff
2. ./setup.sh 1
3. dd if=/dev/urandom of=/root/temp/file bs=4K count=10
4. sync && umount temp

[ 3843.752697] free 3 n 0
[ 3843.756703] UBIFS error (ubi0:0 pid 1684): ubifs_assert_failed [ubifs]: UBIFS assert failed: freed == n, in fs/ubifs/tnc.c:3072
Comment 1 Zhihao Cheng 2022-11-18 06:14:26 UTC
Created attachment 303204 [details]
diff
Comment 2 Zhihao Cheng 2022-11-18 06:14:37 UTC
Created attachment 303205 [details]
setup.sh
Comment 3 Zhihao Cheng 2022-11-18 07:51:30 UTC
Created attachment 303206 [details]
diff2
Comment 4 Zhihao Cheng 2022-11-18 07:52:06 UTC
Created attachment 303207 [details]
diff3
Comment 5 Zhihao Cheng 2022-11-18 07:53:08 UTC
Apply diff2 and diff3 to construct other paths
fsstress -d temp -l0 -n 1000 -p 4
umount temp