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-next>] [day] [month] [year] [list]
Date:   Thu, 25 May 2023 10:21:15 +0000
From:   Keerthana Kalyanasundaram <keerthanak@...are.com>
To:     "keescook@...omium.org" <keescook@...omium.org>,
        "linux-hardening@...r.kernel.org" <linux-hardening@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     Alexey Makhalov <amakhalov@...are.com>,
        Ajay Kaher <akaher@...are.com>,
        Vasavi Sirnapalli <vsirnapalli@...are.com>
Subject: PROBLEM: Using Randomize structure layout GCC plugin doesn't generate
 proper debuginfo 

Hello,

I’m reporting this bug in randomize strcture layout plugin in GCC plugins code of linux kernel tree.
When I compile the kernel with randomize structure layout GCC plugin, the resulting debuginfo does not have the randomised structures.

To reproduce this, I have a C sample program and a script to compile the program with and without randomize_layout_plugin
from linux kernel, the resulted debuginfo in both cases are same. Though the plugin shuffles the structure members, the resulting debuginfo 
has unshuffled structure.

I have found an old bug in GCC reporting the same https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 This bug has been closed as invalid though there was a conversation between PaX maintainers and GCC devs.

I assume this issue has been there since the randomize_layout_plugin has been added in kernel. Please correct me if I’m wrong.

Please let me know, if you need more information. I hope you are able to fix this issue.

Thanks
Keerthana

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ