CVEvulnerability

CVE-2021-47239

7.8 HIGH Published 2024-05-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

Description

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.

Affected configurations

• linux linux kernel (>= 4.4.271 < 4.4.274) • linux linux kernel (>= 4.9.271 < 4.9.274) • linux linux kernel (>= 4.14.235 < 4.14.238) • linux linux kernel (>= 4.19.193 < 4.19.196) • linux linux kernel (>= 5.4.124 < 5.4.128) • linux linux kernel (>= 5.10.42 < 5.10.46) • linux linux kernel (>= 5.12.9 < 5.12.13)

Related

Weakness · CWE (1)

References