# CVE-2024-46770: ice: Add netif\_device\_attach/detach into PF reset flow

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; 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.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:12:28.607Z
- **Modified:** 2026-06-17T07:55:53.833Z

## Who should check

- Anyone running Linux \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 721f27f489a47ed0d8690b73fc1f070c2eb180cf; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 9e3ffb839249eca113062587659224f856fe14e5; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< efe8effe138044a4747d1112ebb8c454d1663723; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 36486c9e8e01b84faaee47203eac0b7e9cc7fa4a; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< d11a67634227f9f9da51938af085fb41a733848f
- Anyone running Linux 4.17

## Description

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

ice: Add netif\_device\_attach/detach into PF reset flow

Ethtool callbacks can be executed while reset is in progress and try to
access deleted resources, e.g. getting coalesce settings can result in a
NULL pointer dereference seen below.

Reproduction steps:
Once the driver is fully initialized, trigger reset:
	\# echo 1 \> /sys/class/net/\<interface\>/device/reset
when reset is in progress try to get coalesce settings using ethtool:
	\# ethtool -c \<interface\>

BUG: kernel NULL pointer dereference, address: 0000000000000020
PGD 0 P4D 0
Oops: Oops: 0000 \[\#1\] PREEMPT SMP PTI
CPU: 11 PID: 19713 Comm: ethtool Tainted: G S                 6.10.0-rc7+ \#7
RIP: 0010:ice\_get\_q\_coalesce+0x2e/0xa0 \[ice\]
RSP: 0018:ffffbab1e9bcf6a8 EFLAGS: 00010206
RAX: 000000000000000c RBX: ffff94512305b028 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff9451c3f2e588 RDI: ffff9451c3f2e588
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffff9451c3f2e580 R11: 000000000000001f R12: ffff945121fa9000
R13: ffffbab1e9bcf760 R14: 0000000000000013 R15: ffffffff9e65dd40
FS:  00007faee5fbe740(0000) GS:ffff94546fd80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000020 CR3: 0000000106c2e005 CR4: 00000000001706f0
Call Trace:
\<TASK\>
ice\_get\_coalesce+0x17/0x30 \[ice\]
coalesce\_prepare\_data+0x61/0x80
ethnl\_default\_doit+0xde/0x340
genl\_family\_rcv\_msg\_doit+0xf2/0x150
genl\_rcv\_msg+0x1b3/0x2c0
netlink\_rcv\_skb+0x5b/0x110
genl\_rcv+0x28/0x40
netlink\_unicast+0x19c/0x290
netlink\_sendmsg+0x222/0x490
\_\_sys\_sendto+0x1df/0x1f0
\_\_x64\_sys\_sendto+0x24/0x30
do\_syscall\_64+0x82/0x160
entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
RIP: 0033:0x7faee60d8e27

Calling netif\_device\_detach() before reset makes the net core not call
the driver when ethtool command is issued, the attempt to execute an
ethtool command during reset will result in the following message:

    netlink error: No such device

instead of NULL pointer dereference. Once reset is done and
ice\_rebuild() is executing, the netif\_device\_attach() is called to allow
for ethtool operations to occur again in a safe manner.

## Affected and fixed versions

- Linux: \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 721f27f489a47ed0d8690b73fc1f070c2eb180cf; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 9e3ffb839249eca113062587659224f856fe14e5; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< efe8effe138044a4747d1112ebb8c454d1663723; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 36486c9e8e01b84faaee47203eac0b7e9cc7fa4a; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< d11a67634227f9f9da51938af085fb41a733848f (cvelist)
- Linux: 4.17 (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-46770. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46770.md
Affected: Linux >= fcea6f3da546b93050f3534aadea7bd96c1d7349, < 721f27f489a47ed0d8690b73fc1f070c2eb180cf; >= fcea6f3da546b93050f3534aadea7bd96c1d7349, < 9e3ffb839249eca113062587659224f856fe14e5; >= fcea6f3da546b93050f3534aadea7bd96c1d7349, < efe8effe138044a4747d1112ebb8c454d1663723; >= fcea6f3da546b93050f3534…
Fixed in: Linux 721f27f489a47ed0d8690b73fc1f070c2eb180cf, Linux 9e3ffb839249eca113062587659224f856fe14e5, Linux 36486c9e8e01b84faaee47203eac0b7e9cc7fa4a

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-46770 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 721f27f489a47ed0d8690b73fc1f070c2eb180cf; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 9e3ffb839249eca113062587659224f856fe14e5; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< efe8effe138044a4747d1112ebb8c454d1663723; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< 36486c9e8e01b84faaee47203eac0b7e9cc7fa4a; \>= fcea6f3da546b93050f3534aadea7bd96c1d7349, \< d11a67634227f9f9da51938af085fb41a733848f; Linux 4.17.

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

Yes. Fixed in Linux 721f27f489a47ed0d8690b73fc1f070c2eb180cf, Linux 9e3ffb839249eca113062587659224f856fe14e5, Linux 36486c9e8e01b84faaee47203eac0b7e9cc7fa4a. No fix listed yet: follow the vendor advisory.

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

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/9e3ffb839249eca113062587659224f856fe14e5>
- patch: <https://git.kernel.org/stable/c/efe8effe138044a4747d1112ebb8c454d1663723>
- patch: <https://git.kernel.org/stable/c/36486c9e8e01b84faaee47203eac0b7e9cc7fa4a>
- patch: <https://git.kernel.org/stable/c/d11a67634227f9f9da51938af085fb41a733848f>
- other: <https://git.kernel.org/stable/c/721f27f489a47ed0d8690b73fc1f070c2eb180cf>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.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-46770>

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