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: <tencent_71A2963037984AD4740F774567DC3C213609@qq.com>
Date: Thu, 24 Jul 2025 17:40:57 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+41ba9c82bce8d7101765@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [hfs?] KASAN: out-of-bounds Read in hfs_bnode_move

#syz test

diff --git a/fs/hfs/brec.c b/fs/hfs/brec.c
index 896396554bcc..763b6209a198 100644
--- a/fs/hfs/brec.c
+++ b/fs/hfs/brec.c
@@ -208,7 +208,7 @@ int hfs_brec_remove(struct hfs_find_data *fd)
 	}
 	hfs_bnode_write_u16(node, offsetof(struct hfs_bnode_desc, num_recs), node->num_recs);
 
-	if (rec_off == end_off)
+	if (rec_off <= end_off)
 		goto skip;
 	size = fd->keylength + fd->entrylength;
 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ