Skip to main content
Network Thinking Solutions Logo

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 panic in udp_lib_lookup().

All CVEs
CVE-2021-47248Published 5/21/2024

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().

Vendor advisory
CVSS7.8High

Overview

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 <kapandey@codeaurora.org>

Published
5/21/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.9, < 4.9.274

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.238

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.196

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.128

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.46

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.12.13

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < e3c36c773aed0fef8b1d3d555b43393ec564400f

Verify advisory

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < a0882f68f54f7a8b6308261acee9bd4faab5a69e

Verify advisory

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < 2f73448041bd0682d4b552cfd314ace66107f1ad

Verify advisory

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < 5a88477c1c85e4baa51e91f2d40f2166235daa56

Verify advisory

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < 8729ec8a2238152a4afc212a331a6cd2c61aeeac

Verify advisory

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < 65310b0aff86980a011c7c7bfa487a333d4ca241

Verify advisory

Source
Linux
Linux
≥ 5d77dca82839ef016a93ad7acd7058b14d967752, < a8b897c7bcd47f4147d066e22cc01d1026d7640e

Verify advisory

Source
Linux
Linux
4.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.