CVE-2021-47239

High

In the Linux kernel, the following vulnerability has been resolved: net: usb: fix possible use-after-free in smsc75xx_bind The commit 46a8b29c6306 ("net: usb: fix memory leak in smsc75xx_bind") fails to clean up the work scheduled in smsc75xx_reset-> smsc75xx_set_multicast, which leads to use-after-free if the work is scheduled to start after the deallocation. In addition, this patch also removes a dangling pointer - dev->data[0]. This patch calls cancel_work_sync to cancel the scheduled work and set the dangling pointer to NULL.

Package Linux Kernel
Published 2024-05-21
Last modified 2024-12-30
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-416

CVE-2021-47239 is a Use After Free vulnerability

What is Use After Free?

The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.4.271, 4.9.271, 4.14.235, 4.19.193, 5.4.124, 5.10.42, 5.12.9 and later are affected. Fixed in 4.4.274, 4.9.274, 4.14.238, 4.19.196, 5.4.128, 5.10.46, 5.12.13 and their respective stable series.

Affected from
≥ 4.4.271 ≥ 4.9.271 ≥ 4.14.235 ≥ 4.19.193 ≥ 5.4.124 ≥ 5.10.42 ≥ 5.12.9
Fixed in
✓ 4.4.274 4.4.x ✓ 4.9.274 4.9.x ✓ 4.14.238 4.14.x ✓ 4.19.196 4.19.x ✓ 5.4.128 5.4.x ✓ 5.10.46 5.10.x ✓ 5.12.13 5.12.x

Frequently asked questions

  • What is CVE-2021-47239?

    CVE-2021-47239 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 4.4.271 onward and has been patched in 4.4.274, 4.9.274, 4.14.238 and others. CVE-2021-47239 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-47239?

    CVE-2021-47239 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2021-47239?

    Yes. CVE-2021-47239 has been patched. Fixed versions include 4.4.274, 4.9.274, 4.14.238 and others. If you are running Linux kernel 4.4.271 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47239 actively exploited?

    No. CVE-2021-47239 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.