CVE-2021-47248
published 2024-05-21CVE-2021-47248: 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…
PriorityP416medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.19%
8.7th percentile
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
Affected
25 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.46-1 (bookworm) | linux 5.10.46-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < e3c36c773aed0fef8b1d3d555b43393ec564400f | e3c36c773aed0fef8b1d3d555b43393ec564400f |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < a0882f68f54f7a8b6308261acee9bd4faab5a69e | a0882f68f54f7a8b6308261acee9bd4faab5a69e |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < 2f73448041bd0682d4b552cfd314ace66107f1ad | 2f73448041bd0682d4b552cfd314ace66107f1ad |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < 5a88477c1c85e4baa51e91f2d40f2166235daa56 | 5a88477c1c85e4baa51e91f2d40f2166235daa56 |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < 8729ec8a2238152a4afc212a331a6cd2c61aeeac | 8729ec8a2238152a4afc212a331a6cd2c61aeeac |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < 65310b0aff86980a011c7c7bfa487a333d4ca241 | 65310b0aff86980a011c7c7bfa487a333d4ca241 |
| linux | linux | >= 5d77dca82839ef016a93ad7acd7058b14d967752 < a8b897c7bcd47f4147d066e22cc01d1026d7640e | a8b897c7bcd47f4147d066e22cc01d1026d7640e |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.46-1 | 5.10.46-1 |
| linux | linux_kernel | >= 0 < 5.10.46-1 | 5.10.46-1 |
| linux | linux_kernel | >= 0 < 5.10.46-1 | 5.10.46-1 |
| linux | linux_kernel | >= 0 < 5.10.46-1 | 5.10.46-1 |
| linux | linux_kernel | >= 4.10 < 4.14.238 | 4.14.238 |
| linux | linux_kernel | >= 4.15 < 4.19.196 | 4.19.196 |
| linux | linux_kernel | >= 4.20 < 5.4.128 | 5.4.128 |
| linux | linux_kernel | >= 4.9 < 4.9.274 | 4.9.274 |
| linux | linux_kernel | >= 5.11 < 5.12.13 | 5.12.13 |
| linux | linux_kernel | >= 5.5 < 5.10.46 | 5.10.46 |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: udp: fix race between close() and udp_abort()
vendor_redhat·2024-05-21·CVSS 4.7
CVE-2021-47248 [MEDIUM] CWE-362 kernel: udp: fix race between close() and udp_abort()
kernel: udp: fix race between close() and udp_abort()
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
A vulnerability was found in the Linux kernel's UDP implementation, where a race condition exists between the close() and udp_abort() functions. This race can cause a system panic dur
Debian
CVE-2021-47248: linux - In the Linux kernel, the following vulnerability has been resolved: udp: fix ra...
vendor_debian·2021·CVSS 4.7
CVE-2021-47248 [MEDIUM] CVE-2021-47248: linux - In the Linux kernel, the following vulnerability has been resolved: udp: fix ra...
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
Scope: local
bookworm: resolved (fixed in 5.10.46-1)
bullseye: resolved (fixed in 5.10.46-1)
forky: resolved (fixed in 5.10.46-1)
sid: resolved (fixed in 5.10.46-1)
trixie: resolved (fixed in 5.10.46-1)
OSV
CVE-2021-47248: In the Linux kernel, the following vulnerability has been resolved: udp: fix race between close() and udp_abort() Kaustubh reported and diagnosed a pa
osv·2024-05-21·CVSS 4.7
CVE-2021-47248 [MEDIUM] CVE-2021-47248: In the Linux kernel, the following vulnerability has been resolved: udp: fix race between close() and udp_abort() Kaustubh reported and diagnosed a pa
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
GHSA
GHSA-rr3f-v8j5-mmr6: In the Linux kernel, the following vulnerability has been resolved:
udp: fix race between close() and udp_abort()
Kaustubh reported and diagnosed a
ghsa_unreviewed·2024-05-21
CVE-2021-47248 [MEDIUM] CWE-362 GHSA-rr3f-v8j5-mmr6: In the Linux kernel, the following vulnerability has been resolved:
udp: fix race between close() and udp_abort()
Kaustubh reported and diagnosed a
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
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/2f73448041bd0682d4b552cfd314ace66107f1adhttps://git.kernel.org/stable/c/5a88477c1c85e4baa51e91f2d40f2166235daa56https://git.kernel.org/stable/c/65310b0aff86980a011c7c7bfa487a333d4ca241https://git.kernel.org/stable/c/8729ec8a2238152a4afc212a331a6cd2c61aeeachttps://git.kernel.org/stable/c/a0882f68f54f7a8b6308261acee9bd4faab5a69ehttps://git.kernel.org/stable/c/a8b897c7bcd47f4147d066e22cc01d1026d7640ehttps://git.kernel.org/stable/c/e3c36c773aed0fef8b1d3d555b43393ec564400fhttps://git.kernel.org/stable/c/2f73448041bd0682d4b552cfd314ace66107f1adhttps://git.kernel.org/stable/c/5a88477c1c85e4baa51e91f2d40f2166235daa56https://git.kernel.org/stable/c/65310b0aff86980a011c7c7bfa487a333d4ca241https://git.kernel.org/stable/c/8729ec8a2238152a4afc212a331a6cd2c61aeeachttps://git.kernel.org/stable/c/a0882f68f54f7a8b6308261acee9bd4faab5a69ehttps://git.kernel.org/stable/c/a8b897c7bcd47f4147d066e22cc01d1026d7640ehttps://git.kernel.org/stable/c/e3c36c773aed0fef8b1d3d555b43393ec564400f
2024-05-21
Published