U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2021-47248 Detail

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]>


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/2f73448041bd0682d4b552cfd314ace66107f1ad CVE, kernel.org Patch 
https://git.kernel.org/stable/c/5a88477c1c85e4baa51e91f2d40f2166235daa56 CVE, kernel.org Patch 
https://git.kernel.org/stable/c/65310b0aff86980a011c7c7bfa487a333d4ca241 CVE, kernel.org Patch 
https://git.kernel.org/stable/c/8729ec8a2238152a4afc212a331a6cd2c61aeeac CVE, kernel.org Patch 
https://git.kernel.org/stable/c/a0882f68f54f7a8b6308261acee9bd4faab5a69e CVE, kernel.org Patch 
https://git.kernel.org/stable/c/a8b897c7bcd47f4147d066e22cc01d1026d7640e CVE, kernel.org Patch 
https://git.kernel.org/stable/c/e3c36c773aed0fef8b1d3d555b43393ec564400f CVE, kernel.org Patch 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2021-47248
NVD Published Date:
05/21/2024
NVD Last Modified:
04/30/2025
Source:
kernel.org