summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorEdward Adam Davis <eadavis@qq.com>2025-06-18 15:31:57 +0800
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2025-06-23 19:23:04 +0200
commitd99208b91933fd2a58ed9ed321af07dacd06ddc3 (patch)
treee9131bc36eca6128799f7d1803fe4cc97a87e8f8 /tools/perf/scripts/python/libxed.py
parente841ecb139339602bc1853f5f09daa5d1ea920a2 (diff)
downloadkernel-d99208b91933fd2a58ed9ed321af07dacd06ddc3.tar.gz
fs/ntfs3: cancle set bad inode after removing name fails
The reproducer uses a file0 on a ntfs3 file system with a corrupted i_link. When renaming, the file0's inode is marked as a bad inode because the file name cannot be deleted. The underlying bug is that make_bad_inode() is called on a live inode. In some cases it's "icache lookup finds a normal inode, d_splice_alias() is called to attach it to dentry, while another thread decides to call make_bad_inode() on it - that would evict it from icache, but we'd already found it there earlier". In some it's outright "we have an inode attached to dentry - that's how we got it in the first place; let's call make_bad_inode() on it just for shits and giggles". Fixes: 78ab59fee07f ("fs/ntfs3: Rework file operations") Reported-by: syzbot+1aa90f0eb1fc3e77d969@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=1aa90f0eb1fc3e77d969 Signed-off-by: Edward Adam Davis <eadavis@qq.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
022-07-25vfio: Replace phys_pfn with pages for vfio_pin_pages()Nicolin Chen 2022-07-25vfio: Pass in starting IOVA to vfio_pin/unpin_pages APINicolin Chen 2022-07-23vfio: Make vfio_unpin_pages() return voidNicolin Chen 2022-07-20vfio: Replace the iommu notifier with a device listJason Gunthorpe 2022-07-20vfio: Replace the DMA unmapping notifier with a callbackJason Gunthorpe 2021-09-30vfio: clean up the check for mediated device in vfio_iommu_type1Christoph Hellwig 2021-09-30vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>Christoph Hellwig