# CVE-2024-35911: ice: fix memory corruption bug with suspend and rebuild

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-05-19T08:35:04.299Z
- **Modified:** 2026-06-17T07:35:42.257Z

## Who should check

- Anyone running Linux \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< e40a02f06ceb0e0b0183e0b973ac5dbf8f75edec; \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< 11ff8392943e08a35cb0aa19d638b02db745f170; \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< 1cb7fdb1dfde1aab66780b4ba44dba6402172111; ca03b327224ed6be2d07f42ee6ee1cdd586cfd5b; \>= 6.4.7, \< 6.5
- Anyone running Linux 6.5

## Description

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

ice: fix memory corruption bug with suspend and rebuild

The ice driver would previously panic after suspend. This is caused
from the driver \*only\* calling the ice\_vsi\_free\_q\_vectors() function by
itself, when it is suspending. Since commit b3e7b3a6ee92 ("ice: prevent
NULL pointer deref during reload") the driver has zeroed out
num\_q\_vectors, and only restored it in ice\_vsi\_cfg\_def().

This further causes the ice\_rebuild() function to allocate a zero length
buffer, after which num\_q\_vectors is updated, and then the new value of
num\_q\_vectors is used to index into the zero length buffer, which
corrupts memory.

The fix entails making sure all the code referencing num\_q\_vectors only
does so after it has been reset via ice\_vsi\_cfg\_def().

I didn't perform a full bisect, but I was able to test against 6.1.77
kernel and that ice driver works fine for suspend/resume with no panic,
so sometime since then, this problem was introduced.

Also clean up an un-needed init of a local variable in the function
being modified.

PANIC from 6.8.0-rc1:

\[1026674.915596\] PM: suspend exit
\[1026675.664697\] ice 0000:17:00.1: PTP reset successful
\[1026675.664707\] ice 0000:17:00.1: 2755 msecs passed between update to cached PHC time
\[1026675.667660\] ice 0000:b1:00.0: PTP reset successful
\[1026675.675944\] ice 0000:b1:00.0: 2832 msecs passed between update to cached PHC time
\[1026677.137733\] ixgbe 0000:31:00.0 ens787: NIC Link is Up 1 Gbps, Flow Control: None
\[1026677.190201\] BUG: kernel NULL pointer dereference, address: 0000000000000010
\[1026677.192753\] ice 0000:17:00.0: PTP reset successful
\[1026677.192764\] ice 0000:17:00.0: 4548 msecs passed between update to cached PHC time
\[1026677.197928\] \#PF: supervisor read access in kernel mode
\[1026677.197933\] \#PF: error\_code(0x0000) - not-present page
\[1026677.197937\] PGD 1557a7067 P4D 0
\[1026677.212133\] ice 0000:b1:00.1: PTP reset successful
\[1026677.212143\] ice 0000:b1:00.1: 4344 msecs passed between update to cached PHC time
\[1026677.212575\]
\[1026677.243142\] Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
\[1026677.247918\] CPU: 23 PID: 42790 Comm: kworker/23:0 Kdump: loaded Tainted: G        W          6.8.0-rc1+ \#1
\[1026677.257989\] Hardware name: Intel Corporation M50CYP2SBSTD/M50CYP2SBSTD, BIOS SE5C620.86B.01.01.0005.2202160810 02/16/2022
\[1026677.269367\] Workqueue: ice ice\_service\_task \[ice\]
\[1026677.274592\] RIP: 0010:ice\_vsi\_rebuild\_set\_coalesce+0x130/0x1e0 \[ice\]
\[1026677.281421\] Code: 0f 84 3a ff ff ff 41 0f b7 74 ec 02 66 89 b0 22 02 00 00 81 e6 ff 1f 00 00 e8 ec fd ff ff e9 35 ff ff ff 48 8b 43 30 49 63 ed \<41\> 0f b7 34 24 41 83 c5 01 48 8b 3c e8 66 89 b7 aa 02 00 00 81 e6
\[1026677.300877\] RSP: 0018:ff3be62a6399bcc0 EFLAGS: 00010202
\[1026677.306556\] RAX: ff28691e28980828 RBX: ff28691e41099828 RCX: 0000000000188000
\[1026677.314148\] RDX: 0000000000000000 RSI: 0000000000000010 RDI: ff28691e41099828
\[1026677.321730\] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
\[1026677.329311\] R10: 0000000000000007 R11: ffffffffffffffc0 R12: 0000000000000010
\[1026677.336896\] R13: 0000000000000000 R14: 0000000000000000 R15: ff28691e0eaa81a0
\[1026677.344472\] FS:  0000000000000000(0000) GS:ff28693cbffc0000(0000) knlGS:0000000000000000
\[1026677.353000\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[1026677.359195\] CR2: 0000000000000010 CR3: 0000000128df4001 CR4: 0000000000771ef0
\[1026677.366779\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[1026677.374369\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\[1026677.381952\] PKRU: 55555554
\[1026677.385116\] Call Trace:
\[1026677.388023\]  \<TASK\>
\[1026677.390589\]  ? \_\_die+0x20/0x70
\[1026677.394105\]  ? page\_fault\_oops+0x82/0x160
\[1026677.398576\]  ? do\_user\_addr\_fault+0x65/0x6a0
\[1026677.403307\]  ? exc\_page\_fault+0x6a/0x150
\[1026677.407694\]  ? asm\_exc\_page\_fault+0x22/0x30
\[1026677.412349\]  ? ice\_vsi\_rebuild\_set\_coalesce+0x130/0x1e0 \[ice\]
\[1026677.4186
---truncated---

## Affected and fixed versions

- Linux: \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< e40a02f06ceb0e0b0183e0b973ac5dbf8f75edec; \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< 11ff8392943e08a35cb0aa19d638b02db745f170; \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< 1cb7fdb1dfde1aab66780b4ba44dba6402172111; ca03b327224ed6be2d07f42ee6ee1cdd586cfd5b; \>= 6.4.7, \< 6.5 (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- Upgrade Linux to 6.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-35911.md
Affected: Linux >= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, < e40a02f06ceb0e0b0183e0b973ac5dbf8f75edec; >= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, < 11ff8392943e08a35cb0aa19d638b02db745f170; >= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, < 1cb7fdb1dfde1aab66780b4ba44dba6402172111; ca03b327224ed6be2d07f42ee6…
Fixed in: Linux 11ff8392943e08a35cb0aa19d638b02db745f170, Linux 1cb7fdb1dfde1aab66780b4ba44dba6402172111, Linux 6.5

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

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

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

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

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

Linux \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< e40a02f06ceb0e0b0183e0b973ac5dbf8f75edec; \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< 11ff8392943e08a35cb0aa19d638b02db745f170; \>= b3e7b3a6ee92ab927f750a6b19615ce88ece808f, \< 1cb7fdb1dfde1aab66780b4ba44dba6402172111; ca03b327224ed6be2d07f42ee6ee1cdd586cfd5b; \>= 6.4.7, \< 6.5; Linux 6.5.

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

Yes. Fixed in Linux 11ff8392943e08a35cb0aa19d638b02db745f170, Linux 1cb7fdb1dfde1aab66780b4ba44dba6402172111, Linux 6.5. Upgrade Linux to 6.5 or later.

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

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/e40a02f06ceb0e0b0183e0b973ac5dbf8f75edec>
- patch: <https://git.kernel.org/stable/c/11ff8392943e08a35cb0aa19d638b02db745f170>
- patch: <https://git.kernel.org/stable/c/1cb7fdb1dfde1aab66780b4ba44dba6402172111>

## 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-35911>

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