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: <aYIJ5qttFNmL_Roq@stanley.mountain>
Date: Tue, 3 Feb 2026 17:44:54 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Balbir Singh <balbirs@...dia.com>
Cc: oe-kbuild@...ts.linux.dev, Alistair Popple <apopple@...dia.com>,
	lkp@...el.com, oe-kbuild-all@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linux Memory Management List <linux-mm@...ck.org>,
	Björn Töpel <bjorn@...osinc.com>,
	Jason Gunthorpe <jgg@...dia.com>
Subject: Re: lib/test_hmm.c:932 dmirror_migrate_to_system() error:
 uninitialized symbol 'ret'.

On Tue, Feb 03, 2026 at 09:34:40PM +1100, Balbir Singh wrote:
> > 4c2e0f764eb4444 Alex Sierra     2022-07-15  928  out:
> > 4c2e0f764eb4444 Alex Sierra     2022-07-15  929  	mmap_read_unlock(mm);
> > 4c2e0f764eb4444 Alex Sierra     2022-07-15  930  	mmput(mm);
> > 4c2e0f764eb4444 Alex Sierra     2022-07-15  931  
> > 4c2e0f764eb4444 Alex Sierra     2022-07-15 @932  	return ret;
> > 4c2e0f764eb4444 Alex Sierra     2022-07-15  933  }
> > 
> 
> The code looks older than the current top of master? The smatch warning is still valid though. I was wondering
> did smatch get new heuristics to catch this?

Sorry, I can't explain what happened here.  I had seen the warning before
years ago and not reported it.  :(  I don't know why the zero-day bot is
only complaining now though, or why it blames that specific commit.

regards,
dan carpenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ