[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f2b664d5-0710-67ae-fda8-d407af4df6fe@gmail.com>
Date: Tue, 22 Aug 2023 23:14:46 +0530
From: Manas Ghandat <ghandatmanas@...il.com>
To: anton@...era.com, linkinjeon@...nel.org,
syzbot+ef50f8eb00b54feb7ba2@...kaller.appspotmail.com
Cc: linux-ntfs-dev@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
Linux-kernel-mentees@...ts.linuxfoundation.org
Subject: fs/ntfs : use-after-free Read in ntfs_attr_find
Hi,
I was looking at this syzbot issue :
https://syzkaller.appspot.com/bug?extid=ef50f8eb00b54feb7ba2
While debugging I found that when we are traversing through the
attribute list, there is case when the next attribute is null (most
likely we are traversing out of the list) and thus there is this error.
I was wondering if we could add a size field to this attribute list.
This would fix this issue. Currently we are just parsing to the next
attribute using the length field.
Powered by blists - more mailing lists