[Bug 1933402] Re: net card set VF and altname display blurred character
dann frazier
1933402 at bugs.launchpad.net
Mon Jun 28 22:11:32 UTC 2021
** Changed in: systemd (Ubuntu Impish)
Status: New => Fix Released
** Changed in: systemd (Ubuntu Hirsute)
Status: New => Fix Released
** Changed in: systemd (Ubuntu Groovy)
Status: New => Fix Released
** Description changed:
+ [Impact]
+ When running with the HWE kernel (5.4 didn't support altnames), altnames containing garbage (uninitialized memory) may get assigned to a NIC. This is 100% reproducible on arm64.
- [Bug Description]
- use ubuntu 20.04.2 to net card set VF and altname display blurred character
-
- [Steps to Reproduce]
+ [Test Case]
1) echo 1 > /sys/class/net/enp189s0f0/device/sriov_numvfs
2) ip a
3)
10: eno1v0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- link/ether 1e:d8:e1:e9:ae:25 brd ff:ff:ff:ff:ff:ff
- altname @▒ު▒
- altname enp125s0f0v0
+ link/ether 1e:d8:e1:e9:ae:25 brd ff:ff:ff:ff:ff:ff
+ altname @▒ު▒
+ altname enp125s0f0v0
11: enp189s0f0v0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- link/ether 76:ea:f4:65:dd:33 brd ff:ff:ff:ff:ff:ff
- altname ▒b▒ު▒
- altname ▒▒▒▒▒▒
+ link/ether 76:ea:f4:65:dd:33 brd ff:ff:ff:ff:ff:ff
+ altname ▒b▒ު▒
+ altname ▒▒▒▒▒▒
- [Actual Results]
- altname ▒b▒ު▒
- altname ▒▒▒▒▒▒
+ [Fix]
+ There's a one liner upstream fix that simply initializes a variable:
+ https://github.com/systemd/systemd/commit/61fd7d6720c562c88ab79062ff8d131e5e3c7b1b
- [Expected Results]
- ok
- [Reproducibility]
- 100%
-
- [Additional information]
- (Firmware version, kernel version, affected hardware, etc. if required):
-
- [Resolution]
+ [What Could Go Wrong]
+ TBD
** Changed in: systemd (Ubuntu Focal)
Status: New => In Progress
** Changed in: systemd (Ubuntu Focal)
Assignee: (unassigned) => dann frazier (dannf)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1933402
Title:
net card set VF and altname display blurred character
Status in kunpeng920:
New
Status in kunpeng920 ubuntu-20.04-hwe series:
New
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Focal:
In Progress
Status in systemd source package in Groovy:
Fix Released
Status in systemd source package in Hirsute:
Fix Released
Status in systemd source package in Impish:
Fix Released
Bug description:
[Impact]
When running with the HWE kernel (5.4 didn't support altnames), altnames containing garbage (uninitialized memory) may get assigned to a NIC. This is 100% reproducible on arm64.
[Test Case]
1) echo 1 > /sys/class/net/enp189s0f0/device/sriov_numvfs
2) ip a
3)
10: eno1v0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 1e:d8:e1:e9:ae:25 brd ff:ff:ff:ff:ff:ff
altname @▒ު▒
altname enp125s0f0v0
11: enp189s0f0v0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 76:ea:f4:65:dd:33 brd ff:ff:ff:ff:ff:ff
altname ▒b▒ު▒
altname ▒▒▒▒▒▒
[Fix]
There's a one liner upstream fix that simply initializes a variable:
https://github.com/systemd/systemd/commit/61fd7d6720c562c88ab79062ff8d131e5e3c7b1b
[What Could Go Wrong]
TBD
To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1933402/+subscriptions
More information about the foundations-bugs
mailing list