Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2016 08:02:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206749] Lack of checks on values in ELF headers in kernel linker
Message-ID:  <bug-206749-8-eg5cs687tO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206749-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206749-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206749

CTurt <cturt@hardenedbsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|New                         |Closed

--- Comment #2 from CTurt <cturt@hardenedbsd.org> ---
Sorry, made a little mistake in my report, in `link_elf_ctf_get` and
`link_elf_ctf_get` the `e_shentsize` member is checked:

    hdr->e_shentsize !=3D sizeof(Elf_Shdr);

It doesn't matter than `e_shnum` isn't checked because it is impossible to =
get
`nlen` to overflow with this small `e_shentsize`.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206749-8-eg5cs687tO>