CVE-2024-46679 json
ethtool: check device is present when getting link settings
published 2024-09-13 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-41940
- cvss
- 4.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.283, 5.10.225, 5.15.166, 6.1.108, 6.6.49, 6.10.8, 6.11
- Siemens RUGGEDCOM RST2428P V3.1, V3.2
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family V3.2
- Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family V3.1, V3.2
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
- linux Debian 12 6.1.112-1
- linux Debian 14, Debian 13 6.10.9-1
debian advisories DEBIAN-CVE-2024-46679
- linux Ubuntu 20.04 LTS 5.4.0-200.220
- linux Ubuntu 22.04 LTS 5.15.0-125.135
- linux Ubuntu 24.04 LTS 6.8.0-50.51
- linux-aws Ubuntu 20.04 LTS 5.4.0-1135.145
- linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
- linux-aws Ubuntu 24.04 LTS 6.8.0-1020.22
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1139.148
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
ubuntu advisories UBUNTU-CVE-2024-46679
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-503.15.1.el9_5
- rv RHEL 9 5.14.0-503.15.1.el9_5
- perf RHEL 9 5.14.0-503.15.1.el9_5
- rtla RHEL 9 5.14.0-503.15.1.el9_5
- bpftool RHEL 9 7.4.0-503.15.1.el9_5
- libperf RHEL 9 5.14.0-503.15.1.el9_5
- kernel-rt RHEL 9 5.14.0-503.15.1.el9_5
- kernel-64k RHEL 9 5.14.0-503.15.1.el9_5
red hat advisories RHSA-2025:23463RHSA-2025:23445RHSA-2025:22124RHSA-2025:22095RHSA-2025:22006RHSA-2025:19886
- kernel-rt Linux Micro 6.0 6.4.0-11.1
- kernel-source-rt Linux Micro 6.0 6.4.0-11.1
- kernel-livepatch-MICRO-6-0-RT_Update_3 Linux Micro 6.0 1-1.2
- kernel-source Linux Micro 6.0 6.4.0-20.1
- kernel-default Linux Micro 6.0 6.4.0-20.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-20.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-livepatch-MICRO-6-0_Update_3 Linux Micro 6.0 1-1.2
suse advisories SUSE-SU-2025:20077-1SUSE-SU-2025:20073-1SUSE-SU-2024:3592-1SUSE-SU-2024:3591-1SUSE-SU-2024:3587-1SUSE-SU-2024:3569-1
- kernel AlmaLinux 8 4.18.0-553.27.1.el8_10
- perf AlmaLinux 8 4.18.0-553.27.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.27.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.27.1.el8_10
almalinux advisories ALSA-2024:8856
- git.kernel.org/stable/c/ec7b4f7f644018ac293cb1b02528a40a32917e62 commit
- git.kernel.org/stable/c/842a40c7273ba1c1cb30dda50405b328de1d860e commit
- git.kernel.org/stable/c/7a8d98b6d6484d3ad358510366022da080c37cbc commit
- git.kernel.org/stable/c/9bba5955eed160102114d4cc00c3d399be9bdae4 commit
- git.kernel.org/stable/c/94ab317024ba373d37340893d1c0358638935fbb commit
- git.kernel.org/stable/c/1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2 commit
- git.kernel.org/stable/c/a699781c79ecf6cfe67fb00a0331b4088c7c8466 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-46679 updated cvss 4.7
kernel: ethtool: check device is present when getting link settings
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: no fix available
-
Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 9) libperf 5.14.0-503.15.1.el9_5, kernel-debuginfo-common-s390x 5.14.0-503.15.1.el9_5, kernel-debuginfo-common-x86_64 5.14.0-503.15.1.el9_5, kernel-debuginfo-common-aarch64 5.14.0-503.15.1.el9_5, kernel-debuginfo-common-ppc64le 5.14.0-503.15.1.el9_5fixed: vendor fix RHSA-2024:10274
-
Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.75.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.75.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.75.1.el8_8fixed: vendor fix RHSA-2024:8107
-
Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.97.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.97.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.97.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.97.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.97.1.el9_4fixed: vendor fix RHSA-2025:19886
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-503.15.1.el9_5, perf 5.14.0-503.15.1.el9_5, rtla 5.14.0-503.15.1.el9_5, kernel-devel-matched 5.14.0-503.15.1.el9_5, kernel-64k-devel-matched 5.14.0-503.15.1.el9_5, kernel-debug-devel-matched 5.14.0-503.15.1.el9_5, +6 morefixed: vendor fix RHSA-2024:10274
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.148.1.el9_2, rtla 5.14.0-284.148.1.el9_2, kernel-devel-matched 5.14.0-284.148.1.el9_2, kernel-64k-devel-matched 5.14.0-284.148.1.el9_2, kernel-debug-devel-matched 5.14.0-284.148.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.148.1.el9_2, +5 morefixed: vendor fix RHSA-2025:22095
show 18 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.97.1.el9_4, perf 5.14.0-427.97.1.el9_4, rtla 5.14.0-427.97.1.el9_4, kernel-devel-matched 5.14.0-427.97.1.el9_4, kernel-64k-devel-matched 5.14.0-427.97.1.el9_4, kernel-debug-devel-matched 5.14.0-427.97.1.el9_4, +6 morefixed: vendor fix RHSA-2025:19886
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.27.1.el8_10, kernel 4.18.0-553.27.1.el8_10, bpftool 4.18.0-553.27.1.el8_10, kernel-core 4.18.0-553.27.1.el8_10, kernel-tools 4.18.0-553.27.1.el8_10, python3-perf 4.18.0-553.27.1.el8_10, +15 morefixed: vendor fix RHSA-2024:8856
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.4.0-503.15.1.el9_5, kernel 5.14.0-503.15.1.el9_5, kernel-64k 5.14.0-503.15.1.el9_5, kernel-core 5.14.0-503.15.1.el9_5, kernel-tools 5.14.0-503.15.1.el9_5, python3-perf 5.14.0-503.15.1.el9_5, +29 morefixed: vendor fix RHSA-2024:10274
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.178.1.el8_2, kernel 4.18.0-193.178.1.el8_2, bpftool 4.18.0-193.178.1.el8_2, kernel-core 4.18.0-193.178.1.el8_2, kernel-tools 4.18.0-193.178.1.el8_2, python3-perf 4.18.0-193.178.1.el8_2, +8 morefixed: vendor fix RHSA-2025:23445
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.182.1.el8_4, kernel 4.18.0-305.182.1.el8_4, bpftool 4.18.0-305.182.1.el8_4, kernel-core 4.18.0-305.182.1.el8_4, kernel-tools 4.18.0-305.182.1.el8_4, python3-perf 4.18.0-305.182.1.el8_4, +8 morefixed: vendor fix RHSA-2025:23463
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +15 morefixed: vendor fix RHSA-2025:22006
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.148.1.el9_2, kernel 5.14.0-284.148.1.el9_2, kernel-64k 5.14.0-284.148.1.el9_2, kernel-core 5.14.0-284.148.1.el9_2, kernel-tools 5.14.0-284.148.1.el9_2, python3-perf 5.14.0-284.148.1.el9_2, +28 morefixed: vendor fix RHSA-2025:22095
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.75.1.el8_8, kernel 4.18.0-477.75.1.el8_8, bpftool 4.18.0-477.75.1.el8_8, kernel-core 4.18.0-477.75.1.el8_8, kernel-tools 4.18.0-477.75.1.el8_8, python3-perf 4.18.0-477.75.1.el8_8, +15 morefixed: vendor fix RHSA-2024:8107
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.97.1.el9_4, kernel 5.14.0-427.97.1.el9_4, kernel-64k 5.14.0-427.97.1.el9_4, kernel-core 5.14.0-427.97.1.el9_4, kernel-tools 5.14.0-427.97.1.el9_4, python3-perf 5.14.0-427.97.1.el9_4, +28 morefixed: vendor fix RHSA-2025:19886
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.182.1.el8_4, kernel 4.18.0-305.182.1.el8_4, bpftool 4.18.0-305.182.1.el8_4, kernel-core 4.18.0-305.182.1.el8_4, kernel-tools 4.18.0-305.182.1.el8_4, python3-perf 4.18.0-305.182.1.el8_4, +8 morefixed: vendor fix RHSA-2025:23463
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +8 morefixed: vendor fix RHSA-2025:22006
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.27.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.27.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.27.1.el8_10fixed: vendor fix RHSA-2024:8856
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-503.15.1.el9_5, kernel-rt-core 5.14.0-503.15.1.el9_5, kernel-rt-modules 5.14.0-503.15.1.el9_5, kernel-rt-debug-core 5.14.0-503.15.1.el9_5, kernel-rt-modules-core 5.14.0-503.15.1.el9_5, kernel-rt-debug-modules 5.14.0-503.15.1.el9_5, +4 morefixed: vendor fix RHSA-2024:10274
-
Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-core 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-modules 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-debug-core 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-modules-core 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-debug-modules 5.14.0-284.148.1.rt14.433.el9_2, +4 morefixed: vendor fix RHSA-2025:22124
-
Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.97.1.el9_4, kernel-rt-core 5.14.0-427.97.1.el9_4, kernel-rt-modules 5.14.0-427.97.1.el9_4, kernel-rt-debug-core 5.14.0-427.97.1.el9_4, kernel-rt-modules-core 5.14.0-427.97.1.el9_4, kernel-rt-debug-modules 5.14.0-427.97.1.el9_4, +4 morefixed: vendor fix RHSA-2025:19886
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-503.15.1.el9_5, kernel-rt-kvm 5.14.0-503.15.1.el9_5, kernel-rt-core 5.14.0-503.15.1.el9_5, kernel-rt-modules 5.14.0-503.15.1.el9_5, kernel-rt-debug-kvm 5.14.0-503.15.1.el9_5, kernel-rt-debug-core 5.14.0-503.15.1.el9_5, +6 morefixed: vendor fix RHSA-2024:10274
-
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-kvm 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-core 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-modules 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-debug-kvm 5.14.0-284.148.1.rt14.433.el9_2, kernel-rt-debug-core 5.14.0-284.148.1.rt14.433.el9_2, +6 morefixed: vendor fix RHSA-2025:22124
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.97.1.el9_4, kernel-rt-kvm 5.14.0-427.97.1.el9_4, kernel-rt-core 5.14.0-427.97.1.el9_4, kernel-rt-modules 5.14.0-427.97.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.97.1.el9_4, kernel-rt-debug-core 5.14.0-427.97.1.el9_4, +6 morefixed: vendor fix RHSA-2025:19886
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-102-01 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-25-226-07 updated cvss 5.5
Siemens Third-Party Components in SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.2affected: fixed in V3.2 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.2affected: fixed in V3.2
-
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < 3.2affected: fixed in V3.2 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-25-226-15 updated cvss 5.5
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.1 Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < 3.1affected: fixed in V3.1 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familynot affected
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens RUGGEDCOM RST2428P
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
- Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/ec7b4f7f644018ac293cb1b02528a40a32917e62
patch
-
git.kernel.org
/stable/c/842a40c7273ba1c1cb30dda50405b328de1d860e
patch
-
git.kernel.org
/stable/c/7a8d98b6d6484d3ad358510366022da080c37cbc
patch
-
git.kernel.org
/stable/c/9bba5955eed160102114d4cc00c3d399be9bdae4
patch
-
git.kernel.org
/stable/c/94ab317024ba373d37340893d1c0358638935fbb
patch
-
git.kernel.org
/stable/c/1d6d9b5b1b95bfeccb84386a51b7e6c510ec13b2
patch
-
git.kernel.org
/stable/c/a699781c79ecf6cfe67fb00a0331b4088c7c8466
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
- lists.debian.org /debian-lts-announce/2024/10/msg00003.html
- cert-portal.siemens.com /productcert/html/ssa-265688.html
- cert-portal.siemens.com /productcert/html/ssa-355557.html
- cert-portal.siemens.com /productcert/html/ssa-613116.html
Sources
- CVE List CVE-2024-46679
- NVD CVE-2024-46679
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.