Bug Fix Advisory dhcp bug fix update

Advisory: RHBA-2013:1572-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2013-11-20
Last updated on: 2013-11-20
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Workstation (v. 6)

Details

Updated dhcp packages that fix several bugs are now available for Red Hat
Enterprise Linux 6.

The Dynamic Host Configuration Protocol (DHCP) is a protocol that allows
individual devices on an IP network to get their own network configuration
information, including an IP address, a subnet mask, and a broadcast address.
The dhcp packages provide a relay agent and ISC DHCP service required to enable
and administer DHCP on a network.

This update fixes the following bugs:

* Previously, the dhcpd daemon or the dhclient utility terminated unexpectedly
with a segmentation fault when starting on an InfiniBand network interface card
(NIC) with an alias interface and a shared-network defined. Consequently, dhcpd
and dhclient could not be used with an alias interface in a different subnet on
InfiniBand NICs. A patch has been applied to address this problem, and neither
dhcpd nor dhclient now crash in this scenario. (BZ#996518)

* Prior to this update, if some of the IPv6 addresses were not in the subnet
range declared by subnet6 in the range6 statement, the DHCPv6 server incorrectly
offered an address which was not from the client's subnet. The range6 statement
parsing code has been fixed to check whether its addresses belong to the subnet,
in which the range6 statement was declared. With this update, the DHCPv6 server
now fails to start with an error message if the range6 statement is incorrect.
(BZ#902966)

* Previously, the DHCPv4 relay agent (dhcrelay) terminated unexpectedly with a
segmentation fault if dhcrelay received a packet over an interface without any
IPv4 address assigned. With this update, dhcrelay checks whether the interface
has an address assigned prior to further processing of the received packet, and
the relay agent no longer crashes in this scenario. (BZ#863936)

* Previously, when a DHCPv6 request from a DHCPv6 client came from a random port
number, the DHCPv6 server sent the reply back to the source port of the message
instead of sending it to UDP port 546, which is standard for IPv6. Consequently,
the client got the reply on the incorrect port. The reply handling in the DHCPv6
server code has been fixed, and the server now sends replies to UDP port 546.
(BZ#952126)

* Previously, the dhcpd daemon managed memory allocations incorrectly when
manipulating objects via the Object Management API (OMAPI). As a consequence,
several memory leaks were identified in dhcpd. With this update, memory
allocation management has been fixed, and dhcpd no longer leaks memory in this
scenario. (BZ#978420)

* Prior to this update, when the dhclient utility obtained a lease containing
the "next-server" option, dhclient did not expose the option to the
dhclient-script environment. Consequently, NetworkManager was not able to use
the "next-server" option from the dhclient's lease. This bug has been fixed,
dhclient now correctly exposes the "next-server" option and NetworkManager can
use the option from the dhclient's lease. (BZ#658855)

* Previously, the dhcpd server was not able to properly handle parsing of a zone
definition which contained two or more key statements. As a consequence, dhcpd
returned a misleading error message about an internal inconsistency. The zone
statement parsing code has been fixed; the error message reported by dhcpd is
now more precise in this scenario, saying that there is a multiple key
definition for the zone. (BZ#919221)

* Previously, when the dhclient utility was running under IPv6 using multiple
interfaces, only the last started instance was configured, while others lost
connection after the lease-time had expired. Consequently, the last started
instance of dhclient received all the DHCPv6 packets, while the other instances
failed to communicate with the server. With this update, dhclient is now bound
to a specified interface, and multiple instances of dhclient communicate
correctly. (BZ#1001742)

Users of dhcp are advised to upgrade to these updated packages, which fix these
bugs.


Solution

Before applying this update, make sure all previously released errata relevant
to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
dhcp-4.1.1-38.P1.el6.src.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1962580fdbc1114f3a06e4a948c322ac
SHA-256: 4cddbc223c681ea937e4756fd035e0c87bdabacebaaf0d6344c31c8f26b94cc5
 
IA-32:
dhclient-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: 34551cdb04bbbe02e25488a3facb8790
SHA-256: 4824db54e1a01275a2f02310f8014766e3509d555737b951d94fe5269019edf9
dhcp-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: b391582d4f0da09ca5d86d7edf222b47
SHA-256: 8f607ab9486d49eb1d1dd2e3fcb6ee2cf4d9814361d7b28ab046e8c52bd27318
dhcp-common-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: e5b5df7b2035fc239ec7e92db3906121
SHA-256: 38c57d523b4cb08e93e64e29d9b3574f6d1e87ca3030832016ca9bc70420a99b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
 
x86_64:
dhclient-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: c32141000ce136fa97efd368b1863928
SHA-256: f32e83d5f2ab6cb549fde17f8ea117fb576e91bfec889aaf14c7936de313f64e
dhcp-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 998d612f5212dea74dcb322358edf9a0
SHA-256: d51984290997d8a5253bfba580ff759783b7bbc98ed3aa42f9c91602f5660db1
dhcp-common-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: dac78c1f0d96327ac1a4d16a05d6a66b
SHA-256: 92dccf354a0009076ac3ee3bb72b01436e3684aa83facfc878caba585ddcae4b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-debuginfo-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1dc8c8b242042788554a0f8448513ae9
SHA-256: 6f770614900bccc29496df60fbce1545e70387cf95652ebb272ef9b125394764
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
dhcp-devel-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 44b8d7e03ddeaeeeba5692898145d791
SHA-256: 09c382bd555209b9839ed4e3b95e9b7f458a681d6137b4de84aa9b4a41da6d87
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
dhcp-4.1.1-38.P1.el6.src.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1962580fdbc1114f3a06e4a948c322ac
SHA-256: 4cddbc223c681ea937e4756fd035e0c87bdabacebaaf0d6344c31c8f26b94cc5
 
x86_64:
dhclient-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: c32141000ce136fa97efd368b1863928
SHA-256: f32e83d5f2ab6cb549fde17f8ea117fb576e91bfec889aaf14c7936de313f64e
dhcp-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 998d612f5212dea74dcb322358edf9a0
SHA-256: d51984290997d8a5253bfba580ff759783b7bbc98ed3aa42f9c91602f5660db1
dhcp-common-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: dac78c1f0d96327ac1a4d16a05d6a66b
SHA-256: 92dccf354a0009076ac3ee3bb72b01436e3684aa83facfc878caba585ddcae4b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-debuginfo-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1dc8c8b242042788554a0f8448513ae9
SHA-256: 6f770614900bccc29496df60fbce1545e70387cf95652ebb272ef9b125394764
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
dhcp-devel-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 44b8d7e03ddeaeeeba5692898145d791
SHA-256: 09c382bd555209b9839ed4e3b95e9b7f458a681d6137b4de84aa9b4a41da6d87
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
dhcp-4.1.1-38.P1.el6.src.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1962580fdbc1114f3a06e4a948c322ac
SHA-256: 4cddbc223c681ea937e4756fd035e0c87bdabacebaaf0d6344c31c8f26b94cc5
 
IA-32:
dhclient-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: 34551cdb04bbbe02e25488a3facb8790
SHA-256: 4824db54e1a01275a2f02310f8014766e3509d555737b951d94fe5269019edf9
dhcp-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: b391582d4f0da09ca5d86d7edf222b47
SHA-256: 8f607ab9486d49eb1d1dd2e3fcb6ee2cf4d9814361d7b28ab046e8c52bd27318
dhcp-common-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: e5b5df7b2035fc239ec7e92db3906121
SHA-256: 38c57d523b4cb08e93e64e29d9b3574f6d1e87ca3030832016ca9bc70420a99b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
 
PPC:
dhclient-4.1.1-38.P1.el6.ppc64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 72806b5359166b53d14d66bcb0e6fd02
SHA-256: fe8e0c968ba95a1ead006920b47b6018d3e287d3378274bb149ef42570e89373
dhcp-4.1.1-38.P1.el6.ppc64.rpm
File outdated by:  RHBA-2017:0792
    MD5: cd71509b36d5cb28737ad92911712e87
SHA-256: 0493ca3049d033db3076c693d5e0fc6153fed90be16619f9b865587ce510ca66
dhcp-common-4.1.1-38.P1.el6.ppc64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 25163ee6facdcdc3081d4a37c5b35c6a
SHA-256: f4b196b79620acaf2719d10a2b19c0a9e191efb7fb29dc836a2d2d1e3a994c92
dhcp-debuginfo-4.1.1-38.P1.el6.ppc.rpm
File outdated by:  RHBA-2017:0792
    MD5: 89ca6fdf7e02da89321fdd1989fec818
SHA-256: 92041a82df2c6fbb8ac5578acb94c073df27efce72cce9a306ff9c18a9f02c42
dhcp-debuginfo-4.1.1-38.P1.el6.ppc64.rpm
File outdated by:  RHBA-2017:0792
    MD5: d0909d5fbf758793c77d1feb1843e43b
SHA-256: bb2a45c3eed7ab8ee2bc2bc96a623f12f62dbbbb8e8f8591fcb779a8693fd9ca
dhcp-devel-4.1.1-38.P1.el6.ppc.rpm
File outdated by:  RHBA-2017:0792
    MD5: 66dbb6291c1077f2871e33baad814169
SHA-256: 1d5b8bdd5c8e3d2355f6f2b7bd64b68d5df9050c20faeeb99b08777b1b453d82
dhcp-devel-4.1.1-38.P1.el6.ppc64.rpm
File outdated by:  RHBA-2017:0792
    MD5: f693414c793b88870e72e8eb03e3561e
SHA-256: 9d4ad6b990dc12078527018dcb3333e3c6551d817e6d55c891b4f6ad367d3a81
 
s390x:
dhclient-4.1.1-38.P1.el6.s390x.rpm
File outdated by:  RHBA-2017:0792
    MD5: 0fbfa46928c1f9c243a863a09847beea
SHA-256: 58b21e07ff7fab37faa59b14906eee6fd1525649f27c7da78e175e28bdee9ebe
dhcp-4.1.1-38.P1.el6.s390x.rpm
File outdated by:  RHBA-2017:0792
    MD5: 14aea01efa70ad97b56acef20bd2d673
SHA-256: 2be34f538fba1bf6bbc6373c1d0f7df4bd992f5ff97a502a9fed8568944718fa
dhcp-common-4.1.1-38.P1.el6.s390x.rpm
File outdated by:  RHBA-2017:0792
    MD5: d2a48776b993945ce4078df25112ffcd
SHA-256: e5c4adbccc22176cd083fae4996042d677159ad55502cb2ae63c4e2284852c43
dhcp-debuginfo-4.1.1-38.P1.el6.s390.rpm
File outdated by:  RHBA-2017:0792
    MD5: 72e420029e1bbaa0327aaef41f6a16e5
SHA-256: 878a8edc4a528c19e867e3d4fd3b63d24428862cdf33d05df11471d7a987163f
dhcp-debuginfo-4.1.1-38.P1.el6.s390x.rpm
File outdated by:  RHBA-2017:0792
    MD5: ebdcc1ddb296cb277cba57ed98d7e92b
SHA-256: 61cd018df23d68a5134b90671277a59baa95c833eb57325c8775ef840f19fd02
dhcp-devel-4.1.1-38.P1.el6.s390.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0d8fb431c2c20312c43bca047610840
SHA-256: 95d7ef395fa4a7698556085bfaca052f0787d3688017b512c3cbfdabff7a924d
dhcp-devel-4.1.1-38.P1.el6.s390x.rpm
File outdated by:  RHBA-2017:0792
    MD5: 426c9769e3a9b1371e46a81c3fdbee4f
SHA-256: 19f10c17ca619dd76f4bdb722a0ff85263136ec2bbdb2efe215208cd625c5a99
 
x86_64:
dhclient-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: c32141000ce136fa97efd368b1863928
SHA-256: f32e83d5f2ab6cb549fde17f8ea117fb576e91bfec889aaf14c7936de313f64e
dhcp-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 998d612f5212dea74dcb322358edf9a0
SHA-256: d51984290997d8a5253bfba580ff759783b7bbc98ed3aa42f9c91602f5660db1
dhcp-common-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: dac78c1f0d96327ac1a4d16a05d6a66b
SHA-256: 92dccf354a0009076ac3ee3bb72b01436e3684aa83facfc878caba585ddcae4b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-debuginfo-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1dc8c8b242042788554a0f8448513ae9
SHA-256: 6f770614900bccc29496df60fbce1545e70387cf95652ebb272ef9b125394764
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
dhcp-devel-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 44b8d7e03ddeaeeeba5692898145d791
SHA-256: 09c382bd555209b9839ed4e3b95e9b7f458a681d6137b4de84aa9b4a41da6d87
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
dhcp-4.1.1-38.P1.el6.src.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1962580fdbc1114f3a06e4a948c322ac
SHA-256: 4cddbc223c681ea937e4756fd035e0c87bdabacebaaf0d6344c31c8f26b94cc5
 
IA-32:
dhclient-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: 34551cdb04bbbe02e25488a3facb8790
SHA-256: 4824db54e1a01275a2f02310f8014766e3509d555737b951d94fe5269019edf9
dhcp-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: b391582d4f0da09ca5d86d7edf222b47
SHA-256: 8f607ab9486d49eb1d1dd2e3fcb6ee2cf4d9814361d7b28ab046e8c52bd27318
dhcp-common-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: e5b5df7b2035fc239ec7e92db3906121
SHA-256: 38c57d523b4cb08e93e64e29d9b3574f6d1e87ca3030832016ca9bc70420a99b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
 
x86_64:
dhclient-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: c32141000ce136fa97efd368b1863928
SHA-256: f32e83d5f2ab6cb549fde17f8ea117fb576e91bfec889aaf14c7936de313f64e
dhcp-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 998d612f5212dea74dcb322358edf9a0
SHA-256: d51984290997d8a5253bfba580ff759783b7bbc98ed3aa42f9c91602f5660db1
dhcp-common-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: dac78c1f0d96327ac1a4d16a05d6a66b
SHA-256: 92dccf354a0009076ac3ee3bb72b01436e3684aa83facfc878caba585ddcae4b
dhcp-debuginfo-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: a0291e409ad20380806edc3eb9f3a832
SHA-256: a2326fd08ba4962d4a07a795f3c6841cfc8b7b8f0d9f9d09cd6fb9b28411b33c
dhcp-debuginfo-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 1dc8c8b242042788554a0f8448513ae9
SHA-256: 6f770614900bccc29496df60fbce1545e70387cf95652ebb272ef9b125394764
dhcp-devel-4.1.1-38.P1.el6.i686.rpm
File outdated by:  RHBA-2017:0792
    MD5: cee2edffac32e146361ec0692f64afed
SHA-256: 18f92a52efc8ef1642b74cd501ad51cfc19426bde534ba4e81c47987cc64fbe2
dhcp-devel-4.1.1-38.P1.el6.x86_64.rpm
File outdated by:  RHBA-2017:0792
    MD5: 44b8d7e03ddeaeeeba5692898145d791
SHA-256: 09c382bd555209b9839ed4e3b95e9b7f458a681d6137b4de84aa9b4a41da6d87
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

658855 - Network manager doesn't expose dhcpv4 next-server option
863936 - dhcrelay segfaults when packet is received over interface without any IPv4 address assigned
952126 - Sending dhcpv6 reply to wrong port number



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/