In the Linux kernel, the following vulnerability has been resolved:
net: caif: fix memory leak in caifdevicenotify
In case of caifenrolldev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error
[
{
"events": [
{
"introduced": "3.3"
},
{
"fixed": "4.4.272"
}
]
},
{
"events": [
{
"introduced": "4.5"
},
{
"fixed": "4.9.272"
}
]
},
{
"events": [
{
"introduced": "4.10"
},
{
"fixed": "4.14.236"
}
]
},
{
"events": [
{
"introduced": "4.15"
},
{
"fixed": "4.19.194"
}
]
},
{
"events": [
{
"introduced": "4.20"
},
{
"fixed": "5.4.125"
}
]
},
{
"events": [
{
"introduced": "5.5"
},
{
"fixed": "5.10.43"
}
]
},
{
"events": [
{
"introduced": "5.11"
},
{
"fixed": "5.12.10"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.13-rc1"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.13-rc2"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.13-rc3"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.13-rc4"
}
]
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47122.json"