# CVE-2024-46679: ethtool: check device is present when getting link settings

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2024-09-13T05:29:13.450Z
- **Modified:** 2026-10-15T01:18:51.997Z

## Who should check

- Anyone running Linux \>= d519e17e2d01a0ee9abe083019532061b4438065, \< ec7b4f7f644018ac293cb1b02528a40a32917e62; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 842a40c7273ba1c1cb30dda50405b328de1d860e; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 7a8d98b6d6484d3ad358510366022da080c37cbc; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 9bba5955eed160102114d4cc00c3d399be9bdae4; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 94ab317024ba373d37340893d1c0358638935fbb; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< a699781c79ecf6cfe67fb00a0331b4088c7c8466
- Anyone running Linux 2.6.33

## Description

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

ethtool: check device is present when getting link settings

A sysfs reader can race with a device reset or removal, attempting to
read device state when the device is not actually present. eg:

     \[exception RIP: qed\_get\_current\_link+17\]
  \#8 \[ffffb9e4f2907c48\] qede\_get\_link\_ksettings at ffffffffc07a994a \[qede\]
  \#9 \[ffffb9e4f2907cd8\] \_\_rh\_call\_get\_link\_ksettings at ffffffff992b01a3
 \#10 \[ffffb9e4f2907d38\] \_\_ethtool\_get\_link\_ksettings at ffffffff992b04e4
 \#11 \[ffffb9e4f2907d90\] duplex\_show at ffffffff99260300
 \#12 \[ffffb9e4f2907e38\] dev\_attr\_show at ffffffff9905a01c
 \#13 \[ffffb9e4f2907e50\] sysfs\_kf\_seq\_show at ffffffff98e0145b
 \#14 \[ffffb9e4f2907e68\] seq\_read at ffffffff98d902e3
 \#15 \[ffffb9e4f2907ec8\] vfs\_read at ffffffff98d657d1
 \#16 \[ffffb9e4f2907f00\] ksys\_read at ffffffff98d65c3f
 \#17 \[ffffb9e4f2907f38\] do\_syscall\_64 at ffffffff98a052fb

 crash\> struct net\_device.state ffff9a9d21336000
    state = 5,

state 5 is \_\_LINK\_STATE\_START (0b1) and \_\_LINK\_STATE\_NOCARRIER (0b100).
The device is not present, note lack of \_\_LINK\_STATE\_PRESENT (0b10).

This is the same sort of panic as observed in commit 4224cfd7fb65
("net-sysfs: add check for netdevice being present to speed\_show").

There are many other callers of \_\_ethtool\_get\_link\_ksettings() which
don't have a device presence check.

Move this check into ethtool to protect all callers.

## Affected and fixed versions

- Linux: \>= d519e17e2d01a0ee9abe083019532061b4438065, \< ec7b4f7f644018ac293cb1b02528a40a32917e62; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 842a40c7273ba1c1cb30dda50405b328de1d860e; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 7a8d98b6d6484d3ad358510366022da080c37cbc; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 9bba5955eed160102114d4cc00c3d399be9bdae4; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 94ab317024ba373d37340893d1c0358638935fbb; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< a699781c79ecf6cfe67fb00a0331b4088c7c8466 (cvelist)
- Linux: 2.6.33 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46679. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46679.md
Affected: Linux >= d519e17e2d01a0ee9abe083019532061b4438065, < ec7b4f7f644018ac293cb1b02528a40a32917e62; >= d519e17e2d01a0ee9abe083019532061b4438065, < 842a40c7273ba1c1cb30dda50405b328de1d860e; >= d519e17e2d01a0ee9abe083019532061b4438065, < 7a8d98b6d6484d3ad358510366022da080c37cbc; >= d519e17e2d01a0ee9abe083…
Fixed in: Linux 842a40c7273ba1c1cb30dda50405b328de1d860e, Linux 7a8d98b6d6484d3ad358510366022da080c37cbc, Linux 9bba5955eed160102114d4cc00c3d399be9bdae4, Linux 94ab317024ba373d37340893d1c0358638935fbb, Linux 1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46679 being exploited?

There is no confirmed exploitation: CVE-2024-46679 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46679?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-46679?

Linux \>= d519e17e2d01a0ee9abe083019532061b4438065, \< ec7b4f7f644018ac293cb1b02528a40a32917e62; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 842a40c7273ba1c1cb30dda50405b328de1d860e; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 7a8d98b6d6484d3ad358510366022da080c37cbc; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 9bba5955eed160102114d4cc00c3d399be9bdae4; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 94ab317024ba373d37340893d1c0358638935fbb; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< a699781c79ecf6cfe67fb00a0331b4088c7c8466; Linux 2.6.33.

### Is there a fix for CVE-2024-46679?

Yes. Fixed in Linux 842a40c7273ba1c1cb30dda50405b328de1d860e, Linux 7a8d98b6d6484d3ad358510366022da080c37cbc, Linux 9bba5955eed160102114d4cc00c3d399be9bdae4, Linux 94ab317024ba373d37340893d1c0358638935fbb, Linux 1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-46679?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ec7b4f7f644018ac293cb1b02528a40a32917e62>
- patch: <https://git.kernel.org/stable/c/842a40c7273ba1c1cb30dda50405b328de1d860e>
- patch: <https://git.kernel.org/stable/c/7a8d98b6d6484d3ad358510366022da080c37cbc>
- patch: <https://git.kernel.org/stable/c/9bba5955eed160102114d4cc00c3d399be9bdae4>
- patch: <https://git.kernel.org/stable/c/94ab317024ba373d37340893d1c0358638935fbb>
- patch: <https://git.kernel.org/stable/c/1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2>
- patch: <https://git.kernel.org/stable/c/a699781c79ecf6cfe67fb00a0331b4088c7c8466>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46679>

HTML: <https://flawdb.com/CVE-2024-46679> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46679>
