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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 22 Jan 2016 15:44:37 -0600
From:	Chris J Arges <chris.j.arges@...onical.com>
To:	jpoimboe@...hat.com, live-patching@...r.kernel.org, x86@...nel.org,
	pbonzini@...hat.com
Cc:	gleb@...nel.org, tglx@...utronix.de, mingo@...hat.com,
	hpa@...or.com, kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
	Chris J Arges <chris.j.arges@...onical.com>
Subject: [PATCH 1/2] tools/stacktool: Add __reiserfs_panic to global_noreturns list

The following false positives were noticed with stacktool:
  stacktool: fs/reiserfs/namei.o: set_de_name_and_namelen()+0x9e: return without frame pointer restore
  stacktool: fs/reiserfs/namei.o: set_de_name_and_namelen()+0x89: duplicate frame pointer save
  stacktool: fs/reiserfs/namei.o: set_de_name_and_namelen()+0x8a: duplicate frame pointer setup
  stacktool: fs/reiserfs/namei.o: set_de_name_and_namelen()+0x9e: frame pointer state mismatch
  stacktool: fs/reiserfs/namei.o: set_de_name_and_namelen()+0x0: frame pointer state mismatch

These all call into '__reiserfs_panic' which has a noreturn attribute. Add this
to the global list because this particular attribute cannot be determined from
reading the ELF object.

Signed-off-by: Chris J Arges <chris.j.arges@...onical.com>
---
 tools/stacktool/builtin-check.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/stacktool/builtin-check.c b/tools/stacktool/builtin-check.c
index 5b0e91f..23fa93d2 100644
--- a/tools/stacktool/builtin-check.c
+++ b/tools/stacktool/builtin-check.c
@@ -139,6 +139,7 @@ static bool dead_end_function(struct stacktool_file *file, struct symbol *func)
 		"__module_put_and_exit",
 		"complete_and_exit",
 		"kvm_spurious_fault",
+		"__reiserfs_panic",
 	};
 
 	if (func->bind == STB_WEAK)
-- 
2.5.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ