<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 19:34:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49287 — tpm: fix reference counting for struct tpm_chip</title>
      <link>https://db.gcve.eu/vuln/cve-2022-49287</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tpm: fix reference counting for struct tpm_chip&lt;/p&gt;
&lt;p&gt;The following sequence of operations results in a refcount warning:&lt;/p&gt;
&lt;p&gt;1. Open device /dev/tpmrm.
2. Remove module tpm_tis_spi.
3. Write a TPM command to the file descriptor opened at step 1.&lt;/p&gt;
&lt;p&gt;------------[ cut here ]------------
WARNING: CPU: 3 PID: 1161 at lib/refcount.c:25 kobject_get+0xa0/0xa4
refcount_t: addition on 0; use-after-free.
Modules linked in: tpm_tis_spi tpm_tis_core tpm mdio_bcm_unimac brcmfmac
sha256_generic libsha256 sha256_arm hci_uart btbcm bluetooth cfg80211 vc4
brcmutil ecdh_generic ecc snd_soc_core crc32_arm_ce libaes
raspberrypi_hwmon ac97_bus snd_pcm_dmaengine bcm2711_thermal snd_pcm
snd_timer genet snd phy_generic soundcore [last unloaded: spi_bcm2835]
CPU: 3 PID: 1161 Comm: hold_open Not tainted 5.10.0ls-main-dirty #2
Hardware name: BCM2711
[&amp;lt;c0410c3c&amp;gt;] (unwind_backtrace) from [&amp;lt;c040b580&amp;gt;] (show_stack+0x10/0x14)
[&amp;lt;c040b580&amp;gt;] (show_stack) from [&amp;lt;c1092174&amp;gt;] (dump_stack+0xc4/0xd8)
[&amp;lt;c1092174&amp;gt;] (dump_stack) from [&amp;lt;c0445a30&amp;gt;] (__warn+0x104/0x108)
[&amp;lt;c0445a30&amp;gt;] (__warn) from [&amp;lt;c0445aa8&amp;gt;] (warn_slowpath_fmt+0x74/0xb8)
[&amp;lt;c0445aa8&amp;gt;] (warn_slowpath_fmt) from [&amp;lt;c08435d0&amp;gt;] (kobject_get+0xa0/0xa4)
[&amp;lt;c08435d0&amp;gt;] (kobject_get) from [&amp;lt;bf0a715c&amp;gt;] (tpm_try_get_ops+0x14/0x54 [tpm])
[&amp;lt;bf0a715c&amp;gt;] (tpm_try_get_ops [tpm]) from [&amp;lt;bf0a7d6c&amp;gt;] (tpm_common_write+0x38/0x60 [tpm])
[&amp;lt;bf0a7d6c&amp;gt;] (tpm_common_write [tpm]) from [&amp;lt;c05a7ac0&amp;gt;] (vfs_write+0xc4/0x3c0)
[&amp;lt;c05a…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tpm: fix reference counting for struct tpm_chip&lt;/p&gt;
&lt;p&gt;The following sequence of operations results in a refcount warning:&lt;/p&gt;
&lt;p&gt;1. Open device /dev/tpmrm.
2. Remove module tpm_tis_spi.
3. Write a TPM command to the file descriptor opened at step 1.&lt;/p&gt;
&lt;p&gt;------------[ cut here ]------------
WARNING: CPU: 3 PID: 1161 at lib/refcount.c:25 kobject_get+0xa0/0xa4
refcount_t: addition on 0; use-after-free.
Modules linked in: tpm_tis_spi tpm_tis_core tpm mdio_bcm_unimac brcmfmac
sha256_generic libsha256 sha256_arm hci_uart btbcm bluetooth cfg80211 vc4
brcmutil ecdh_generic ecc snd_soc_core crc32_arm_ce libaes
raspberrypi_hwmon ac97_bus snd_pcm_dmaengine bcm2711_thermal snd_pcm
snd_timer genet snd phy_generic soundcore [last unloaded: spi_bcm2835]
CPU: 3 PID: 1161 Comm: hold_open Not tainted 5.10.0ls-main-dirty #2
Hardware name: BCM2711
[&amp;lt;c0410c3c&amp;gt;] (unwind_backtrace) from [&amp;lt;c040b580&amp;gt;] (show_stack+0x10/0x14)
[&amp;lt;c040b580&amp;gt;] (show_stack) from [&amp;lt;c1092174&amp;gt;] (dump_stack+0xc4/0xd8)
[&amp;lt;c1092174&amp;gt;] (dump_stack) from [&amp;lt;c0445a30&amp;gt;] (__warn+0x104/0x108)
[&amp;lt;c0445a30&amp;gt;] (__warn) from [&amp;lt;c0445aa8&amp;gt;] (warn_slowpath_fmt+0x74/0xb8)
[&amp;lt;c0445aa8&amp;gt;] (warn_slowpath_fmt) from [&amp;lt;c08435d0&amp;gt;] (kobject_get+0xa0/0xa4)
[&amp;lt;c08435d0&amp;gt;] (kobject_get) from [&amp;lt;bf0a715c&amp;gt;] (tpm_try_get_ops+0x14/0x54 [tpm])
[&amp;lt;bf0a715c&amp;gt;] (tpm_try_get_ops [tpm]) from [&amp;lt;bf0a7d6c&amp;gt;] (tpm_common_write+0x38/0x60 [tpm])
[&amp;lt;bf0a7d6c&amp;gt;] (tpm_common_write [tpm]) from [&amp;lt;c05a7ac0&amp;gt;] (vfs_write+0xc4/0x3c0)
[&amp;lt;c05a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-49287</guid>
    </item>
  </channel>
</rss>
