---
id: CVE-2026-72435
title: 'netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()

  Sashiko pointed out that kfree_rcu() was called before
  rcu_assign_pointer() in handling the comment…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    c9787d7c24ffd83019f379455e1b97fb4f0f75eb
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    6e98407cb94e035bba98956adc9096a76d8b2a9f
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    50b70f56f3baaff46599f59b2d93fa2540120776
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    d01b4b471f0fc5c396af62845e972ccf99cee29a
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    fcb565966534909377a16be5f7b065db2e25c8b5
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    8087bb360a936a6314d22b567e4b861656943eb6
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    93a775fd67f3ef34949a9523bfa69403ee74efdd
  - >-
    Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 <
    3ca9982a8882470aa0ac4e8bb9a552b181d1efcd
  - Linux 4.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T18:49:54.310798Z'
published: '2026-08-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T18:55:23.893Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-72435'
references:
  - url: 'https://git.kernel.org/stable/c/c9787d7c24ffd83019f379455e1b97fb4f0f75eb'
  - url: 'https://git.kernel.org/stable/c/6e98407cb94e035bba98956adc9096a76d8b2a9f'
  - url: 'https://git.kernel.org/stable/c/50b70f56f3baaff46599f59b2d93fa2540120776'
  - url: 'https://git.kernel.org/stable/c/d01b4b471f0fc5c396af62845e972ccf99cee29a'
  - url: 'https://git.kernel.org/stable/c/fcb565966534909377a16be5f7b065db2e25c8b5'
  - url: 'https://git.kernel.org/stable/c/8087bb360a936a6314d22b567e4b861656943eb6'
  - url: 'https://git.kernel.org/stable/c/93a775fd67f3ef34949a9523bfa69403ee74efdd'
  - url: 'https://git.kernel.org/stable/c/3ca9982a8882470aa0ac4e8bb9a552b181d1efcd'
tags:
  - cve.org
epss: 0.00176
epssPercentile: 0.06643
ingestedAt: '2026-10-16T19:46:24.395Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()

Sashiko pointed out that kfree_rcu() was called before
rcu_assign_pointer() in handling the comment extension.
Fix the order so that rcu_assign_pointer() called first.

## Affected

- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < c9787d7c24ffd83019f379455e1b97fb4f0f75eb`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < 6e98407cb94e035bba98956adc9096a76d8b2a9f`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < 50b70f56f3baaff46599f59b2d93fa2540120776`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < d01b4b471f0fc5c396af62845e972ccf99cee29a`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < fcb565966534909377a16be5f7b065db2e25c8b5`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < 8087bb360a936a6314d22b567e4b861656943eb6`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < 93a775fd67f3ef34949a9523bfa69403ee74efdd`
- `Linux >= b57b2d1fa53fe8563bdfc66a33b844463b9af285 < 3ca9982a8882470aa0ac4e8bb9a552b181d1efcd`
- `Linux 4.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
