CVE-2021-47248udp: fix race between close() and udp_abort()
- 7.8HighCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 91% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: udp: fix race between close() and udp_abort() Kaustubh reported and diagnosed a panic in udp_lib_lookup(). The root cause is udp_abort() racing with close(). Both racing functions acquire the socket lock, but udp{v6}_destroy_sock() release it before performing destructive actions. We can't easily extend the socket lock scope to avoid the race, instead use the SOCK_DEAD flag to prevent udp_abort from doing any action when the critical race happens. Diagnosed-and-tested-by: Kaustubh Pandey <[email protected]>
Timeline
ID reserved
By Linux
- 41 days later
· 41 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < e3c36c773aed0fef8b1d3d555b43393ec564400f
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < a0882f68f54f7a8b6308261acee9bd4faab5a69e
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < 2f73448041bd0682d4b552cfd314ace66107f1ad
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < 5a88477c1c85e4baa51e91f2d40f2166235daa56
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < 8729ec8a2238152a4afc212a331a6cd2c61aeeac
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < 65310b0aff86980a011c7c7bfa487a333d4ca241
- affected 5d77dca82839ef016a93ad7acd7058b14d967752 – < a8b897c7bcd47f4147d066e22cc01d1026d7640e
- affected 4.9
- unaffected < 4.9
- unaffected 4.9.274 – ≤ 4.9.*
- unaffected 4.14.238 – ≤ 4.14.*
- unaffected 4.19.196 – ≤ 4.19.*
- unaffected 5.4.128 – ≤ 5.4.*
- unaffected 5.10.46 – ≤ 5.10.*
- unaffected 5.12.13 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References7
- https://git.kernel.org/stable/c/e3c36c773aed0fef8b1d3d555b43393ec564400f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a0882f68f54f7a8b6308261acee9bd4faab5a69e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/2f73448041bd0682d4b552cfd314ace66107f1ad (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/5a88477c1c85e4baa51e91f2d40f2166235daa56 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/8729ec8a2238152a4afc212a331a6cd2c61aeeac (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/65310b0aff86980a011c7c7bfa487a333d4ca241 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a8b897c7bcd47f4147d066e22cc01d1026d7640e (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33896 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47248)Record last updated .