Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efivarfs: Defer PM notifier registration until .fill_super
syzbot reports an issue that turns out to be caused by the fact that the efivarfs PM notifier may be invoked before the efivarfs_fs_info::sb field is populated, resulting in a NULL deference. So defer the registration until efivarfs_fill_super() is invoked. Reported-by: [email protected] Tested-by: [email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
- Loading branch information