[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180726081727.GA6699@nautica>
Date: Thu, 26 Jul 2018 10:17:27 +0200
From: Dominique Martinet <asmadeus@...ewreck.org>
To: Tomas Bortoli <tomasbortoli@...il.com>
Cc: davem@...emloft.net, v9fs-developer@...ts.sourceforge.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
syzkaller@...glegroups.com
Subject: Re: [PATCH] 9p: fix NULL pointer dereferences
Tomas Bortoli wrote on Thu, Jul 26, 2018:
> In p9_fd_create_tcp() and p9_fd_create_unix() it is possible to get
> a NULL value in the addr parameter. Return -EINVAL in such cases.
Let's refuse that at much higher level, like v9fs_mount() in
fs/9p/vfs_super.c
I can't think of any valid reason for dev_name to be NULL, it's the
target IP or virtio handle.
--
Dominique
Powered by blists - more mailing lists