In the Linux kernel before 4.12, Hisilicon Network Subsystem (HNS) does not consider the ETH_SS_PRIV_FLAGS case when retrieving sset_count 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 hns_get_sset_count and ethtool_get_strings.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://usn.ubuntu.com/3654-1/ | vendor advisory |
http://www.securityfocus.com/bid/103349 | vdb entry third party advisory |
https://www.debian.org/security/2018/dsa-4188 | vendor advisory |
https://github.com/torvalds/linux/commit/412b65d15a7f8a93794653968308fc100f2aa87c | third party advisory patch |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=412b65d15a7f8a93794653968308fc100f2aa87c | patch vendor advisory |
https://usn.ubuntu.com/3654-2/ | vendor advisory |
https://usn.ubuntu.com/3656-1/ | vendor advisory |