forked from torvalds/linux
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand use of __randomize_layout #188
Labels
[Feature] randstruct
randomize the internal layout of structures
good first issue
Good for newcomers
Comments
kees
added
good first issue
Good for newcomers
[Feature] randstruct
randomize the internal layout of structures
labels
Apr 29, 2022
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this issue
May 18, 2022
Struct keyring_search_context contains a pointer to `struct cred`, which is a security-critical structure and whose layout is randomized already. Apply __randomize_layout to struct keyring_search_context as well, as suggested in [1]. [1]: KSPP#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this issue
May 18, 2022
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
pcmoore
pushed a commit
to SELinuxProject/selinux-kernel
that referenced
this issue
Jun 7, 2022
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Aarqw12
pushed a commit
to gs-bluraviole/android_kernel_google_gs101
that referenced
this issue
Jan 20, 2024
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Aarqw12
pushed a commit
to gs-bluraviole/android_kernel_google_gs101
that referenced
this issue
Jan 20, 2024
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Aarqw12
pushed a commit
to gs-bluraviole/android_kernel_google_gs101
that referenced
this issue
Jan 20, 2024
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Aarqw12
pushed a commit
to gs-bluraviole/android_kernel_google_gs101
that referenced
this issue
Jan 20, 2024
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Aarqw12
pushed a commit
to gs-bluraviole/android_kernel_google_gs101
that referenced
this issue
Jan 20, 2024
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
yehonatan2020
pushed a commit
to yehonatan2020/Starlite_kernel_gs201
that referenced
this issue
Mar 2, 2024
Randomize the layout of struct selinux_audit_data as suggested in [1], since it contains a pointer to struct selinux_state, an already randomized strucure. [1]: KSPP/linux#188 Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Feature] randstruct
randomize the internal layout of structures
good first issue
Good for newcomers
Find more places to apply __randomize_layout. Qualities might include structure size, holding pointers to cred, task, or similar.
struct net_device
struct cred
struct task_struct
The text was updated successfully, but these errors were encountered: