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]
Date:   Wed, 13 Sep 2023 19:25:33 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     jack@...e.cz, stable@...r.kernel.org, patches@...ts.linux.dev,
        linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
        akpm@...ux-foundation.org, linux@...ck-us.net, shuah@...nel.org,
        patches@...nelci.org, lkft-triage@...ts.linaro.org, pavel@...x.de,
        jonathanh@...dia.com, f.fainelli@...il.com,
        sudipm.mukherjee@...il.com, srw@...dewatkins.net, rwarsow@....de,
        conor@...nel.org,
        Daniel Díaz <daniel.diaz@...aro.org>,
        Tom Rix <trix@...hat.com>,
        Nathan Chancellor <nathan@...nel.org>
Subject: Re: [PATCH 6.1 000/600] 6.1.53-rc1 review

Hi Greg,

> > > > > For what it's worth, bisection points to 903b487b5ba6 ("udf: Handle
> > > > > error when adding extent to a file").
> > > >
> > > > I see the following commit is fixing the reported problem.
> > > >
> > > > commit 6d5ab7c2f7cf90877dab8f2bb06eb5ca8edc73ef
> > > > Author: Tom Rix <trix@...hat.com>
> > > > Date:   Fri Dec 30 12:53:41 2022 -0500
> > > >
> > > >     udf: initialize newblock to 0
> > > >
> > > >     The clang build reports this error
> > > >     fs/udf/inode.c:805:6: error: variable 'newblock' is used
> > > > uninitialized whenever 'if' condition is true
> > > > [-Werror,-Wsometimes-uninitialized]
> > > >             if (*err < 0)
> > > >                 ^~~~~~~~
> > > >     newblock is never set before error handling jump.
> > > >     Initialize newblock to 0 and remove redundant settings.
> > > >
> > > >     Fixes: d8b39db5fab8 ("udf: Handle error when adding extent to a file")
> > > >     Reported-by: Nathan Chancellor <nathan@...nel.org>
> > > >     Signed-off-by: Tom Rix <trix@...hat.com>
> > > >     Signed-off-by: Jan Kara <jack@...e.cz>
> > > >     Message-Id: <20221230175341.1629734-1-trix@...hat.com>
> > >
> > > Wait, where is this commit?  I don't see it in Linus's tree either, nor
> > > in linux-next.  Where did you find it?
> >
> > Can you find this commit id ?
> >
> > Commit id: 23970a1c9475b305770fd37bebfec7a10f263787
> > subject: ("udf: initialize newblock to 0")
>
> Yes, that is in 6.2.  Where did the id you used above come from?

While looking around for the fix commit i found this on Linux next,

$ git log --oneline next-20221226..next-20230106  -- fs/udf/inode.c
e86812bfac97e udf: Detect system inodes linked into directory hierarchy
453bc25de0a55 udf: Preserve link count of system files
6d5ab7c2f7cf9 udf: initialize newblock to 0

>
> confused,

Sorry for the confusion.

> greg k-h

- Naresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ