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: <BY2PR0301MB0711ECE423E3EC38E2D8B708A0000@BY2PR0301MB0711.namprd03.prod.outlook.com>
Date:	Wed, 18 Mar 2015 14:23:09 +0000
From:	KY Srinivasan <kys@...rosoft.com>
To:	Greg KH <gregkh@...uxfoundation.org>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
	"olaf@...fle.de" <olaf@...fle.de>,
	"apw@...onical.com" <apw@...onical.com>,
	"vkuznets@...hat.com" <vkuznets@...hat.com>,
	Nick Meier <Nick.Meier@...rosoft.com>
Subject: RE: [PATCH 4/9] Correcting truncation error for constant
 HV_CRASH_CTL_CRASH_NOTIFY



> -----Original Message-----
> From: Greg KH [mailto:gregkh@...uxfoundation.org]
> Sent: Wednesday, March 18, 2015 12:27 AM
> To: KY Srinivasan
> Cc: linux-kernel@...r.kernel.org; devel@...uxdriverproject.org;
> olaf@...fle.de; apw@...onical.com; vkuznets@...hat.com; Nick Meier
> Subject: Re: [PATCH 4/9] Correcting truncation error for constant
> HV_CRASH_CTL_CRASH_NOTIFY
> 
> On Tue, Mar 17, 2015 at 05:41:56PM -0700, K. Y. Srinivasan wrote:
> > From: Nick Meier <nmeier@...rosoft.com>
> >
> > HV_CRASH_CTL_CRASH_NOTIFY is a 64 bit number.  Depending on the
> usage context,
> > the value may be truncated. This patch is in response from the following
> > email from Intel:
> 
> "from Intel:" is really vague, please be nice and report who told you
> about this problem.
> 
> >
> >     [char-misc:char-misc-testing 25/45] drivers/hv/vmbus_drv.c:67:9: sparse:
> >                    constant 0x8000000000000000 is so big it is unsigned long
> >
> >     tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
> char-misc-testing
> >     head:   b3de8e3719e582f3182bb504295e4a8e43c8c96f
> >     commit: 96c1d0581d00f7abe033350edb021a9d947d8d81 [25/45] Drivers:
> hv: vmbus: Add support for VMBus panic notifier handler
> >     reproduce:
> >       # apt-get install sparse
> >       git checkout 96c1d0581d00f7abe033350edb021a9d947d8d81
> >       make ARCH=x86_64 allmodconfig
> >       make C=1 CF=-D__CHECK_ENDIAN__
> >
> >     sparse warnings: (new ones prefixed by >>)
> >
> >     drivers/hv/vmbus_drv.c:67:9: sparse: constant 0x8000000000000000 is so
> big it is unsigned long
> >     ...
> >
> > The current char-next branch is broken and this patch fixes
> > the bug.
> >
> > Signed-off-by: Nick Meier <nmeier@...rosoft.com>
> > Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
> 
> You forgot a "Reported-by:" here.

Greg,

Should I resend the set with corrections to this patch.

Thanks,

K. Y
--
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