The decodedata function in drivers/net/hamradio/6pack.c in the Linux kernel before 5.13.13 has a slab out-of-bounds write. Input from a process that has the CAPNET_ADMIN capability can lead to root access.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-42008.json"
[
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"190511209410932136730485262097888300990",
"302130585574982925187623550908914929444",
"75331655050453886803535101936971549965"
]
},
"id": "CVE-2021-42008-2dcece62",
"target": {
"file": "drivers/net/hamradio/6pack.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@19d1532a187669ce86d5a2696eb7275310070793"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 534.0,
"function_hash": "231210103903288672404299119971831646203"
},
"id": "CVE-2021-42008-a15ce496",
"target": {
"file": "drivers/net/hamradio/6pack.c",
"function": "decode_data"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@19d1532a187669ce86d5a2696eb7275310070793"
}
]