2022-05-03 01:17:42

by Jan Kara

[permalink] [raw]
Subject: [PATCH 0/2] ext4: Fix crash when adding entry to corrupted directory

Hello,

two patches in this series try to fix a crash when adding directory entry to a
directory with corrupted h-tree. Since I don't have the filesystem image
causing the crash, I'm not sure what was the cause but the stacktrace suggests
we have corrupted one h-tree node while modifying another one so likely
there was a cycle created in the h-tree. This series checks for it and bails
out early.

Honza