# CVE-2023-53549: netfilter: ipset: Rework long task execution when adding/deleting entries

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-10-04T15:16:56.382Z
- Modified: 2026-11-05T21:17:25.737Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

netfilter: ipset: Rework long task execution when adding/deleting entries

When adding/deleting large number of elements in one step in ipset, it can
take a reasonable amount of time and can result in soft lockup errors. The
patch 5f7b51bf09ba ("netfilter: ipset: Limit the maximal range of
consecutive elements to add/delete") tried to fix it by limiting the max
elements to process at all. However it was not enough, it is still possible
that we get hung tasks. Lowering the limit is not reasonable, so the
approach in this patch is as follows: rely on the method used at resizing
sets and save the state when we reach a smaller internal batch limit,
unlock/lock and proceed from the saved state. Thus we can avoid long
continuous tasks and at the same time removed the limit to add/delete large
number of elements in one step.

The nfnl mutex is held during the whole operation which prevents one to
issue other ipset commands in parallel.

(As written by CVE List.)

## Affected

- Linux Linux: from e62e62ea912a49f7230620f1bdc20410b943a44c before ee756980e491c829ba0495bb420b7224a9ee26b2; from 5f7b51bf09baca8e4f80cbe879536842bafb5f31 before a1e1521b463968b4eca7163f61fb6cc54d008061; from 5f7b51bf09baca8e4f80cbe879536842bafb5f31 before 24a828f5a54bdeca0846526860d72b3766c5fe95; from 5f7b51bf09baca8e4f80cbe879536842bafb5f31 before 8964cc36ba011dc0e1041131fa2e91fb4c2a811b; from 5f7b51bf09baca8e4f80cbe879536842bafb5f31 before 5e29dc36bd5e2166b834ceb19990d9e68a734d7d; e0f824abe0f412f769fb5468b36c2471430bd885; from 5.10.157 before 5.10.163; from 5.13.14 before 5.14; 5.14 (not affected: before 5.14; from 5.10.163 up to 5.10.*; from 5.15.87 up to 5.15.*; from 6.0.19 up to 6.0.*; from 6.1.5 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.10.157 before 5.10.163; from 5.13.14 before 5.14; from 5.14.1 before 5.15.87; from 5.16 before 6.0.19; from 6.1 before 6.1.5; 5.14; 6.2

## References

- <https://git.kernel.org/stable/c/ee756980e491c829ba0495bb420b7224a9ee26b2> (patch)
- <https://git.kernel.org/stable/c/a1e1521b463968b4eca7163f61fb6cc54d008061> (patch)
- <https://git.kernel.org/stable/c/24a828f5a54bdeca0846526860d72b3766c5fe95> (patch)
- <https://git.kernel.org/stable/c/8964cc36ba011dc0e1041131fa2e91fb4c2a811b> (patch)
- <https://git.kernel.org/stable/c/5e29dc36bd5e2166b834ceb19990d9e68a734d7d> (patch)

## Sources

- CVE List: [CVE-2023-53549](https://www.cve.org/CVERecord?id=CVE-2023-53549), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53549](https://nvd.nist.gov/vuln/detail/CVE-2023-53549), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53549 · Whole record: https://cve.day/CVE-2023-53549.json · Rebuilt by cve.day 2026-11-25T22:58:34.934Z
