CVE-2021-47241
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/05/2024
Last modified:
04/04/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ethtool: strset: fix message length calculation<br />
<br />
Outer nest for ETHTOOL_A_STRSET_STRINGSETS is not accounted for.<br />
This may result in ETHTOOL_MSG_STRSET_GET producing a warning like:<br />
<br />
calculated message payload length (684) not sufficient<br />
WARNING: CPU: 0 PID: 30967 at net/ethtool/netlink.c:369 ethnl_default_doit+0x87a/0xa20<br />
<br />
and a splat.<br />
<br />
As usually with such warnings three conditions must be met for the warning<br />
to trigger:<br />
- there must be no skb size rounding up (e.g. reply_size of 684);<br />
- string set must be per-device (so that the header gets populated);<br />
- the device name must be at least 12 characters long.<br />
<br />
all in all with current user space it looks like reading priv flags<br />
is the only place this could potentially happen. Or with syzbot :)
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.6 (including) | 5.10.46 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.12.13 (excluding) |
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:5.13:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/cfc7f0e70d649e6d2233fba0d9390b525677d971
- https://git.kernel.org/stable/c/e175aef902697826d344ce3a12189329848fe898
- https://git.kernel.org/stable/c/fb3a948143688e14e2cfd2a2812877923d0e5e92
- https://git.kernel.org/stable/c/cfc7f0e70d649e6d2233fba0d9390b525677d971
- https://git.kernel.org/stable/c/e175aef902697826d344ce3a12189329848fe898
- https://git.kernel.org/stable/c/fb3a948143688e14e2cfd2a2812877923d0e5e92