{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-47739", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-09-30T16:00:12.959Z", "datePublished": "2024-10-21T12:14:08.495Z", "dateUpdated": "2026-08-05T11:39:49.642Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:39:49.642Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npadata: use integer wrap around to prevent deadlock on seq_nr overflow\n\nWhen submitting more than 2^32 padata objects to padata_do_serial, the\ncurrent sorting implementation incorrectly sorts padata objects with\noverflowed seq_nr, causing them to be placed before existing objects in\nthe reorder list. This leads to a deadlock in the serialization process\nas padata_find_next cannot match padata->seq_nr and pd->processed\nbecause the padata instance with overflowed seq_nr will be selected\nnext.\n\nTo fix this, we use an unsigned integer wrap around to correctly sort\npadata objects in scenarios with integer overflow." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:N - The seq_nr counter is driven by ESP packet processing — `xfrm_input()` reaches `esp_input` → `crypto_aead_decrypt` → pcrypt → `padata_do_parallel` for every inbound ESP packet, and outbound tunnel traffic burns counters on the encrypt shell, so a remote attacker on an IPsec gateway using pcrypt can drive the 32-bit counter to overflow purely with network traffic.\nAC:L - The attacker needs only to sustain packet/request volume until the 32-bit counter wraps — entirely under their control, with no race window, no memory-layout dependency, and no unknown target state.\nPR:N - The `padata_do_parallel` call happens before ICV/authentication verification in `xfrm_input()`, so forged ESP packets from an unauthenticated attacker consume sequence numbers; outbound-direction counter consumption requires no credentials or SPI knowledge whatsoever.\nUI:N - The counter advances automatically as the kernel processes attacker-supplied traffic; no victim action of any kind is needed.\nS:U - The stalled reorder list and leaked objects are confined to the kernel's own crypto pipeline; no VM, IOMMU, or sandbox boundary is crossed.\nC:N - The defect is an ordering/comparison error in list insertion — nothing is read out of bounds and no kernel memory contents are exposed to the attacker.\nI:N - The mis-sort causes `padata_find_next()` to refuse to dequeue rather than to deliver objects out of order, so no data is modified or corrupted and no control-flow primitive is created.\nA:H - The reorder list deadlocks permanently, hanging every subsequent request through that pcrypt algorithm system-wide (the shell is per-instance, shared by all tfms), leaking each queued skb/request and the `parallel_data` forever — an irrecoverable IPsec/crypto outage plus unbounded memory exhaustion until reboot." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "kernel/padata.c" ], "versions": [ { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "46c4079460f4dcaf445860679558eedef4e1bc91", "status": "affected", "versionType": "git" }, { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "72164d5b648951684b1a593996b37a6083c61d7d", "status": "affected", "versionType": "git" }, { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "ab205e1c3846326f162180e56825b4ba38ce9c30", "status": "affected", "versionType": "git" }, { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "1b8cf11b3ca593a8802a51802cd0c28c38501428", "status": "affected", "versionType": "git" }, { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "9e279e6c1f012b82628b89e1b9c65dbefa8ca25a", "status": "affected", "versionType": "git" }, { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "1bd712de96ad7167fe0d608e706cd60587579f16", "status": "affected", "versionType": "git" }, { "version": "bfde23ce200e6d33291d29b9b8b60cc2f30f0805", "lessThan": "9a22b2812393d93d84358a760c347c21939029a6", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "kernel/padata.c" ], "versions": [ { "version": "5.4", "status": "affected" }, { "version": "0", "lessThan": "5.4", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.227", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.168", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.113", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.54", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.10.13", "lessThanOrEqual": "6.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.11.2", "lessThanOrEqual": "6.11.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "5.10.227" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "5.15.168" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.1.113" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.6.54" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.10.13" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.11.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.12" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/46c4079460f4dcaf445860679558eedef4e1bc91" }, { "url": "https://git.kernel.org/stable/c/72164d5b648951684b1a593996b37a6083c61d7d" }, { "url": "https://git.kernel.org/stable/c/ab205e1c3846326f162180e56825b4ba38ce9c30" }, { "url": "https://git.kernel.org/stable/c/1b8cf11b3ca593a8802a51802cd0c28c38501428" }, { "url": "https://git.kernel.org/stable/c/9e279e6c1f012b82628b89e1b9c65dbefa8ca25a" }, { "url": "https://git.kernel.org/stable/c/1bd712de96ad7167fe0d608e706cd60587579f16" }, { "url": "https://git.kernel.org/stable/c/9a22b2812393d93d84358a760c347c21939029a6" } ], "title": "padata: use integer wrap around to prevent deadlock on seq_nr overflow", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-47739", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-10-21T12:59:27.799629Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-10-21T13:04:14.713Z" } }, { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html" }, { "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T22:21:35.468Z" } } ] } }