summaryrefslogtreecommitdiff
path: root/libdw/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-06-28 15:27:25 +0200
committerMark Wielaard <mark@klomp.org>2020-06-28 15:27:25 +0200
commiteff30a6dabe52ac77ee5c6a0d31853fc8e3aeadb (patch)
tree2f93b843c0041905a90f19bd326c7d2c3c40e22d /libdw/ChangeLog
parentd45cc8a04a2dab73e847808761c1b0eb861a7c24 (diff)
downloadelfutils-eff30a6dabe52ac77ee5c6a0d31853fc8e3aeadb.tar.gz
libdwfl: read_address should use increasing address in intuit_kernel_bounds
In kernels from 4.14 up to 4.19 in /proc/kallsyms there are special __entry_SYSCALL_64_trampoline symbols. The problem is that they come after the last kernel address, but before the module addresses. And they are (much) smaller than the start address we found. This confuses intuit_kernel_bounds and makes it fail. Make sure to check read_address returns an increasing address when searching for the end. https://sourceware.org/bugzilla/show_bug.cgi?id=26177 Reported-by: Vitaly Chikunov <vt@altlinux.org> Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw/ChangeLog')
-rw-r--r--libdw/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 72cd5003..c11df151 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-28 Mark Wielaard <mark@klomp.org>
+
+ * linux-kernel-modules.c (intuit_kernel_bounds): Check read_address
+ returns an increasing address when searching for end.
+
2020-06-16 Mark Wielaard <mark@klomp.org>
* cfi.c (execute_cfi): Add missing FALLTHROUGH.