diff options
| author | 2025-10-28 13:22:12 +0100 | |
|---|---|---|
| committer | 2025-12-02 10:13:32 -0600 | |
| commit | 9218dc26fd922b09858ecd3666ed57dfd8098da8 (patch) | |
| tree | e9c4b81e538688bb1447c7dc7c31d8ba88a90901 /samples/kobject/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | Merge tag 'core-bugs-2025-12-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff) | |
jfs: nlink overflow in jfs_rename
If nlink is maximal for a directory (-1) and inside that directory you
perform a rename for some child directory (not moving from the parent),
then the nlink of the first directory is first incremented and later
decremented. Normally this is fine, but when nlink = -1 this causes a
wrap around to 0, and then drop_nlink issues a warning.
After applying the patch syzbot no longer issues any warnings. I also
ran some basic fs tests to look for any regressions.
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Reported-by: syzbot+9131ddfd7870623b719f@syzkaller.appspotmail.com
Closes: https://syzbot.org/bug?extid=9131ddfd7870623b719f
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
