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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKYAXd9Wrb4P+dNBCPiXcAdddkRxQ+2LTo-ocTBdziGLGZ_hZA@mail.gmail.com>
Date: Sat, 29 Mar 2025 22:13:22 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Sungjong Seo <sj1557.seo@...sung.com>
Cc: yuezhang.mo@...y.com, sjdev.seo@...il.com, linux-fsdevel@...r.kernel.org, 
	linux-kernel@...r.kernel.org, cpgs@...sung.com, stable@...r.kernel.org
Subject: Re: [PATCH] exfat: fix potential wrong error return from get_block

On Wed, Mar 26, 2025 at 11:49 PM Sungjong Seo <sj1557.seo@...sung.com> wrote:
>
> If there is no error, get_block() should return 0. However, when bh_read()
> returns 1, get_block() also returns 1 in the same manner.
>
> Let's set err to 0, if there is no error from bh_read()
>
> Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength")
> Cc: stable@...r.kernel.org
> Signed-off-by: Sungjong Seo <sj1557.seo@...sung.com>
Applied it to dev with Yuezhang's reviewed-by tag.
Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ