lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <B6E22992-FF45-44E3-8FBE-D157BED7B922@posteo.net>
Date: Mon, 18 Mar 2024 15:48:11 +0000
From: Charalampos Mitrodimas <charmitro@...teo.net>
To: syzbot <syzbot+eb83fe1cce5833cd66a0@...kaller.appspotmail.com>
Cc: asmadeus@...ewreck.org,
 ericvh@...nel.org,
 linux-fsdevel@...r.kernel.org,
 linux-kernel@...r.kernel.org,
 linux_oss@...debyte.com,
 lucho@...kov.net,
 syzkaller-bugs@...glegroups.com,
 v9fs@...ts.linux.dev
Subject: Re: [syzbot] [v9fs?] KMSAN: uninit-value in v9fs_evict_inode

please test uv in v9fs_evict_inode

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 360a5304ec03..5d046f63e5fa 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -353,7 +353,8 @@ void v9fs_evict_inode(struct inode *inode)
 	filemap_fdatawrite(&inode->i_data);

 #ifdef CONFIG_9P_FSCACHE
-	fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false);
+	if (v9fs_inode_cookie(v9inode))
+		fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false);
 #endif
 }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ