In the Linux kernel before 4.12, Hisilicon Network Subsystem (HNS) does not consider the ETHSSPRIVFLAGS case when retrieving ssetcount data, which allows local users to cause a denial of service (buffer overflow and memory corruption) or possibly have unspecified other impact, as demonstrated by incompatibility between hnsgetssetcount and ethtoolget_strings.