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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-10-04T15:16:56.382Z
- **Modified:** 2026-11-05T21:17:25.737Z

## Who should check

- Anyone running Linux \>= e62e62ea912a49f7230620f1bdc20410b943a44c, \< ee756980e491c829ba0495bb420b7224a9ee26b2; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< a1e1521b463968b4eca7163f61fb6cc54d008061; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 24a828f5a54bdeca0846526860d72b3766c5fe95; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 8964cc36ba011dc0e1041131fa2e91fb4c2a811b; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 5e29dc36bd5e2166b834ceb19990d9e68a734d7d; e0f824abe0f412f769fb5468b36c2471430bd885; \>= 5.10.157, \< 5.10.163; \>= 5.13.14, \< 5.14
- Anyone running Linux 5.14

## 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.

## Affected and fixed versions

- Linux: \>= e62e62ea912a49f7230620f1bdc20410b943a44c, \< ee756980e491c829ba0495bb420b7224a9ee26b2; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< a1e1521b463968b4eca7163f61fb6cc54d008061; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 24a828f5a54bdeca0846526860d72b3766c5fe95; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 8964cc36ba011dc0e1041131fa2e91fb4c2a811b; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 5e29dc36bd5e2166b834ceb19990d9e68a734d7d; e0f824abe0f412f769fb5468b36c2471430bd885; \>= 5.10.157, \< 5.10.163; \>= 5.13.14, \< 5.14 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 5.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53549. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53549.md
Affected: Linux >= e62e62ea912a49f7230620f1bdc20410b943a44c, < ee756980e491c829ba0495bb420b7224a9ee26b2; >= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, < a1e1521b463968b4eca7163f61fb6cc54d008061; >= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, < 24a828f5a54bdeca0846526860d72b3766c5fe95; >= 5f7b51bf09baca8e4f80cbe…
Fixed in: Linux 24a828f5a54bdeca0846526860d72b3766c5fe95, Linux 8964cc36ba011dc0e1041131fa2e91fb4c2a811b, Linux 5e29dc36bd5e2166b834ceb19990d9e68a734d7d, Linux 5.10.163, Linux 5.14

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.
```

## FAQ

### Is CVE-2023-53549 being exploited?

There is no confirmed exploitation: CVE-2023-53549 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53549?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53549?

Linux \>= e62e62ea912a49f7230620f1bdc20410b943a44c, \< ee756980e491c829ba0495bb420b7224a9ee26b2; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< a1e1521b463968b4eca7163f61fb6cc54d008061; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 24a828f5a54bdeca0846526860d72b3766c5fe95; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 8964cc36ba011dc0e1041131fa2e91fb4c2a811b; \>= 5f7b51bf09baca8e4f80cbe879536842bafb5f31, \< 5e29dc36bd5e2166b834ceb19990d9e68a734d7d; e0f824abe0f412f769fb5468b36c2471430bd885; \>= 5.10.157, \< 5.10.163; \>= 5.13.14, \< 5.14; Linux 5.14.

### Is there a fix for CVE-2023-53549?

Yes. Fixed in Linux 24a828f5a54bdeca0846526860d72b3766c5fe95, Linux 8964cc36ba011dc0e1041131fa2e91fb4c2a811b, Linux 5e29dc36bd5e2166b834ceb19990d9e68a734d7d, Linux 5.10.163, Linux 5.14. Upgrade Linux to 5.14 or later.

### How do I check if I'm affected by CVE-2023-53549?

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.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53549>

HTML: <https://flawdb.com/CVE-2023-53549> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53549>
