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: <169905489155.439104.1007504050351939428.b4-ty@bootlin.com>
Date:   Sat, 4 Nov 2023 00:41:47 +0100
From:   Alexandre Belloni <alexandre.belloni@...tlin.com>
To:     linux-i3c@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Billy Tsai <billy_tsai@...eedtech.com>
Cc:     BMC-SW@...eedtech.com
Subject: Re: [PATCH v1] i3c/master/mipi-i3c-hci: Fix a kernel panic for
 accessing DAT_data.


On Mon, 23 Oct 2023 16:02:37 +0800, Billy Tsai wrote:
> The `i3c_master_bus_init` function may attach the I2C devices before the
> I3C bus initialization. In this flow, the DAT `alloc_entry`` will be used
> before the DAT `init`. Additionally, if the `i3c_master_bus_init` fails,
> the DAT `cleanup` will execute before the device is detached, which will
> execue DAT `free_entry` function. The above scenario can cause the driver
> to use DAT_data when it is NULL.
> 
> [...]

Applied, thanks!

[1/1] i3c/master/mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
      commit: b53e9758a31c683fc8615df930262192ed5f034b

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ