<?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://vulnerability.circl.lu</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>Thu, 01 Oct 2026 06:58:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50749 — acct: fix potential integer overflow in encode_comp_t()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50749</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;acct: fix potential integer overflow in encode_comp_t()&lt;/p&gt;
&lt;p&gt;The integer overflow is descripted with following codes:
  &amp;gt; 317 static comp_t encode_comp_t(u64 value)
  &amp;gt; 318 {
  &amp;gt; 319         int exp, rnd;
    ......
  &amp;gt; 341         exp &amp;lt;&amp;lt;= MANTSIZE;
  &amp;gt; 342         exp += value;
  &amp;gt; 343         return exp;
  &amp;gt; 344 }&lt;/p&gt;
&lt;p&gt;Currently comp_t is defined as type of &amp;#39;__u16&amp;#39;, but the variable &amp;#39;exp&amp;#39; is
type of &amp;#39;int&amp;#39;, so overflow would happen when variable &amp;#39;exp&amp;#39; in line 343 is
greater than 65535.&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;acct: fix potential integer overflow in encode_comp_t()&lt;/p&gt;
&lt;p&gt;The integer overflow is descripted with following codes:
  &amp;gt; 317 static comp_t encode_comp_t(u64 value)
  &amp;gt; 318 {
  &amp;gt; 319         int exp, rnd;
    ......
  &amp;gt; 341         exp &amp;lt;&amp;lt;= MANTSIZE;
  &amp;gt; 342         exp += value;
  &amp;gt; 343         return exp;
  &amp;gt; 344 }&lt;/p&gt;
&lt;p&gt;Currently comp_t is defined as type of &amp;#39;__u16&amp;#39;, but the variable &amp;#39;exp&amp;#39; is
type of &amp;#39;int&amp;#39;, so overflow would happen when variable &amp;#39;exp&amp;#39; in line 343 is
greater than 65535.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50749</guid>
    </item>
  </channel>
</rss>
