diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2025-11-04 15:30:04 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-05 13:45:21 +0100 |
| commit | d3e0e8661ceb4fe3aab85af3730dbf41240d561f (patch) | |
| tree | e95b93e0ae61e41daedd096cb215ed5724ab83fc /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | 21215ce7a95ae03891708028a8c805e5dc47395e (diff) | |
Fix a drop_nlink warning in minix_rmdir
Syzbot found a drop_nlink warning that is triggered by an easy to
detect nlink corruption of a directory. This patch adds a sanity check
to minix_rmdir to prevent the warning and instead return EFSCORRUPTED to
the caller.
The changes were tested using the syzbot reproducer as well as local
testing.
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Link: https://patch.msgid.link/20251104143005.3283980-3-jkoolstra@xs4all.nl
Reviewed-by: Jan Kara <jack@suse.cz>
Reported-by: syzbot+4e49728ec1cbaf3b91d2@syzkaller.appspotmail.com
Closes: https://syzbot.org/bug?extid=4e49728ec1cbaf3b91d2
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
