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: <aWez4WDgQ_Lp_bVq@mail.minyard.net>
Date: Wed, 14 Jan 2026 09:18:57 -0600
From: Corey Minyard <corey@...yard.net>
To: Matt Johnston <matt@...econstruct.com.au>
Cc: Andrew Manley <andrew.manley@...lingtech.com>,
	Corey Minyard <minyard@....org>,
	openipmi-developer@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipmi: ipmb: initialise event handler read bytes

On Wed, Jan 14, 2026 at 10:10:34AM +0800, Matt Johnston wrote:
> Hi Corey,
> 
> On Tue, 2026-01-13 at 10:00 -0600, Corey Minyard wrote:
> > On Tue, Jan 13, 2026 at 05:41:34PM +0800, Matt Johnston wrote:
> > > IPMB doesn't use i2c reads, but the handler needs to set a value.
> > > Otherwise an i2c read will return an uninitialised value from the bus
> > > driver.
> > 
> > This is fine, I suppose.  It's probably better to do this.
> > 
> > Are you actually using this code?  How was it found?
> 
> I'm not using IPMB, so haven't tested the patch on hardware.
> We received a patch for mctp-i2c read handling, that made me notice 
> the uninitialised value problem there. I had a look over other 
> i2c_slave_register() kernel users to see if the problem was common
> (mctp-i2c used ipmi-ipmb as a bit of a reference during development too).

Ok, thanks for the history on this.  It's in my tree.

-corey

> 
> https://lore.kernel.org/netdev/20260108101829.1140448-1-
> zhangjian.3032@...edance.com/
> https://lore.kernel.org/netdev/20260113-mctp-read-fix-v1-1-
> 70c4b59c741c@...econstruct.com.au/
> 
> Cheers,
> Matt
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ