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]
Message-ID: <1433835155-6894-1-git-send-email-gilf@ezchip.com>
Date:	Tue, 9 Jun 2015 10:32:33 +0300
From:	Gil Fruchter <gilf@...hip.com>
To:	<rostedt@...dmis.org>, <mingo@...hat.com>
CC:	<linux-kernel@...r.kernel.org>, <giladb@...hip.com>,
	<cmetcalf@...hip.com>, <noamc@...hip.com>,
	Gil Fruchter <gilf@...hip.com>
Subject: [PATCH v2 0/2] Fix tracing with non-continuous cpu ids

Currently exception occures due to access beyond buffer_iter
range while using index of cpu bigger than num_possible_cpus().

In order to fix buffer allocation size for non-continuous cpu ids
we allocate according to the max cpu id and not according to the
amount of possible cpus.

This series also includes a checkpatch warning fix for using
kzalloc with multiply instead of kcalloc.

Happy tracing,
Gil

v2:
  Update commit description for patch 1/2.

Gil Fruchter (2):
  tracing: Prefer kcalloc over kzalloc with multiply
  tracing: Fix for non-continuous cpu ids

 kernel/trace/trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ