lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMj1kXG1mhe1_eB0oeWukpA_FMTzH5F6zFFszpDTr_x2smvzig@mail.gmail.com>
Date: Sun, 23 Feb 2025 16:45:17 +0100
From: Ard Biesheuvel <ardb@...nel.org>
To: syzbot <syzbot+00d13e505ef530a45100@...kaller.appspotmail.com>
Cc: jk@...abs.org, linux-efi@...r.kernel.org, linux-fsdevel@...r.kernel.org, 
	linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [efi?] [fs?] BUG: unable to handle kernel paging request
 in efivarfs_pm_notify

#syz test:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci

--- a/fs/efivarfs/super.c
+++ b/fs/efivarfs/super.c
@@ -367,6 +367,8 @@ static int efivarfs_fill_super(struct super_block
*sb, struct fs_context *fc)
        if (err)
                return err;

+       register_pm_notifier(&sfi->pm_nb);
+
        return efivar_init(efivarfs_callback, sb, true);
 }

@@ -552,7 +554,6 @@ static int efivarfs_init_fs_context(struct fs_context *fc)

        sfi->pm_nb.notifier_call = efivarfs_pm_notify;
        sfi->pm_nb.priority = 0;
-       register_pm_notifier(&sfi->pm_nb);

        return 0;
 }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ