net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
The hns3 driver define an array of string to show the coalesce info, but if the kernel adds a new mode or a new state, out-of-bounds access may occur when coalesce info is read via debugfs, this patch fix the problem.
From the CVE record · Linux
The Linux kernel hns3 driver can access a string array out of bounds when coalesce information is read through debugfs. This may occur if the kernel adds a new mode or state. The input does not specify the access requirements for reading debugfs.
Engineers running Linux kernels with the hns3 driver should check their kernels; affected versions are not specified.