<?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 12:37:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-46041 — greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-46041</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;greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()&lt;/p&gt;
&lt;p&gt;hdlc_append() calls usleep_range() to wait for circular buffer space,
but it is called with tx_producer_lock (a spinlock) held via
hdlc_tx_frames() -&amp;gt; hdlc_append_tx_frame()/hdlc_append_tx_u8()/etc.
Sleeping while holding a spinlock is illegal and can trigger
&amp;#34;BUG: scheduling while atomic&amp;#34;.&lt;/p&gt;
&lt;p&gt;Fix this by moving the buffer-space wait out of hdlc_append() and into
hdlc_tx_frames(), before the spinlock is acquired.  The new flow:&lt;/p&gt;
&lt;p&gt;1. Pre-calculate the worst-case encoded frame length.
 2. Wait (with sleep) outside the lock until enough space is available,
    kicking the TX consumer work to drain the buffer.
 3. Acquire the spinlock, re-verify space, and write the entire frame
    atomically.&lt;/p&gt;
&lt;p&gt;This ensures that sleeping only happens without any lock held, and
that frames are either fully enqueued or not written at all.&lt;/p&gt;
&lt;p&gt;This bug is found by CodeQL static analysis tool (interprocedural
sleep-in-atomic query) and my code review.&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;greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()&lt;/p&gt;
&lt;p&gt;hdlc_append() calls usleep_range() to wait for circular buffer space,
but it is called with tx_producer_lock (a spinlock) held via
hdlc_tx_frames() -&amp;gt; hdlc_append_tx_frame()/hdlc_append_tx_u8()/etc.
Sleeping while holding a spinlock is illegal and can trigger
&amp;#34;BUG: scheduling while atomic&amp;#34;.&lt;/p&gt;
&lt;p&gt;Fix this by moving the buffer-space wait out of hdlc_append() and into
hdlc_tx_frames(), before the spinlock is acquired.  The new flow:&lt;/p&gt;
&lt;p&gt;1. Pre-calculate the worst-case encoded frame length.
 2. Wait (with sleep) outside the lock until enough space is available,
    kicking the TX consumer work to drain the buffer.
 3. Acquire the spinlock, re-verify space, and write the entire frame
    atomically.&lt;/p&gt;
&lt;p&gt;This ensures that sleeping only happens without any lock held, and
that frames are either fully enqueued or not written at all.&lt;/p&gt;
&lt;p&gt;This bug is found by CodeQL static analysis tool (interprocedural
sleep-in-atomic query) and my code review.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-46041</guid>
    </item>
  </channel>
</rss>
