<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T12:29:56.184741+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2022-49296</id>
    <title>CVE-2022-49296 — ceph: fix possible deadlock when holding Fwb to get inline_data</title>
    <updated>2026-10-02T12:29:56.188199+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>ceph: fix possible deadlock when holding Fwb to get inline_data</p>
<p>1, mount with wsync.
2, create a file with O_RDWR, and the request was sent to mds.0:</p>
<p>ceph_atomic_open()--&gt;
     ceph_mdsc_do_request(openc)
     finish_open(file, dentry, ceph_open)--&gt;
       ceph_open()--&gt;
         ceph_init_file()--&gt;
           ceph_init_file_info()--&gt;
             ceph_uninline_data()--&gt;
             {
               ...
               if (inline_version == 1 || /* initial version, no data */
                   inline_version == CEPH_INLINE_NONE)
                     goto out_unlock;
               ...
             }</p>
<p>The inline_version will be 1, which is the initial version for the
new create file. And here the ci-&gt;i_inline_version will keep with 1,
it's buggy.</p>
<p>3, buffer write to the file immediately:</p>
<p>ceph_write_iter()--&gt;
     ceph_get_caps(file, need=Fw, want=Fb, ...);
     generic_perform_write()--&gt;
       a_ops-&gt;write_begin()--&gt;
         ceph_write_begin()--&gt;
           netfs_write_begin()--&gt;
             netfs_begin_read()--&gt;
               netfs_rreq_submit_slice()--&gt;
                 netfs_read_from_server()--&gt;
                   rreq-&gt;netfs_ops-&gt;issue_read()--&gt;
                     ceph_netfs_issue_read()--&gt;
                     {
                       ...
                       if (ci-&gt;i_inline_version != CEPH_INLINE_NONE &amp;&amp;
                           ceph_netfs_issue_op_inline(subreq))…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2022-49296"/>
  </entry>
</feed>
