Re: [PATCH] fix a leak in fcntl_dirnotify()

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

 



On Sat, Jul 12, 2025 at 06:18:43PM +0100, Al Viro wrote:
> [into #fixes, unless somebody objects]
> 
> Lifetime of new_dn_mark is controlled by that of its ->fsn_mark,
> pointed to by new_fsn_mark.  Unfortunately, a failure exit had
> been inserted between the allocation of new_dn_mark and the
> call of fsnotify_init_mark(), ending up with a leak.
>     
> Fixes: 1934b212615d "file: reclaim 24 bytes from f_owner"
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> ---

I'll grab this into vfs.fixes and send it with the batch I have in
there this week.




[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