CVE-2023-53549
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.
Read full descriptionShow less
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.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Base score: 5.5
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.13%
- Percentile among all scored CVEs: 2
- Score date: 10/5/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-667
References
- https://git.kernel.org/stable/c/24a828f5a54bdeca0846526860d72b3766c5fe95
- https://git.kernel.org/stable/c/5e29dc36bd5e2166b834ceb19990d9e68a734d7d
- https://git.kernel.org/stable/c/8964cc36ba011dc0e1041131fa2e91fb4c2a811b
- https://git.kernel.org/stable/c/a1e1521b463968b4eca7163f61fb6cc54d008061
- https://git.kernel.org/stable/c/ee756980e491c829ba0495bb420b7224a9ee26b2
Raw JSON (NVD)
Show
{
"id": "CVE-2023-53549",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "e62e62ea912a49f7230620f1bdc20410b943a44c",
"lessThan": "ee756980e491c829ba0495bb420b7224a9ee26b2",
"versionType": "git"
},
{
"status": "affected",
"version": "5f7b51bf09baca8e4f80cbe879536842bafb5f31",
"lessThan": "a1e1521b463968b4eca7163f61fb6cc54d008061",
"versionType": "git"
},
{
"status": "affected",
"version": "5f7b51bf09baca8e4f80cbe879536842bafb5f31",
"lessThan": "24a828f5a54bdeca0846526860d72b3766c5fe95",
"versionType": "git"
},
{
"status": "affected",
"version": "5f7b51bf09baca8e4f80cbe879536842bafb5f31",
"lessThan": "8964cc36ba011dc0e1041131fa2e91fb4c2a811b",
"versionType": "git"
},
{
"status": "affected",
"version": "5f7b51bf09baca8e4f80cbe879536842bafb5f31",
"lessThan": "5e29dc36bd5e2166b834ceb19990d9e68a734d7d",
"versionType": "git"
},
{
"status": "affected",
"version": "e0f824abe0f412f769fb5468b36c2471430bd885",
"versionType": "git"
},
{
"status": "affected",
"version": "5.10.157",
"lessThan": "5.10.163",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.13.14",
"lessThan": "5.14",
"versionType": "semver"
}
],
"programFiles": [
"include/linux/netfilter/ipset/ip_set.h",
"net/netfilter/ipset/ip_set_core.c",
"net/netfilter/ipset/ip_set_hash_ip.c",
"net/netfilter/ipset/ip_set_hash_ipmark.c",
"net/netfilter/ipset/ip_set_hash_ipport.c",
"net/netfilter/ipset/ip_set_hash_ipportip.c",
"net/netfilter/ipset/ip_set_hash_ipportnet.c",
"net/netfilter/ipset/ip_set_hash_net.c",
"net/netfilter/ipset/ip_set_hash_netiface.c",
"net/netfilter/ipset/ip_set_hash_netnet.c",
"net/netfilter/ipset/ip_set_hash_netport.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.87",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.0.19",
"versionType": "semver",
"lessThanOrEqual": "6.0.*"
},
{
"status": "unaffected",
"version": "6.1.5",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"include/linux/netfilter/ipset/ip_set.h",
"net/netfilter/ipset/ip_set_core.c",
"net/netfilter/ipset/ip_set_hash_ip.c",
"net/netfilter/ipset/ip_set_hash_ipmark.c",
"net/netfilter/ipset/ip_set_hash_ipport.c",
"net/netfilter/ipset/ip_set_hash_ipportip.c",
"net/netfilter/ipset/ip_set_hash_ipportnet.c",
"net/netfilter/ipset/ip_set_hash_net.c",
"net/netfilter/ipset/ip_set_hash_netiface.c",
"net/netfilter/ipset/ip_set_hash_netnet.c",
"net/netfilter/ipset/ip_set_hash_netport.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-10-04T16:15:50.143",
"references": [
{
"url": "https://git.kernel.org/stable/c/24a828f5a54bdeca0846526860d72b3766c5fe95",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/5e29dc36bd5e2166b834ceb19990d9e68a734d7d",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8964cc36ba011dc0e1041131fa2e91fb4c2a811b",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a1e1521b463968b4eca7163f61fb6cc54d008061",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ee756980e491c829ba0495bb420b7224a9ee26b2",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-667"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: Rework long task execution when adding/deleting entries\n\nWhen adding/deleting large number of elements in one step in ipset, it can\ntake a reasonable amount of time and can result in soft lockup errors. The\npatch 5f7b51bf09ba (\"netfilter: ipset: Limit the maximal range of\nconsecutive elements to add/delete\") tried to fix it by limiting the max\nelements to process at all. However it was not enough, it is still possible\nthat we get hung tasks. Lowering the limit is not reasonable, so the\napproach in this patch is as follows: rely on the method used at resizing\nsets and save the state when we reach a smaller internal batch limit,\nunlock/lock and proceed from the saved state. Thus we can avoid long\ncontinuous tasks and at the same time removed the limit to add/delete large\nnumber of elements in one step.\n\nThe nfnl mutex is held during the whole operation which prevents one to\nissue other ipset commands in parallel."
}
],
"lastModified": "2026-06-17T06:45:35.000",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7B9156B5-C04C-4AA9-8ADE-C815C2500FCA",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "5.10.157"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FF970D18-7EB4-451F-B793-07F377236AF8",
"versionEndExcluding": "5.14",
"versionStartIncluding": "5.13.14"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7A3CFD6F-CEFD-48C4-A088-53D359CDA7F4",
"versionEndExcluding": "5.15.87",
"versionStartIncluding": "5.14.1"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B70FF53F-1F99-4483-9376-CBA1A4EE0351",
"versionEndExcluding": "6.0.19",
"versionStartIncluding": "5.16"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8C1E7766-4310-43F9-BAC4-3763A36C043A",
"versionEndExcluding": "6.1.5",
"versionStartIncluding": "6.1"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6A05198E-F8FA-4517-8D0E-8C95066AED38"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "15013998-4AF0-4CDC-AB13-829ECD8A8E66"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "376A25CF-C05B-48F1-99B1-8FB0314A8E06"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FF501633-2F44-4913-A8EE-B021929F49F6"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2BDA597B-CAC1-4DF0-86F0-42E142C654E9"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}