[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 3 Mar 2020 14:31:59 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
Jiri Pirko <jiri@...lanox.com>,
Alex Vesker <valex@...lanox.com>
Subject: Re: [PATCH net 02/16] devlink: validate length of region addr/len
Tue, Mar 03, 2020 at 06:05:12AM CET, kuba@...nel.org wrote:
>DEVLINK_ATTR_REGION_CHUNK_ADDR and DEVLINK_ATTR_REGION_CHUNK_LEN
>lack entries in the netlink policy. Corresponding nla_get_u64()s
>may read beyond the end of the message.
>
>Fixes: 4e54795a27f5 ("devlink: Add support for region snapshot read command")
>Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists