In the Linux kernel, the following vulnerability has been resolved:
devlink: fix netns refcount leak in devlinknlcmd_reload()
While preparing my patch series adding netns refcount tracking, I spotted bugs in devlinknlcmd_reload()
Some error paths forgot to release a refcount on a netns.
To fix this, we can reduce the scope of getnet()/putnet() section around the call to devlink_reload().
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47514.json"
[
{
"events": [
{
"introduced": "5.10"
},
{
"fixed": "5.10.85"
}
]
},
{
"events": [
{
"introduced": "5.11"
},
{
"fixed": "5.15.8"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.16-rc1"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.16-rc2"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.16-rc3"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.16-rc4"
}
]
}
]