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]
Date:	Mon, 28 Sep 2015 15:20:11 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Kees Cook <keescook@...omium.org>
CC:	Ingo Molnar <mingo@...nel.org>,
	Stephen Smalley <sds@...ho.nsa.gov>,
	"x86@...nel.org" <x86@...nel.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: rwx mapping between ex_table and rodata

Need to fix.  Not sure where the rwx mapping comes from.

On September 28, 2015 3:05:33 PM PDT, Kees Cook <keescook@...omium.org> wrote:
>On Mon, Sep 28, 2015 at 2:16 PM, H. Peter Anvin <hpa@...or.com> wrote:
>> On 09/25/2015 12:22 AM, Ingo Molnar wrote:
>>>>
>>>> To me it looks like another alignment/padding issue like got fixed
>>>> before. The space between __ex_table and rodata is (seems?) unused,
>so
>>>> the default page table permissions end up being W+X. Can we fix the
>>>> default to be NX instead? It'll make these bugs stay gone.
>>>
>>> Yeah. Wanna send a patch for that?
>>>
>>
>> At least in the high mapping space, the default should be no
>permissions
>> (not present), rather than just NX.
>
>Do you mean "should be" as in, that's how it's coded now, or "should
>be" in that we need to fix it? (If we need to fix it, where is that
>"default"? I haven't been able to find it yet.)
>
>-Kees

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ