[Hyper-V] Netmask value is not parsed by hv_set_ifconfig - IP injection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
Trusty |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Wily |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Xenial |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
This bug is a continuation to bug ID 1506521 - the refreshed hv_set_ifconfig script in Python3.
On a Wily system with the new script, doing an IP injection does change the IP on the VM, however the netmask value is not parsed and gets ignored.
It gets set to a default of 255.0.0.0.
Kernel: 4.2.0-23-generic
Attaching generated ifcfg-eth0 file that is used by this script.
syslog doesn't record any related events to the netmask, and also manually executing hv_set_ifconfig against the generated ifcfg works with no errors.
The interfaces files gets modified to this:
iface eth0 inet static
address 10.123.120.199
gateway 10.123.119.1
#End of hv_set_ifconfig stanzas
CVE References
summary: |
- Hyper-V] Netmask value is not parsed by hv_set_ifconfig - IP injection + [Hyper-V] Netmask value is not parsed by hv_set_ifconfig - IP injection |
Changed in linux (Ubuntu Xenial): | |
milestone: | none → ubuntu-16.04 |
Changed in linux (Ubuntu Wily): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Wily): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-trusty verification-done-wily removed: verification-needed-trusty verification-needed-wily |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1540586
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.