Executive Summary

Informations
Name CVE-2021-47556 First vendor Publication 2024-05-24
Vendor Cve Last vendor Modification 2024-06-10

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 5.5
Base Score 5.5 Environmental Score 5.5
impact SubScore 3.6 Temporal Score 5.5
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

In the Linux kernel, the following vulnerability has been resolved:

ethtool: ioctl: fix potential NULL deref in ethtool_set_coalesce()

ethtool_set_coalesce() now uses both the .get_coalesce() and .set_coalesce() callbacks. But the check for their availability is buggy, so changing the coalesce settings on a device where the driver provides only _one_ of the callbacks results in a NULL pointer dereference instead of an -EOPNOTSUPP.

Fix the condition so that the availability of both callbacks is ensured. This also matches the netlink code.

Note that reproducing this requires some effort - it only affects the legacy ioctl path, and needs a specific combination of driver options: - have .get_coalesce() and .coalesce_supported but no
.set_coalesce(), or - have .set_coalesce() but no .get_coalesce(). Here eg. ethtool doesn't
cause the crash as it first attempts to call ethtool_get_coalesce()
and bails out on error.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47556

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-476 NULL Pointer Dereference

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 7
Os 3470

Sources (Detail)

https://git.kernel.org/stable/c/0276af2176c78771da7f311621a25d7608045827
https://git.kernel.org/stable/c/abfdd9e2f0f9699015d72317f74154d3e53664e6
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Date Informations
2024-11-21 21:23:46
  • Multiple Updates
2024-11-14 02:31:37
  • Multiple Updates
2024-11-09 02:32:22
  • Multiple Updates
2024-10-26 02:30:20
  • Multiple Updates
2024-10-25 02:32:02
  • Multiple Updates
2024-10-23 02:31:26
  • Multiple Updates
2024-10-03 02:27:58
  • Multiple Updates
2024-10-02 02:26:24
  • Multiple Updates
2024-09-04 02:25:55
  • Multiple Updates
2024-08-22 02:24:26
  • Multiple Updates
2024-08-02 13:30:53
  • Multiple Updates
2024-08-02 01:27:26
  • Multiple Updates
2024-06-11 00:27:48
  • Multiple Updates
2024-05-25 00:27:24
  • Multiple Updates
2024-05-24 21:28:49
  • First insertion