CVE-2026-72307
mlxsw: fix refcount leak in mlxsw_sp_vrs_lpm_tree_replace()
Mitigation
- Upgrade Linux to 21cf8dc478a49e8de039c2739b1646a774cb1944 or later.
Who should check
- Anyone running Linux >= fc922bb0dd9406dd9897fd47df958789891c380e, < c2c75c45b54f3b12eafb28a4eb47f8821512c1aa; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 7203ac71d3895fa5948b319dd724f0e1cffbc4a1; >= fc922bb0dd9406dd9897fd47df958789891c380e, < f6454a5fbf2224ad30ec70e686a6c592561da1f2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 220d41bdce41fe5a39a7f419faab1e907b4093c2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 9e4a6185679922305ea1df68403f00ccc512656b; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 8adebf07b46df79a0e49a6d4ae384f0db7c91db6; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 21cf8dc478a49e8de039c2739b1646a774cb1944
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= fc922bb0dd9406dd9897fd47df958789891c380e, < c2c75c45b54f3b12eafb28a4eb47f8821512c1aa; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 7203ac71d3895fa5948b319dd724f0e1cffbc4a1; >= fc922bb0dd9406dd9897fd47df958789891c380e, < f6454a5fbf2224ad30ec70e686a6c592561da1f2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 220d41bdce41fe5a39a7f419faab1e907b4093c2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 9e4a6185679922305ea1df68403f00ccc512656b; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 8adebf07b46df79a0e49a6d4ae384f0db7c91db6; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 21cf8dc478a49e8de039c2739b1646a774cb1944; Linux 4.14
- Fixed in
- Linux 7203ac71d3895fa5948b319dd724f0e1cffbc4a1, Linux 220d41bdce41fe5a39a7f419faab1e907b4093c2, Linux 9e4a6185679922305ea1df68403f00ccc512656b, Linux 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3, Linux 8adebf07b46df79a0e49a6d4ae384f0db7c91db6, Linux 21cf8dc478a49e8de039c2739b1646a774cb1944
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mlxsw: fix refcount leak in mlxsw_sp_vrs_lpm_tree_replace() When mlxsw_sp_vrs_lpm_tree_replace() fails after replacing some VRs, the error rollback loop does not correctly revert the preceding replacements. The loop decrements the index but fails to update the vr pointer, which still points to the VR that caused the failure. As a result, the condition and the rollback call always operate on the same VR, potentially calling mlxsw_sp_vr_lpm_tree_replace() multiple times on it while never rolling back the earlier VRs. Those VRs continue to hold a reference to new_tree acquired via mlxsw_sp_lpm_tree_hold(), leaking the reference count of new_tree. Fix by reinitializing vr inside the error loop with the updated index: vr = &mlxsw_sp->router->vrs[i]; so that the loop correctly iterates over all VRs that were actually replaced.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fc922bb0dd9406dd9897fd47df958789891c380e, < c2c75c45b54f3b12eafb28a4eb47f8821512c1aa; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 7203ac71d3895fa5948b319dd724f0e1cffbc4a1; >= fc922bb0dd9406dd9897fd47df958789891c380e, < f6454a5fbf2224ad30ec70e686a6c592561da1f2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 220d41bdce41fe5a39a7f419faab1e907b4093c2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 9e4a6185679922305ea1df68403f00ccc512656b; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 8adebf07b46df79a0e49a6d4ae384f0db7c91db6; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 21cf8dc478a49e8de039c2739b1646a774cb1944 | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-72307. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-72307.md Affected: Linux >= fc922bb0dd9406dd9897fd47df958789891c380e, < c2c75c45b54f3b12eafb28a4eb47f8821512c1aa; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 7203ac71d3895fa5948b319dd724f0e1cffbc4a1; >= fc922bb0dd9406dd9897fd47df958789891c380e, < f6454a5fbf2224ad30ec70e686a6c592561da1f2; >= fc922bb0dd9406dd9897fd4… Fixed in: Linux 7203ac71d3895fa5948b319dd724f0e1cffbc4a1, Linux 220d41bdce41fe5a39a7f419faab1e907b4093c2, Linux 9e4a6185679922305ea1df68403f00ccc512656b, Linux 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3, Linux 8adebf07b46df79a0e49a6d4ae384f0db7c91db6, Linux 21cf8dc478a49e8de039c2739b1646a774cb1944 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.
References
Other
- https://git.kernel.org/stable/c/c2c75c45b54f3b12eafb28a4eb47f8821512c1aa
- https://git.kernel.org/stable/c/7203ac71d3895fa5948b319dd724f0e1cffbc4a1
- https://git.kernel.org/stable/c/f6454a5fbf2224ad30ec70e686a6c592561da1f2
- https://git.kernel.org/stable/c/220d41bdce41fe5a39a7f419faab1e907b4093c2
- https://git.kernel.org/stable/c/9e4a6185679922305ea1df68403f00ccc512656b
- https://git.kernel.org/stable/c/3a2b47d1b4b3de54d030a7fdb6a322c970513ee3
- https://git.kernel.org/stable/c/8adebf07b46df79a0e49a6d4ae384f0db7c91db6
- https://git.kernel.org/stable/c/21cf8dc478a49e8de039c2739b1646a774cb1944
FAQ
Is CVE-2026-72307 being exploited?
There is no confirmed exploitation: CVE-2026-72307 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-72307?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-72307?
Linux >= fc922bb0dd9406dd9897fd47df958789891c380e, < c2c75c45b54f3b12eafb28a4eb47f8821512c1aa; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 7203ac71d3895fa5948b319dd724f0e1cffbc4a1; >= fc922bb0dd9406dd9897fd47df958789891c380e, < f6454a5fbf2224ad30ec70e686a6c592561da1f2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 220d41bdce41fe5a39a7f419faab1e907b4093c2; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 9e4a6185679922305ea1df68403f00ccc512656b; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 8adebf07b46df79a0e49a6d4ae384f0db7c91db6; >= fc922bb0dd9406dd9897fd47df958789891c380e, < 21cf8dc478a49e8de039c2739b1646a774cb1944; Linux 4.14.
Is there a fix for CVE-2026-72307?
Yes. Fixed in Linux 7203ac71d3895fa5948b319dd724f0e1cffbc4a1, Linux 220d41bdce41fe5a39a7f419faab1e907b4093c2, Linux 9e4a6185679922305ea1df68403f00ccc512656b, Linux 3a2b47d1b4b3de54d030a7fdb6a322c970513ee3, Linux 8adebf07b46df79a0e49a6d4ae384f0db7c91db6, Linux 21cf8dc478a49e8de039c2739b1646a774cb1944. Upgrade Linux to 21cf8dc478a49e8de039c2739b1646a774cb1944 or later.
How do I check if I'm affected by CVE-2026-72307?
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.