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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190823.144516.1474535743879521178.davem@davemloft.net>
Date:   Fri, 23 Aug 2019 14:45:16 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     eranbe@...lanox.com
Cc:     netdev@...r.kernel.org, saeedm@...lanox.com, haiyangz@...rosoft.com
Subject: Re: [PATCH net-next] net/mlx5: Fix return code in case of hyperv
 wrong size read

From: Eran Ben Elisha <eranbe@...lanox.com>
Date: Fri, 23 Aug 2019 15:34:47 +0300

> Return code value could be non deterministic in case of wrong size read.
> With this patch, if such error occurs, set rc to be -EIO.
> 
> In addition, mlx5_hv_config_common() supports reading of
> HV_CONFIG_BLOCK_SIZE_MAX bytes only, fix to early return error with
> bad input.
> 
> Fixes: 913d14e86657 ("net/mlx5: Add wrappers for HyperV PCIe operations")
> Reported-by: Leon Romanovsky <leon@...nel.org>
> Signed-off-by: Eran Ben Elisha <eranbe@...lanox.com>

Applied, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ