Re: [PATCH vfs.all 00/26] fs & block: remove bdev->bd_inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun 07-04-24 10:20:39, Yu Kuai wrote:
> Hi, Christian!
> Hi, Jan!
> +CC Gustavo
> 
> While testing this set, I found that the branch vfs.all seems broken,
> xfstests report success while lots of BUG is reported in dmesg:
> 
> [22709.079704] =============================================================================^M
> [22709.082404] BUG kmalloc-16 (Not tainted): Right Redzone overwritten^M
> [22709.084148] -----------------------------------------------------------------------------^M
> [22709.084148] ^M
> [22709.086784] 0xffff88817d52e7a0-0xffff88817d52e7a7 @offset=1952. First
> byte 0x0 instead of 0xcc^M
> [22709.089169] Allocated in do_handle_open+0x97/0x440 age=10 cpu=13
> pid=814795^M
> [22709.091158]  __kmalloc+0x41d/0x5e0^M
> [22709.092153]  do_handle_open+0x97/0x440^M
> [22709.093240]  __x64_sys_open_by_handle_at+0x23/0x30^M
> [22709.094482]  do_syscall_64+0xb1/0x210^M
> [22709.095316]  entry_SYSCALL_64_after_hwframe+0x6c/0x74^M
> [22709.096414] Freed in kvfree+0x4c/0x60 age=43560 cpu=15 pid=813506^M
> [22709.097719]  kfree+0x31c/0x530^M
> [22709.098396]  kvfree+0x4c/0x60^M
> [22709.099048]  ext4_mb_release+0x29c/0x570^M
> [22709.099901]  ext4_put_super+0x17f/0x590^M
> [22709.100735]  generic_shutdown_super+0xba/0x240^M
> [22709.101698]  kill_block_super+0x22/0x70^M
> [22709.102525]  ext4_kill_sb+0x2a/0x70^M
> [22709.103297]  deactivate_locked_super+0x4f/0xe0^M
> [22709.104261]  deactivate_super+0x81/0x90^M
> [22709.104876]  cleanup_mnt+0xe0/0x1b0^M
> [22709.105419]  __cleanup_mnt+0x1a/0x30^M
> [22709.105964]  task_work_run+0x88/0x100^M
> [22709.106531]  syscall_exit_to_user_mode+0x3cc/0x3e0^M
> [22709.107263]  do_syscall_64+0xc5/0x210^M
> [22709.107820]  entry_SYSCALL_64_after_hwframe+0x6c/0x74^M
> 
> While digging this problem, I found that commit 1b43c4629756 ("fs:
> Annotate struct file_handle with __counted_by() and use struct_size()")
> might made a mistake, and I verified following patch can fix the
> problem.

Yep, this should have been fixed recently in VFS tree as well.

								Honza
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux