<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux-stable.git/drivers/misc/issei, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/'/>
<updated>2026-07-31T12:27:46+00:00</updated>
<entry>
<title>misc: issei: check bus message length before reading the command</title>
<updated>2026-07-31T12:27:46+00:00</updated>
<author>
<name>Linmao Li</name>
<email>lilinmao@kylinos.cn</email>
</author>
<published>2026-07-31T02:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=220190f97da558e67cd01c62f1b84fe77b267a5a'/>
<id>urn:sha1:220190f97da558e67cd01c62f1b84fe77b267a5a</id>
<content type='text'>
__issei_ham_process_ham_rsp() dispatches on hdr-&gt;cmd before the message
length is validated. The length comes from the firmware-owned DMA header
read in issei_dma_read(), which only bounds it from above, so firmware
sending a short bus message reaches the dispatch with less than
sizeof(struct ham_bus_message) bytes available.

For a zero-length message kmemdup() returns ZERO_SIZE_PTR, which passes
the NULL check in issei_dma_read(), and the dispatch dereferences it. A
length of one to three bytes gives a slab out-of-bounds read instead.

Reject bus messages shorter than the header before touching it, the way
the individual response handlers already validate their own length.

Fixes: 7bd4b9991db20 ("issei: implement main thread and ham messages")
Signed-off-by: Linmao Li &lt;lilinmao@kylinos.cn&gt;
Link: https://patch.msgid.link/20260731025952.3505287-1-lilinmao@kylinos.cn
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>issei: Fix size_t printk specifier in heci_{write,read}_buf()</title>
<updated>2026-07-31T12:21:26+00:00</updated>
<author>
<name>Nathan Chancellor</name>
<email>nathan@kernel.org</email>
</author>
<published>2026-07-21T21:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=284497419abd878994f0e0bdda962758f0a568dc'/>
<id>urn:sha1:284497419abd878994f0e0bdda962758f0a568dc</id>
<content type='text'>
When building for 32-bit platforms, for which 'size_t' is
'unsigned int', there are a couple of warnings around incorrect printk
specifiers:

  In file included from drivers/misc/issei/hw_heci.c:7:
  drivers/misc/issei/hw_heci.c: In function 'heci_write_hbuf':
  drivers/misc/issei/hw_heci.c:374:37: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=]
    374 |                 dev_err(&amp;idev-&gt;dev, "Data size %zu not aligned to slot size %lu\n",
        |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ...
  drivers/misc/issei/hw_heci.c:374:79: note: format string is defined here
    374 |                 dev_err(&amp;idev-&gt;dev, "Data size %zu not aligned to slot size %lu\n",
        |                                                                             ~~^
        |                                                                               |
        |                                                                               long unsigned int
        |                                                                             %u
  drivers/misc/issei/hw_heci.c: In function 'heci_read_hbuf':
  drivers/misc/issei/hw_heci.c:404:37: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=]
    404 |                 dev_err(&amp;idev-&gt;dev, "Data size %zu not aligned to slot size %lu\n",
        |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ...
  drivers/misc/issei/hw_heci.c:404:79: note: format string is defined here
    404 |                 dev_err(&amp;idev-&gt;dev, "Data size %zu not aligned to slot size %lu\n",
        |                                                                             ~~^
        |                                                                               |
        |                                                                               long unsigned int
        |                                                                             %u
  cc1: all warnings being treated as errors

Use '%zu' for printing these values, the proper printk specifier for
'size_t'.

Fixes: 8bf5e84998c3 ("issei: add heci hardware module")
Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Acked-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Link: https://patch.msgid.link/20260721-issei-fix-size_t-specifier-v1-1-246155b42d48@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>issei: add heci hardware module</title>
<updated>2026-07-17T13:48:11+00:00</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2026-05-13T14:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=8bf5e84998c3fd00ca9e29a8a8143d23ea1e8663'/>
<id>urn:sha1:8bf5e84998c3fd00ca9e29a8a8143d23ea1e8663</id>
<content type='text'>
Add support for the ISSEI (Intel Silicon Security Engine Interface)
HECI PCI devices.
Add the necessary PCI handling routines, hardware definitions,
register mappings and hardware access routines.

This enables the communication via HECI PCI device advertized by BIOS.

Reviewed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Co-developed-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Link: https://patch.msgid.link/20260513-issei-for-upstream-v1-4-f590038678f9@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>issei: implement main thread and ham messages</title>
<updated>2026-07-17T13:48:11+00:00</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2026-05-13T14:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=7bd4b9991db20b0df5a8dfbef05920eabd40de28'/>
<id>urn:sha1:7bd4b9991db20b0df5a8dfbef05920eabd40de28</id>
<content type='text'>
Introduce the main thread and HECI Active Management (HAM)
message handling for the ISSEI (Intel Silicon Security Engine
Interface) subsystem.
The main thread is responsible for managing the reset flow and
processing messages, while the HAM message handling is crucial
for initializing communication with the firmware and managing
clients.

With this implementation, the ISSEI driver is capable of performing
the required initialization and management of communication between
the host and the firmware.

Reviewed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Co-developed-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Link: https://patch.msgid.link/20260513-issei-for-upstream-v1-3-f590038678f9@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>issei: add firmware and host clients implementation, finish character device</title>
<updated>2026-07-17T13:48:11+00:00</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2026-05-13T14:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=2207e8d48088e7358dd6b08163dac95730cc1c66'/>
<id>urn:sha1:2207e8d48088e7358dd6b08163dac95730cc1c66</id>
<content type='text'>
Add the core implementation for firmware and host client
management within the ISSEI (Intel Silicon Security Engine Interface)
subsystem support for a character device to expose the ISSEI
HECI interface to user space.
The firmware client (fw_client) and host client (host_client) modules
are responsible for managing communication between the host software
and the firmware.
The character device provides a communication channel for user-space
applications to interact with the firmware on the platform.

The client modules enable the ISSEI driver to manage multiple
host clients communicating with corresponding firmware
clients, facilitating data transfers and control operations
over the HECI interface.
The character device allows user-space applications to establish
connections to firmware clients using UUIDs, exchange messages,
and control the communication flow using standard
file operation calls.

Reviewed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Co-developed-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Link: https://patch.msgid.link/20260513-issei-for-upstream-v1-2-f590038678f9@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>issei: initial driver skeleton</title>
<updated>2026-07-17T13:48:11+00:00</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2026-05-13T14:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=65f0ecb9ec85cb3a2e2372a6427dcc100691fc57'/>
<id>urn:sha1:65f0ecb9ec85cb3a2e2372a6427dcc100691fc57</id>
<content type='text'>
The ISSEI (Intel Silicon Security Engine Interface)
subsystem provides a communication channel between the host and the
Silicon Security Engine.

Prepare basic driver functions and character device
for user-space communication.
Add DMA access routines for ISSEI HECI devices.
Add of DMA-related structures and implementation of routines for
setting up DMA, as well as reading and writing DMA buffers.

Reviewed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Co-developed-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Vitaly Lubart &lt;lubvital@gmail.com&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Link: https://patch.msgid.link/20260513-issei-for-upstream-v1-1-f590038678f9@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
