Re: [syzbot] [fs?] general protection fault in configfs_depend_item_unlocked
From: syzbot
Date: Mon Sep 14 2026 - 05:31:27 EST
> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git cba2348ab114
This crash does not have a reproducer. I cannot test it.
>
> diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c
> index eda80c2a2d38..301a64f41887 100644
> --- a/fs/configfs/dir.c
> +++ b/fs/configfs/dir.c
> @@ -1244,6 +1244,9 @@ int configfs_depend_item_unlocked(struct configfs_subsystem *caller_subsys,
> return -EINVAL;
>
> parent = target->ci_group;
> + if (!parent)
> + return -ENOENT;
> +
> /*
> * This may happen when someone is trying to depend root
> * directory of some subsystem
>
>