# CVE-2023-53114: i40e: Fix kernel crash during reboot when adapter is in recovery mode

> 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-05-02T15:55:53.230Z
- **Modified:** 2026-11-05T21:17:14.227Z

## Who should check

- Anyone running Linux \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 6e18f66b704bd725196508c1db93bf7338cdc8de; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 3cbecb1c9085a00155639404f7addbcbfc987ba3; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 4ff82695266576a0b4f1077a7100b2451e476df4; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< c703362a66ea971905b9dc153fc54d1b6ac05423; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< b3826fb3ea14646b3d4e6309bfc384b349f36eb6; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 7e4f8a0c495413a50413e8c9f1032ce1bc633bae
- Anyone running Linux 5.2

## Description

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

i40e: Fix kernel crash during reboot when adapter is in recovery mode

If the driver detects during probe that firmware is in recovery
mode then i40e\_init\_recovery\_mode() is called and the rest of
probe function is skipped including pci\_set\_drvdata(). Subsequent
i40e\_shutdown() called during shutdown/reboot dereferences NULL
pointer as pci\_get\_drvdata() returns NULL.

To fix call pci\_set\_drvdata() also during entering to recovery mode.

Reproducer:
1) Lets have i40e NIC with firmware in recovery mode
2) Run reboot

Result:
\[  139.084698\] i40e: Intel(R) Ethernet Connection XL710 Network Driver
\[  139.090959\] i40e: Copyright (c) 2013 - 2019 Intel Corporation.
\[  139.108438\] i40e 0000:02:00.0: Firmware recovery mode detected. Limiting functionality.
\[  139.116439\] i40e 0000:02:00.0: Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware recovery mode.
\[  139.129499\] i40e 0000:02:00.0: fw 8.3.64775 api 1.13 nvm 8.30 0x8000b78d 1.3106.0 \[8086:1583\] \[15d9:084a\]
\[  139.215932\] i40e 0000:02:00.0 enp2s0f0: renamed from eth0
\[  139.223292\] i40e 0000:02:00.1: Firmware recovery mode detected. Limiting functionality.
\[  139.231292\] i40e 0000:02:00.1: Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware recovery mode.
\[  139.244406\] i40e 0000:02:00.1: fw 8.3.64775 api 1.13 nvm 8.30 0x8000b78d 1.3106.0 \[8086:1583\] \[15d9:084a\]
\[  139.329209\] i40e 0000:02:00.1 enp2s0f1: renamed from eth0
...
\[  156.311376\] BUG: kernel NULL pointer dereference, address: 00000000000006c2
\[  156.318330\] \#PF: supervisor write access in kernel mode
\[  156.323546\] \#PF: error\_code(0x0002) - not-present page
\[  156.328679\] PGD 0 P4D 0
\[  156.331210\] Oops: 0002 \[\#1\] PREEMPT SMP NOPTI
\[  156.335567\] CPU: 26 PID: 15119 Comm: reboot Tainted: G            E      6.2.0+ \#1
\[  156.343126\] Hardware name: Abacus electric, s.r.o. - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.4 04/13/2022
\[  156.353369\] RIP: 0010:i40e\_shutdown+0x15/0x130 \[i40e\]
\[  156.358430\] Code: c1 fc ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 fd 53 48 8b 9f 48 01 00 00 \<f0\> 80 8b c2 06 00 00 04 f0 80 8b c0 06 00 00 08 48 8d bb 08 08 00
\[  156.377168\] RSP: 0018:ffffb223c8447d90 EFLAGS: 00010282
\[  156.382384\] RAX: ffffffffc073ee70 RBX: 0000000000000000 RCX: 0000000000000001
\[  156.389510\] RDX: 0000000080000001 RSI: 0000000000000246 RDI: ffff95db49988000
\[  156.396634\] RBP: ffff95db49988000 R08: ffffffffffffffff R09: ffffffff8bd17d40
\[  156.403759\] R10: 0000000000000001 R11: ffffffff8a5e3d28 R12: ffff95db49988000
\[  156.410882\] R13: ffffffff89a6fe17 R14: ffff95db49988150 R15: 0000000000000000
\[  156.418007\] FS:  00007fe7c0cc3980(0000) GS:ffff95ea8ee80000(0000) knlGS:0000000000000000
\[  156.426083\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  156.431819\] CR2: 00000000000006c2 CR3: 00000003092fc005 CR4: 0000000000770ee0
\[  156.438944\] PKRU: 55555554
\[  156.441647\] Call Trace:
\[  156.444096\]  \<TASK\>
\[  156.446199\]  pci\_device\_shutdown+0x38/0x60
\[  156.450297\]  device\_shutdown+0x163/0x210
\[  156.454215\]  kernel\_restart+0x12/0x70
\[  156.457872\]  \_\_do\_sys\_reboot+0x1ab/0x230
\[  156.461789\]  ? vfs\_writev+0xa6/0x1a0
\[  156.465362\]  ? \_\_pfx\_file\_free\_rcu+0x10/0x10
\[  156.469635\]  ? \_\_call\_rcu\_common.constprop.85+0x109/0x5a0
\[  156.475034\]  do\_syscall\_64+0x3e/0x90
\[  156.478611\]  entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
\[  156.483658\] RIP: 0033:0x7fe7bff37ab7

## Affected and fixed versions

- Linux: \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 6e18f66b704bd725196508c1db93bf7338cdc8de; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 3cbecb1c9085a00155639404f7addbcbfc987ba3; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 4ff82695266576a0b4f1077a7100b2451e476df4; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< c703362a66ea971905b9dc153fc54d1b6ac05423; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< b3826fb3ea14646b3d4e6309bfc384b349f36eb6; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 7e4f8a0c495413a50413e8c9f1032ce1bc633bae (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 7e4f8a0c495413a50413e8c9f1032ce1bc633bae or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53114.md
Affected: Linux >= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, < 6e18f66b704bd725196508c1db93bf7338cdc8de; >= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, < 3cbecb1c9085a00155639404f7addbcbfc987ba3; >= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, < 4ff82695266576a0b4f1077a7100b2451e476df4; >= 4ff0ee1af016976acb6a525…
Fixed in: Linux 6e18f66b704bd725196508c1db93bf7338cdc8de, Linux 3cbecb1c9085a00155639404f7addbcbfc987ba3, Linux 4ff82695266576a0b4f1077a7100b2451e476df4, Linux 7e4f8a0c495413a50413e8c9f1032ce1bc633bae

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-2023-53114 being exploited?

There is no confirmed exploitation: CVE-2023-53114 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-2023-53114?

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

### Which versions are affected by CVE-2023-53114?

Linux \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 6e18f66b704bd725196508c1db93bf7338cdc8de; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 3cbecb1c9085a00155639404f7addbcbfc987ba3; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 4ff82695266576a0b4f1077a7100b2451e476df4; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< c703362a66ea971905b9dc153fc54d1b6ac05423; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< b3826fb3ea14646b3d4e6309bfc384b349f36eb6; \>= 4ff0ee1af016976acb6a525e68ec9a5a85d7abdc, \< 7e4f8a0c495413a50413e8c9f1032ce1bc633bae; Linux 5.2.

### Is there a fix for CVE-2023-53114?

Yes. Fixed in Linux 6e18f66b704bd725196508c1db93bf7338cdc8de, Linux 3cbecb1c9085a00155639404f7addbcbfc987ba3, Linux 4ff82695266576a0b4f1077a7100b2451e476df4, Linux 7e4f8a0c495413a50413e8c9f1032ce1bc633bae. Upgrade Linux to 7e4f8a0c495413a50413e8c9f1032ce1bc633bae or later.

### How do I check if I'm affected by CVE-2023-53114?

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/6e18f66b704bd725196508c1db93bf7338cdc8de>
- patch: <https://git.kernel.org/stable/c/3cbecb1c9085a00155639404f7addbcbfc987ba3>
- patch: <https://git.kernel.org/stable/c/4ff82695266576a0b4f1077a7100b2451e476df4>
- patch: <https://git.kernel.org/stable/c/c703362a66ea971905b9dc153fc54d1b6ac05423>
- patch: <https://git.kernel.org/stable/c/b3826fb3ea14646b3d4e6309bfc384b349f36eb6>
- patch: <https://git.kernel.org/stable/c/7e4f8a0c495413a50413e8c9f1032ce1bc633bae>

## 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-2023-53114>

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