Bug 505514

Summary: kernel: ensure devname passed to SO_BINDTODEVICE is NULL-terminated [rhel-3]
Product: Red Hat Enterprise Linux 3 Reporter: Eugene Teo (Security Response) <eteo>
Component: kernelAssignee: Don Howard <dhoward>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: high    
Version: 3.9CC: dhoward, lwang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-03 22:00:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eugene Teo (Security Response) 2009-06-12 07:58:28 UTC
Description of problem:
Ensure device name passed to SO_BINDTODEVICE is NULL terminated.
    
Found by Solar Designer.

Note that, to abuse this, you need capable(CAP_NET_RAW)).

Upstream commit:
http://git.kernel.org/linus/f67ed26f2b3e92c0450deae3ffc3fff21c878a75

Comment 3 Don Howard 2009-10-16 18:49:58 UTC
A patch for this issue has been included in build 2.4.21-61.EL.

Comment 9 errata-xmlrpc 2009-11-03 22:00:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1550.html