[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20995] New: Read-only data in ELF libraries may be remapped writ
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/20995] New: Read-only data in ELF libraries may be remapped writable at runtime |
Date: |
Mon, 26 Dec 2016 00:15:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20995
Bug ID: 20995
Summary: Read-only data in ELF libraries may be remapped
writable at runtime
Product: binutils
Version: 2.28 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
Variables defined in shared libraries are copied into an executable's .bss
section when code in the executable is non-PIC and thus would require dynamic
text relocations to access the variable directly in the shared library. Recent
x86 toolchains also copy variables into the executable to gain a small speed
improvement.
The problem is that if the variable was originally read-only, the copy in .bss
is writable, potentially opening a security hole.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20995] New: Read-only data in ELF libraries may be remapped writable at runtime,
amodra at gmail dot com <=
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, amodra at gmail dot com, 2016/12/25
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2016/12/26
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2016/12/26
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2016/12/27
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2016/12/27
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2016/12/28
- [Bug ld/20995] Read-only data in ELF libraries may be remapped writable at runtime, cvs-commit at gcc dot gnu.org, 2016/12/28