summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorJori Koolstra <jkoolstra@xs4all.nl>2025-11-04 15:30:05 +0100
committerChristian Brauner <brauner@kernel.org>2025-11-05 13:45:21 +0100
commit009a2ba40303cb1e3556c41233338e609ac509ea (patch)
tree4abb5ea46c03f6738705c66948b91ce8bd8bc400 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentd3e0e8661ceb4fe3aab85af3730dbf41240d561f (diff)
Fix a drop_nlink warning in minix_rename
Syzbot found a drop_nlink warning that is triggered by an easy to detect nlink corruption. This patch adds sanity checks to minix_unlink and minix_rename 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-4-jkoolstra@xs4all.nl Reviewed-by: Jan Kara <jack@suse.cz> Reported-by: syzbot+a65e824272c5f741247d@syzkaller.appspotmail.com Closes: https://syzbot.org/bug?extid=a65e824272c5f741247d 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