mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] ecryptfs leaks an inode on lookup failure -> kernel BUG in generic_shutdown_super()
@ 2026-08-28  3:18 Farhad Alemi
  2026-08-28 16:57 ` Tyler Hicks
  0 siblings, 1 reply; 3+ messages in thread
From: Farhad Alemi @ 2026-08-28  3:18 UTC (permalink / raw)
  To: Tyler Hicks, Alexander Viro, Christian Brauner
  Cc: falemi, ecryptfs, linux-fsdevel, linux-kernel

Hello,

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.

Happy to test a patch if that would help.

Regards,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-08  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28  3:18 [BUG] ecryptfs leaks an inode on lookup failure -> kernel BUG in generic_shutdown_super() Farhad Alemi
2026-08-28 16:57 ` Tyler Hicks
2026-09-08  4:50   ` Farhad Alemi

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®