<?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>Tue, 29 Sep 2026 16:54:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50048 — fbcon: Fix a NULL pointer dereference issue in fbcon_putcs</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-50048</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;fbcon: Fix a NULL pointer dereference issue in fbcon_putcs&lt;/p&gt;
&lt;p&gt;syzbot has found a NULL pointer dereference bug in fbcon.
Here is the simplified C reproducer:&lt;/p&gt;
&lt;p&gt;struct param {
	uint8_t type;
	struct tiocl_selection ts;
};&lt;/p&gt;
&lt;p&gt;int main()
{
	struct fb_con2fbmap con2fb;
	struct param param;&lt;/p&gt;
&lt;p&gt;int fd = open(&amp;#34;/dev/fb1&amp;#34;, 0, 0);&lt;/p&gt;
&lt;p&gt;con2fb.console = 0x19;
	con2fb.framebuffer = 0;
	ioctl(fd, FBIOPUT_CON2FBMAP, &amp;amp;con2fb);&lt;/p&gt;
&lt;p&gt;param.type = 2;
	param.ts.xs = 0; param.ts.ys = 0;
	param.ts.xe = 0; param.ts.ye = 0;
	param.ts.sel_mode = 0;&lt;/p&gt;
&lt;p&gt;int fd1 = open(&amp;#34;/dev/tty1&amp;#34;, O_RDWR, 0);
	ioctl(fd1, TIOCLINUX, &amp;amp;param);&lt;/p&gt;
&lt;p&gt;con2fb.console = 1;
	con2fb.framebuffer = 0;
	ioctl(fd, FBIOPUT_CON2FBMAP, &amp;amp;con2fb);&lt;/p&gt;
&lt;p&gt;return 0;
}&lt;/p&gt;
&lt;p&gt;After calling ioctl(fd1, TIOCLINUX, &amp;amp;param), the subsequent ioctl(fd, FBIOPUT_CON2FBMAP, &amp;amp;con2fb)
causes the kernel to follow a different execution path:&lt;/p&gt;
&lt;p&gt;set_con2fb_map
  -&amp;gt; con2fb_init_display
   -&amp;gt; fbcon_set_disp
    -&amp;gt; redraw_screen
     -&amp;gt; hide_cursor
      -&amp;gt; clear_selection
       -&amp;gt; highlight
        -&amp;gt; invert_screen
         -&amp;gt; do_update_region
          -&amp;gt; fbcon_putcs
           -&amp;gt; ops-&amp;gt;putcs&lt;/p&gt;
&lt;p&gt;Since ops-&amp;gt;putcs is a NULL pointer, this leads to a kernel panic.
To prevent this, we need to call set_blitting_type() within set_con2fb_map()
to properly initialize ops-&amp;gt;putcs.&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;fbcon: Fix a NULL pointer dereference issue in fbcon_putcs&lt;/p&gt;
&lt;p&gt;syzbot has found a NULL pointer dereference bug in fbcon.
Here is the simplified C reproducer:&lt;/p&gt;
&lt;p&gt;struct param {
	uint8_t type;
	struct tiocl_selection ts;
};&lt;/p&gt;
&lt;p&gt;int main()
{
	struct fb_con2fbmap con2fb;
	struct param param;&lt;/p&gt;
&lt;p&gt;int fd = open(&amp;#34;/dev/fb1&amp;#34;, 0, 0);&lt;/p&gt;
&lt;p&gt;con2fb.console = 0x19;
	con2fb.framebuffer = 0;
	ioctl(fd, FBIOPUT_CON2FBMAP, &amp;amp;con2fb);&lt;/p&gt;
&lt;p&gt;param.type = 2;
	param.ts.xs = 0; param.ts.ys = 0;
	param.ts.xe = 0; param.ts.ye = 0;
	param.ts.sel_mode = 0;&lt;/p&gt;
&lt;p&gt;int fd1 = open(&amp;#34;/dev/tty1&amp;#34;, O_RDWR, 0);
	ioctl(fd1, TIOCLINUX, &amp;amp;param);&lt;/p&gt;
&lt;p&gt;con2fb.console = 1;
	con2fb.framebuffer = 0;
	ioctl(fd, FBIOPUT_CON2FBMAP, &amp;amp;con2fb);&lt;/p&gt;
&lt;p&gt;return 0;
}&lt;/p&gt;
&lt;p&gt;After calling ioctl(fd1, TIOCLINUX, &amp;amp;param), the subsequent ioctl(fd, FBIOPUT_CON2FBMAP, &amp;amp;con2fb)
causes the kernel to follow a different execution path:&lt;/p&gt;
&lt;p&gt;set_con2fb_map
  -&amp;gt; con2fb_init_display
   -&amp;gt; fbcon_set_disp
    -&amp;gt; redraw_screen
     -&amp;gt; hide_cursor
      -&amp;gt; clear_selection
       -&amp;gt; highlight
        -&amp;gt; invert_screen
         -&amp;gt; do_update_region
          -&amp;gt; fbcon_putcs
           -&amp;gt; ops-&amp;gt;putcs&lt;/p&gt;
&lt;p&gt;Since ops-&amp;gt;putcs is a NULL pointer, this leads to a kernel panic.
To prevent this, we need to call set_blitting_type() within set_con2fb_map()
to properly initialize ops-&amp;gt;putcs.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-50048</guid>
    </item>
  </channel>
</rss>
