mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tyler Hicks <code@tyhicks.com>
To: Farhad Alemi <farhad.alemi@berkeley.edu>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
	Christian Brauner <brauner@kernel.org>,
	falemi@asu.edu, ecryptfs@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] ecryptfs leaks an inode on lookup failure -> kernel BUG in generic_shutdown_super()
Date: Fri, 28 Aug 2026 11:57:22 -0500	[thread overview]
Message-ID: <apG98qJyYqvcTXIh@yaupon> (raw)
In-Reply-To: <CA+0ovCgYP920GT68hAJK6Trjyv1kGv2dZAuem4LEunycQ=POww@mail.gmail.com>

On 2026-08-27 20:18:11, Farhad Alemi wrote:
> Hello,

Hi - Thank you for the report.

> As part of the kernel research at ASU's SEFCOM
> lab, we hit the crash below. Crash reports can be found here:
> 
>   https://github.com/farhad-alemi/public_bug_reports/tree/main/128-ecryptfs-i_new-inode-leak-lookup-failure/
> 
>   ecryptfs_i_size_read: Error attempting to initialize the lower file
> for the dentry with name [victim]; rc = [-26]
>   VFS: Busy inodes after unmount of ecryptfs (ecryptfs)
>   kernel BUG at fs/super.c:779!
>   Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
>   Call Trace:
>    kill_anon_super+0x3b/0x70
>    ecryptfs_kill_block_super+0x44/0xa0
>    deactivate_locked_super+0xbc/0x110
>    cleanup_mnt+0x437/0x4d0
>    task_work_run+0x1d9/0x270
>    exit_to_user_mode_loop+0x14e/0x540
>    do_syscall_64+0x317/0x510
>   Kernel panic - not syncing: Fatal exception
> 
> Our reproducer.c is available upon request.

Yes, please provide reproducer.c.

Tyler

> Happy to test a patch if that would help.
> 
> Regards,

  reply	other threads:[~2026-08-28 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-28  3:18 Farhad Alemi
2026-08-28 16:57 ` Tyler Hicks [this message]
2026-09-08  4:50   ` Farhad Alemi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=apG98qJyYqvcTXIh@yaupon \
    --to=code@tyhicks.com \
    --cc=brauner@kernel.org \
    --cc=ecryptfs@vger.kernel.org \
    --cc=falemi@asu.edu \
    --cc=farhad.alemi@berkeley.edu \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®