U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2026-72307

Change History

New CVE Received from kernel.org 8/15/2026 2:22:03 AM

Action Type Old Value New Value
Added 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.
Added Reference

                  
                
              
https://git.kernel.org/stable/c/21cf8dc478a49e8de039c2739b1646a774cb1944
Added Reference

                  
                
              
https://git.kernel.org/stable/c/220d41bdce41fe5a39a7f419faab1e907b4093c2
Added Reference

                  
                
              
https://git.kernel.org/stable/c/3a2b47d1b4b3de54d030a7fdb6a322c970513ee3
Added Reference

                  
                
              
https://git.kernel.org/stable/c/7203ac71d3895fa5948b319dd724f0e1cffbc4a1
Added Reference

                  
                
              
https://git.kernel.org/stable/c/8adebf07b46df79a0e49a6d4ae384f0db7c91db6
Added Reference

                  
                
              
https://git.kernel.org/stable/c/9e4a6185679922305ea1df68403f00ccc512656b
Added Reference

                  
                
              
https://git.kernel.org/stable/c/c2c75c45b54f3b12eafb28a4eb47f8821512c1aa
Added Reference

                  
                
              
https://git.kernel.org/stable/c/f6454a5fbf2224ad30ec70e686a6c592561da1f2
Added Affected

                  
                
              
[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"c2c75c45b54f3b12eafb28a4eb47f8821512c1aa","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"7203ac71d3895fa5948b319dd724f0e1cffbc4a1","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"f6454a5fbf2224ad30ec70e686a6c592561da1f2","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"220d41bdce41fe5a39a7f419faab1e907b4093c2","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"9e4a6185679922305ea1df68403f00ccc512656b","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"3a2b47d1b4b3de54d030a7fdb6a322c970513ee3","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"8adebf07b46df79a0e49a6d4ae384f0db7c91db6","versionType":"git","status":"affected"},{"version":"fc922bb0dd9406dd9897fd47df958789891c380e","lessThan":"21cf8dc478a49e8de039c2739b1646a774cb1944","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","versionType":"semver","status":"unaffected"},{"version":"5.10.261","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.212","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]