Bug 216704 - ubifs_assert_failed [ubifs]: UBIFS assert failed: freed == n, in fs/ubifs/tnc.c:3072
Summary: ubifs_assert_failed [ubifs]: UBIFS assert failed: freed == n, in fs/ubifs/tnc...
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-18 06:11 UTC by Zhihao Cheng
Modified: 2022-11-18 07:53 UTC (History)
0 users

See Also:
Kernel Version: 6.1.0-rc5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
diff (828 bytes, patch)
2022-11-18 06:14 UTC, Zhihao Cheng
Details | Diff
setup.sh (1.47 KB, application/x-shellscript)
2022-11-18 06:14 UTC, Zhihao Cheng
Details
diff2 (856 bytes, patch)
2022-11-18 07:51 UTC, Zhihao Cheng
Details | Diff
diff3 (1.73 KB, patch)
2022-11-18 07:52 UTC, Zhihao Cheng
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.