In the Linux kernel, the following vulnerability has been resolved: xfrm: Wait for RCU readers during policy netns exit xfrm_policy_fini() frees the policy_bydst hash tables after flushing the policy work items and deleting all policies, but it does not wait for concurrent RCU readers to leave their read-side critical sections first. The policy_bydst tables are published via rcu_assign_pointer() and are looked up through rcu_dereference_check(), so netns teardown must also wait for an RCU grace period before freeing the table memory. Fix this by adding synchronize_rcu() before freeing the policy hash tables.
Fix
Patch, vendor advisory and mitigation references on NVD 5
- https://git.kernel.org/stable/c/069daad4f2ae9c5c108131995529d5f02392c446 Patch
- https://git.kernel.org/stable/c/33a3149dd81a1e2f52b80ee1e0fc380b39f3d028 Patch
- https://git.kernel.org/stable/c/3733fce2871c9bca9dd18a1a23b1432ea215a094 Patch
- https://git.kernel.org/stable/c/438b1f668ad58f46ce699bb48e4698a7839e3f9e Patch
- https://git.kernel.org/stable/c/b66920a3348c0f63ba18365248fa21fbf0b3a937 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- CwesCWE-416NVD modified 2026-10-19 20:18
- StatusAnalyzed → ModifiedNVD modified 2026-10-19 20:18
- First seenCVSS 7.8 · linuxNVD modified 2026-10-16 16:17
Affected (CPE criteria) 8
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
References 5
- https://git.kernel.org/stable/c/069daad4f2ae9c5c108131995529d5f02392c446 Patch
- https://git.kernel.org/stable/c/33a3149dd81a1e2f52b80ee1e0fc380b39f3d028 Patch
- https://git.kernel.org/stable/c/3733fce2871c9bca9dd18a1a23b1432ea215a094 Patch
- https://git.kernel.org/stable/c/438b1f668ad58f46ce699bb48e4698a7839e3f9e Patch
- https://git.kernel.org/stable/c/b66920a3348c0f63ba18365248fa21fbf0b3a937 Patch