Revert "linux kernel: disable CONFIG_USERFAULTFD to avoid CVE-2022-2590 for now"

This reverts commit 098f4de336.

CVE-2022-2590 is fixed in Linux >= 5.19.6.
This commit is contained in:
Xi Ruoyao 2022-09-11 12:01:31 +08:00
parent e502de1ab0
commit a710d35e1f
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -159,8 +159,6 @@ File systems --->
<screen role="nodump">Processor type and features ---&gt;
[*] Support x2apic [CONFIG_X86_X2APIC]
Memory Management options ---&gt;
[ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD]
Device Drivers ---&gt;
[*] PCI Support ---&gt; [CONFIG_PCI]
[*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
@ -254,16 +252,6 @@ Device Drivers ---&gt;
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>Enable userfaultfd() system call</parameter></term>
<listitem>
<para>If this option is enabled, a security vulnerability not
resolved in Linux-&linux-version; yet will be exploitable.
Disable this option to avoid the vulnerability. This system call
is not used by any part of LFS or BLFS.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Alternatively, <command>make oldconfig</command> may be more