<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-24T18:05:25.472496+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-99024</id>
    <title>fkie_cve-2026-99024</title>
    <updated>2026-10-24T18:05:25.473774+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>optee: register TEE devices only once fully initialized</p>
<p>optee_probe() called tee_device_register() on both the client and the
supplicant device before the rest of struct optee had been initialized.</p>
<p>tee_device_register() calls cdev_device_add(), which does two things at
once: it creates /dev/tee0 and /dev/teepriv0, and it links the device
into the tee class so that class_find_device() can find it. From that
moment on the device is reachable both from user space via tee_open()
and from kernel space via tee_client_open_context(). The only gate in
teedev_open() is tee_device_get(), which merely checks that
teedev-&gt;desc is non-NULL, which was already set by tee_device_alloc().
Therefore, there is effectively no gate at all.</p>
<p>A context opened in that window can run against a struct optee where</p>
<p>- optee-&gt;call_queue.mutex is not initialized by optee_cq_init()
  - optee-&gt;supp mutex and completions is not initialized by
    optee_supp_init()
  - optee-&gt;rpmb_dev_mutex is not initialized yet,
  - the message argument cache is not initialized by
    optee_shm_arg_cache_init()
  - optee-&gt;ctx is still NULL</p>
<p>Any open session or invoke during this window takes uninitialized
mutexes and dereferences a NULL pointer.</p>
<p>Fix it by moving both tee_device_register() calls down to the point
where all of struct optee is set up.</p>
<p>[JW: adding fixes and cc]</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-99024"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-qp8f-jjvm-547w</id>
    <title>GHSA-qp8f-jjvm-547w</title>
    <updated>2026-10-24T18:05:25.473866+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>optee: register TEE devices only once fully initialized</p>
<p>optee_probe() called tee_device_register() on both the client and the
supplicant device before the rest of struct optee had been initialized.</p>
<p>tee_device_register() calls cdev_device_add(), which does two things at
once: it creates /dev/tee0 and /dev/teepriv0, and it links the device
into the tee class so that class_find_device() can find it. From that
moment on the device is reachable both from user space via tee_open()
and from kernel space via tee_client_open_context(). The only gate in
teedev_open() is tee_device_get(), which merely checks that
teedev-&gt;desc is non-NULL, which was already set by tee_device_alloc().
Therefore, there is effectively no gate at all.</p>
<p>A context opened in that window can run against a struct optee where</p>
<p>- optee-&gt;call_queue.mutex is not initialized by optee_cq_init()
  - optee-&gt;supp mutex and completions is not initialized by
    optee_supp_init()
  - optee-&gt;rpmb_dev_mutex is not initialized yet,
  - the message argument cache is not initialized by
    optee_shm_arg_cache_init()
  - optee-&gt;ctx is still NULL</p>
<p>Any open session or invoke during this window takes uninitialized
mutexes and dereferences a NULL pointer.</p>
<p>Fix it by moving both tee_device_register() calls down to the point
where all of struct optee is set up.</p>
<p>[JW: adding fixes and cc]</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-qp8f-jjvm-547w"/>
  </entry>
</feed>
