<?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>Fri, 02 Oct 2026 12:29:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49296 — ceph: fix possible deadlock when holding Fwb to get inline_data</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49296</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;ceph: fix possible deadlock when holding Fwb to get inline_data&lt;/p&gt;
&lt;p&gt;1, mount with wsync.
2, create a file with O_RDWR, and the request was sent to mds.0:&lt;/p&gt;
&lt;p&gt;ceph_atomic_open()--&amp;gt;
     ceph_mdsc_do_request(openc)
     finish_open(file, dentry, ceph_open)--&amp;gt;
       ceph_open()--&amp;gt;
         ceph_init_file()--&amp;gt;
           ceph_init_file_info()--&amp;gt;
             ceph_uninline_data()--&amp;gt;
             {
               ...
               if (inline_version == 1 || /* initial version, no data */
                   inline_version == CEPH_INLINE_NONE)
                     goto out_unlock;
               ...
             }&lt;/p&gt;
&lt;p&gt;The inline_version will be 1, which is the initial version for the
new create file. And here the ci-&amp;gt;i_inline_version will keep with 1,
it&amp;#39;s buggy.&lt;/p&gt;
&lt;p&gt;3, buffer write to the file immediately:&lt;/p&gt;
&lt;p&gt;ceph_write_iter()--&amp;gt;
     ceph_get_caps(file, need=Fw, want=Fb, ...);
     generic_perform_write()--&amp;gt;
       a_ops-&amp;gt;write_begin()--&amp;gt;
         ceph_write_begin()--&amp;gt;
           netfs_write_begin()--&amp;gt;
             netfs_begin_read()--&amp;gt;
               netfs_rreq_submit_slice()--&amp;gt;
                 netfs_read_from_server()--&amp;gt;
                   rreq-&amp;gt;netfs_ops-&amp;gt;issue_read()--&amp;gt;
                     ceph_netfs_issue_read()--&amp;gt;
                     {
                       ...
                       if (ci-&amp;gt;i_inline_version != CEPH_INLINE_NONE &amp;amp;&amp;amp;
                           ceph_netfs_issue_op_inline(subreq))…&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;ceph: fix possible deadlock when holding Fwb to get inline_data&lt;/p&gt;
&lt;p&gt;1, mount with wsync.
2, create a file with O_RDWR, and the request was sent to mds.0:&lt;/p&gt;
&lt;p&gt;ceph_atomic_open()--&amp;gt;
     ceph_mdsc_do_request(openc)
     finish_open(file, dentry, ceph_open)--&amp;gt;
       ceph_open()--&amp;gt;
         ceph_init_file()--&amp;gt;
           ceph_init_file_info()--&amp;gt;
             ceph_uninline_data()--&amp;gt;
             {
               ...
               if (inline_version == 1 || /* initial version, no data */
                   inline_version == CEPH_INLINE_NONE)
                     goto out_unlock;
               ...
             }&lt;/p&gt;
&lt;p&gt;The inline_version will be 1, which is the initial version for the
new create file. And here the ci-&amp;gt;i_inline_version will keep with 1,
it&amp;#39;s buggy.&lt;/p&gt;
&lt;p&gt;3, buffer write to the file immediately:&lt;/p&gt;
&lt;p&gt;ceph_write_iter()--&amp;gt;
     ceph_get_caps(file, need=Fw, want=Fb, ...);
     generic_perform_write()--&amp;gt;
       a_ops-&amp;gt;write_begin()--&amp;gt;
         ceph_write_begin()--&amp;gt;
           netfs_write_begin()--&amp;gt;
             netfs_begin_read()--&amp;gt;
               netfs_rreq_submit_slice()--&amp;gt;
                 netfs_read_from_server()--&amp;gt;
                   rreq-&amp;gt;netfs_ops-&amp;gt;issue_read()--&amp;gt;
                     ceph_netfs_issue_read()--&amp;gt;
                     {
                       ...
                       if (ci-&amp;gt;i_inline_version != CEPH_INLINE_NONE &amp;amp;&amp;amp;
                           ceph_netfs_issue_op_inline(subreq))…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49296</guid>
    </item>
  </channel>
</rss>
