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  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:   Sun, 10 Jan 2021 11:56:08 +0000
From:   Alexander Lobakin <>
To:     Thomas Bogendoerfer <>
Cc:     Arnd Bergmann <>,
        Nathan Chancellor <>,
        Nick Desaulniers <>,
        Huacai Chen <>,
        Pei Huang <>,
        Kees Cook <>,
        Alexander Lobakin <>,
        Fangrui Song <>,
        Jiaxun Yang <>,
        Ralf Baechle <>,
        Corey Minyard <>,,,,,
Subject: [PATCH v5 mips-next 1/9] MIPS: add missing PAGE_ALIGNED_DATA() section

MIPS uses its own declaration of rwdata, and thus it should be kept
in sync with the asm-generic one. Currently PAGE_ALIGNED_DATA() is
missing from the linker script, which emits the following ld

mips-alpine-linux-musl-ld: warning: orphan section
`.data..page_aligned' from `arch/mips/kernel/vdso.o' being placed
in section `.data..page_aligned'
mips-alpine-linux-musl-ld: warning: orphan section
`.data..page_aligned' from `arch/mips/vdso/vdso-image.o' being placed
in section `.data..page_aligned'

Add the necessary declaration, so the mentioned structures will be
placed in vmlinux as intended:

ffffffff80630580 D __end_once
ffffffff80630580 D __start___dyndbg
ffffffff80630580 D __start_once
ffffffff80630580 D __stop___dyndbg
ffffffff80634000 d mips_vdso_data
ffffffff80638000 d vdso_data
ffffffff80638580 D _gp
ffffffff8063c000 T __init_begin
ffffffff8063c000 D _edata
ffffffff8063c000 T _sinittext


ffffffff805a4000 D __end_init_task
ffffffff805a4000 D __nosave_begin
ffffffff805a4000 D __nosave_end
ffffffff805a4000 d mips_vdso_data
ffffffff805a8000 d vdso_data
ffffffff805ac000 D mmlist_lock
ffffffff805ac080 D tasklist_lock

Fixes: ebb5e78cc634 ("MIPS: Initial implementation of a VDSO")
Cc: # 4.4+
Signed-off-by: Alexander Lobakin <>
Reviewed-by: Kees Cook <>
Reviewed-by: Nathan Chancellor <>
 arch/mips/kernel/ | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/kernel/ b/arch/mips/kernel/
index 5e97e9d02f98..83e27a181206 100644
--- a/arch/mips/kernel/
+++ b/arch/mips/kernel/
@@ -90,6 +90,7 @@ SECTIONS

Powered by blists - more mailing lists