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 smsc75xxbind") fails to clean up the work scheduled in smsc75xxreset-> smsc75xxsetmulticast, 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 cancelworksync to cancel the scheduled work and set the dangling pointer to NULL.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47239.json"
[
{
"events": [
{
"introduced": "4.4.271"
},
{
"fixed": "4.4.274"
}
]
},
{
"events": [
{
"introduced": "4.9.271"
},
{
"fixed": "4.9.274"
}
]
},
{
"events": [
{
"introduced": "4.14.235"
},
{
"fixed": "4.14.238"
}
]
},
{
"events": [
{
"introduced": "4.19.193"
},
{
"fixed": "4.19.196"
}
]
},
{
"events": [
{
"introduced": "5.4.124"
},
{
"fixed": "5.4.128"
}
]
},
{
"events": [
{
"introduced": "5.10.42"
},
{
"fixed": "5.10.46"
}
]
},
{
"events": [
{
"introduced": "5.12.9"
},
{
"fixed": "5.12.13"
}
]
}
]