Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2021-47239
HistoryMay 21, 2024 - 3:15 p.m.

CVE-2021-47239

2024-05-2115:15:13
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
linux kernel
use-after-free
vulnerability
smsc75xx_bind
memory leak
usb
cancel_work_sync

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.1%

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.

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.1%