<?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-09-29T15:06:04.634850+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-2026-23297</id>
    <title>CVE-2026-23297 — nfsd: Fix cred ref leak in nfsd_nl_threads_set_doit().</title>
    <updated>2026-09-29T15:06:04.636534+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>nfsd: Fix cred ref leak in nfsd_nl_threads_set_doit().</p>
<p>syzbot reported memory leak of struct cred. [0]</p>
<p>nfsd_nl_threads_set_doit() passes get_current_cred() to
nfsd_svc(), but put_cred() is not called after that.</p>
<p>The cred is finally passed down to _svc_xprt_create(),
which calls get_cred() with the cred for struct svc_xprt.</p>
<p>The ownership of the refcount by get_current_cred() is not
transferred to anywhere and is just leaked.</p>
<p>nfsd_svc() is also called from write_threads(), but it does
not bump file-&gt;f_cred there.</p>
<p>nfsd_nl_threads_set_doit() is called from sendmsg() and
current-&gt;cred does not go away.</p>
<p>Let's use current_cred() in nfsd_nl_threads_set_doit().</p>
<p>[0]:
BUG: memory leak
unreferenced object 0xffff888108b89480 (size 184):
  comm "syz-executor", pid 5994, jiffies 4294943386
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 369454a7):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4958 [inline]
    slab_alloc_node mm/slub.c:5263 [inline]
    kmem_cache_alloc_noprof+0x412/0x580 mm/slub.c:5270
    prepare_creds+0x22/0x600 kernel/cred.c:185
    copy_creds+0x44/0x290 kernel/cred.c:286
    copy_process+0x7a7/0x2870 kernel/fork.c:2086
    kernel_clone+0xac/0x6e0 kernel/fork.c:2651
    __do_sys_clone+0x7f/0xb0 kernel/fo…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-23297"/>
  </entry>
</feed>
