[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3725574.1668698074@warthog.procyon.org.uk>
Date: Thu, 17 Nov 2022 15:14:34 +0000
From: David Howells <dhowells@...hat.com>
To: Peng Zhang <zhangpeng362@...wei.com>
Cc: dhowells@...hat.com, ericvh@...il.com, lucho@...kov.net,
asmadeus@...ewreck.org, linux_oss@...debyte.com,
jlayton@...nel.org, v9fs-developer@...ts.sourceforge.net,
linux-kernel@...r.kernel.org,
syzbot+a76f6a6e524cf2080aa3@...kaller.appspotmail.com
Subject: Re: [PATCH v2] fscache: fix OOB Read in __fscache_acquire_volume
I think that the size needs to be able to hold up to 255 to handle NFS keys,
so I think the right solution has to be to fix the maths. Probably the
easiest way is to change fscache_volume::key to be "u8 *" since it
isn't a simple text string.
David
Powered by blists - more mailing lists