CVE-2021-47248

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47248
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47248.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-47248
Downstream
Related
Published
2024-05-21T15:15:13Z
Modified
2025-08-09T20:01:26Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 udpliblookup(). The root cause is udpabort() 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 SOCKDEAD flag to prevent udpabort from doing any action when the critical race happens.

Diagnosed-and-tested-by: Kaustubh Pandey kapandey@codeaurora.org

References

Affected packages