In the Linux kernel, the following vulnerability has been resolved:
can: peak_usb: fix use after free bugs
After calling peakusbnetifrxni(skb), dereferencing skb is unsafe. Especially, the canframe cf which aliases skb memory is accessed after the peakusbnetifrx_ni().
Reordering the lines solves the issue.
[
{
"events": [
{
"introduced": "4.0"
},
{
"fixed": "4.19.171"
}
]
},
{
"events": [
{
"introduced": "4.20"
},
{
"fixed": "5.4.93"
}
]
},
{
"events": [
{
"introduced": "5.5"
},
{
"fixed": "5.10.11"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.11-rc1"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.11-rc2"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.11-rc3"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.11-rc4"
}
]
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47670.json"