i40e: Fix potential invalid access when MAC list is empty
Summary
| CVE | CVE-2025-39853 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-19 16:15:44 UTC |
| Updated | 2026-05-12 13:17:16 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: i40e: Fix potential invalid access when MAC list is empty list_first_entry() never returns NULL - if the list is empty, it still returns a pointer to an invalid object, leading to potential invalid memory access when dereferenced. Fix this by using list_first_entry_or_null instead of list_first_entry. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Problem Types: CWE-125
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 971feafe157afac443027acdc235badc6838560b git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 3c6fb929afa313d9d11f780451d113f73922fe5d git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 1eadabcf5623f1237a539b16586b4ed8ac8dffcd git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 e2a5e74879f9b494bbd66fa93f355feacde450c7 git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 fb216d980fae6561c7c70af8ef826faf059c6515 git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 9c21fc4cebd44dd21016c61261a683af390343f8 git | Not specified |
| CNA | Linux | Linux | affected e3219ce6a775468368fb270fae3eb82a6787b436 a556f06338e1d5a85af0e32ecb46e365547f92b9 git | Not specified |
| CNA | Linux | Linux | affected 4.6 | Not specified |
| CNA | Linux | Linux | unaffected 4.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.299 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.243 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.192 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.151 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.105 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.46 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.16.6 6.16.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.17 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCH328 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCM324 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCM328 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCM332 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRH334 24 V DC 8xFO CC | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 230 V AC 12xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 230 V AC 8xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 230V AC 2x10G 24xSFP 8xSFP | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 24 V DC 12xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 24 V DC 8xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 24V DC 2x10G 24xSFP 8xSFP | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 2x230 V AC 12xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 2x230 V AC 8xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 2x230V AC 2x10G 24xSFP 8xSFP | affected V3.3 custom | Not specified |
| ADP | Siemens | SIMATIC CN 4100 | affected V5.0 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/10/msg00008.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| git.kernel.org/stable/c/971feafe157afac443027acdc235badc6838560b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-089022.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/3c6fb929afa313d9d11f780451d113f73922fe5d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e2a5e74879f9b494bbd66fa93f355feacde450c7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/9c21fc4cebd44dd21016c61261a683af390343f8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/fb216d980fae6561c7c70af8ef826faf059c6515 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-032379.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/1eadabcf5623f1237a539b16586b4ed8ac8dffcd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/10/msg00007.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| git.kernel.org/stable/c/a556f06338e1d5a85af0e32ecb46e365547f92b9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.