This is the mail archive of the
mailing list for the elfutils project.
[Bug backends/24075] New: Program Crash due to Wild pointer Deference in ebl_object_note function in eblobjnote.c in libebl.
- From: "wcventure at 126 dot com" <sourceware-bugzilla at sourceware dot org>
- To: elfutils-devel at sourceware dot org
- Date: Wed, 09 Jan 2019 11:33:34 +0000
- Subject: [Bug backends/24075] New: Program Crash due to Wild pointer Deference in ebl_object_note function in eblobjnote.c in libebl.
- Auto-submitted: auto-generated
Bug ID: 24075
Summary: Program Crash due to Wild pointer Deference in
ebl_object_note function in eblobjnote.c in libebl.
Assignee: unassigned at sourceware dot org
Reporter: wcventure at 126 dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Created attachment 11523
Our fuzzer caught Pointer Deference problem in eu-readelf of the latest
elfutils-0.174 code base, this inputs will cause the segment faults and I have
confirmed them with address sanitizer too. Please use the "./eu-readelf -a
$POC"to reproduce the bug. If you have any questions, please let me know.
This problem is in the code as fllow, it seem like a use-after-fee problem.
> size_t i;
> for (i = 0; i < prop.pr_datasz - 1; i++)
> printf ("%02" PRIx8 " ", (uint8_t) desc[i]);
> commit 1dabad36ee28aa76b8cf14b6426b379cabee6def
> Author: Jim Wilson <firstname.lastname@example.org>
> Date: Thu Dec 27 15:25:49 2018 -0800
> RISC-V: Improve riscv64 core file support.
> This fixes two problems. The offset for x1 is changed from 1 to 8 because
> this is a byte offset not a register skip count. Support for reading the
> PC value is added. This requires changing the testsuite to match the new
> readelf output for coredumps.
> Signed-off-by: Jim Wilson <email@example.com>
You are receiving this mail because:
You are on the CC list for the bug.