CVE-2023-54012
published high CVSS 3.1 · 7.8net: fix stack overflow when LRO is disabled for virtual interfaces
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfd867d51f889aec11cca235ebb008578780d052d to < 9ea0c5f90a27b5b884d880e146e0f65f3052e401 · fd867d51f889aec11cca235ebb008578780d052d to < 4bb955c4d2830a58c08e2a48ab75d75368e3ff36 · fd867d51f889aec11cca235ebb008578780d052d to < cf3b5cd7127cc10c5b12400c545f263f0e5e715c · fd867d51f889aec11cca235ebb008578780d052d to < ed66e6327a69fec95034cda2ac5b6a57b8b3b622 · fd867d51f889aec11cca235ebb008578780d052d to < 6bf00bb3dc7e5b9fb05488e11616e65d64e975fa · fd867d51f889aec11cca235ebb008578780d052d to < ae9b15fbe63447bc1d3bba3769f409d17ca6fdf6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.4 (affected) · 0 to < 4.4 (unaffected · semver) · 5.4.244 through 5.4.* (unaffected · semver) · 5.10.181 through 5.10.* (unaffected · semver) · 5.15.114 through 5.15.* (unaffected · semver) · 6.1.31 through 6.1.* (unaffected · semver) · 6.3.5 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-034 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-021 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-047 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
Show 60 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-228 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_293-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_293-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_293-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2023-228 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2023-228 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2023-228 |
Description
In the Linux kernel, the following vulnerability has been resolved: net: fix stack overflow when LRO is disabled for virtual interfaces When the virtual interface's feature is updated, it synchronizes the updated feature for its own lower interface. This propagation logic should be worked as the iteration, not recursively. But it works recursively due to the netdev notification unexpectedly. This problem occurs when it disables LRO only for the team and bonding interface type. team0 | +------+------+-----+-----+ | | | | | team1 team2 team3 ... team200 If team0's LRO feature is updated, it generates the NETDEV_FEAT_CHANGE event to its own lower interfaces(team1 ~ team200). It is worked by netdev_sync_lower_features(). So, the NETDEV_FEAT_CHANGE notification logic of each lower interface work iteratively. But generated NETDEV_FEAT_CHANGE event is also sent to the upper interface too. upper interface(team0) generates the NETDEV_FEAT_CHANGE event for its own lower interfaces again. lower and upper interfaces receive this event and generate this event again and again. So, the stack overflow occurs. But it is not the infinite loop issue. Because the netdev_sync_lower_features() updates features before generating the NETDEV_FEAT_CHANGE event. Already synchronized lower interfaces skip notification logic. So, it is just the problem that iteration logic is changed to the recursive unexpectedly due to the notification mechanism. Reproducer: ip link add team0 type team ethtool -K team0 lro on for i in {1..200} do ip link add team$i master team0 type team ethtool -K team$i lro on done ethtool -K team0 lro off In order to fix it, the notifier_ctx member of bonding/team is introduced.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The attack requires local access to issue rtnetlink RTM_NEWLINK calls to build the stacked team/bonding topology and an ethtool ioctl/netlink call to clear LRO on the master; there is no remote or adjacent packet path that reaches `__netdev_update_features()` with attacker-chosen feature bits. AC:L - The bug is fully deterministic with no race or memory-layout dependency — the attacker picks the number of enslaved devices and therefore the recursion depth, guaranteeing stack exhaustion, exactly as the commit's reproducer shows. PR:L - Both gates are namespace-relative — `netlink_net_capable(skb, CAP_NET_ADMIN)` in `rtnl_newlink()` and `ns_capable(net->user_ns, CAP_NET_ADMIN)` in `dev_ethtool()` — so an unprivileged user obtains the required CAP_NET_ADMIN inside their own `unshare -Urn` namespace and crashes the whole host. UI:N - The attacker performs every step (create master, enslave lowers, enable then disable LRO) unaided; no victim action or pre-existing administrator configuration is needed. S:U - The stack overflow corrupts kernel memory and panics the kernel within the same security authority; no hypervisor, IOMMU, or other cross-authority boundary is crossed. C:H - On the many affected configurations without CONFIG_VMAP_STACK (the affected range begins at v4.4, plus embedded/32-bit builds), the overflow runs off the stack into `thread_info` and adjacent kernel allocations, a memory-corruption primitive that can be leveraged to disclose arbitrary kernel memory. I:H - The same out-of-stack writes deposit attacker-influenced return addresses and pointers into neighbouring kernel memory, the classic pre-VMAP_STACK control-flow-hijacking primitive; consistent with prior kernel.org scoring of recursion-driven stack exhaustion (e.g. CVE-2025-40206). A:H - Exhausting the kernel stack is an immediate hard crash — a stack guard-page hit / double fault and panic on VMAP_STACK kernels, arbitrary corruption and oops otherwise — taking down the entire system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fd867d51f889aec11cca235ebb008578780d052d to < 9ea0c5f90a27b5b884d880e146e0f65f3052e401 (affected · git)fd867d51f889aec11cca235ebb008578780d052d to < 4bb955c4d2830a58c08e2a48ab75d75368e3ff36 (affected · git)fd867d51f889aec11cca235ebb008578780d052d to < cf3b5cd7127cc10c5b12400c545f263f0e5e715c (affected · git)fd867d51f889aec11cca235ebb008578780d052d to < ed66e6327a69fec95034cda2ac5b6a57b8b3b622 (affected · git)fd867d51f889aec11cca235ebb008578780d052d to < 6bf00bb3dc7e5b9fb05488e11616e65d64e975fa (affected · git)fd867d51f889aec11cca235ebb008578780d052d to < ae9b15fbe63447bc1d3bba3769f409d17ca6fdf6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.4 (affected)0 to < 4.4 (unaffected · semver)5.4.244 through 5.4.* (unaffected · semver)5.10.181 through 5.10.* (unaffected · semver)5.15.114 through 5.15.* (unaffected · semver)6.1.31 through 6.1.* (unaffected · semver)6.3.5 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/4bb955c4d2830a58c08e2a48ab75d75368e3ff36
- https://git.kernel.org/stable/c/6bf00bb3dc7e5b9fb05488e11616e65d64e975fa
- https://git.kernel.org/stable/c/9ea0c5f90a27b5b884d880e146e0f65f3052e401
- https://git.kernel.org/stable/c/ae9b15fbe63447bc1d3bba3769f409d17ca6fdf6
- https://git.kernel.org/stable/c/cf3b5cd7127cc10c5b12400c545f263f0e5e715c
- https://git.kernel.org/stable/c/ed66e6327a69fec95034cda2ac5b6a57b8b3b622
Provider assertions
2Linux · cna
net: fix stack overflow when LRO is disabled for virtual interfaces
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57d29a3c47df82305f499de68d75bdd534978c60fea917f7a09608e98312c0e1
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record