In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: Fix mcam entry resource leak
The teardown sequence in FLR handler returns if no NIX LF is attached to PF/VF because it indicates that graceful shutdown of resources already happened. But there is a chance of all allocated MCAM entries not being freed by PF/VF. Hence free mcam entries even in case of detached LF.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50060.json"
}[
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"279447895286380248592973972672551683163",
"29245688264631399147242540265816503027",
"78515882616294538205422761637783084566",
"315292886511193551379635252856575667764"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu.c"
},
"deprecated": false,
"id": "CVE-2022-50060-0ad71563",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5be2d4f9285efe0d16f1bf00250df91d05d809"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"27854141836065618569644526044730986304",
"146446771252196358238799877041229441100",
"218003354627713035801094610711591338166",
"161979856981744391979172397246033673158",
"268028033595547178979298174368940741478",
"203875361241456882449389967218546299663",
"292690157700118569630043784096795314799",
"294821731635192354163892858559543278158"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-0ccfe7be",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "300051084441921807599696834629602339490",
"length": 108.0
},
"signature_type": "Function",
"target": {
"function": "rvu_npc_enable_default_entries",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-33389900",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc32347f48111eea8d0165538c92aca92ede83f6"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"279447895286380248592973972672551683163",
"29245688264631399147242540265816503027",
"78515882616294538205422761637783084566",
"315292886511193551379635252856575667764"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu.c"
},
"deprecated": false,
"id": "CVE-2022-50060-67daf40a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "259383986035918992308248956994863221469",
"length": 244.0
},
"signature_type": "Function",
"target": {
"function": "rvu_npc_disable_default_entries",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-81c7f14e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "249602685922979514293745541464216178010",
"length": 541.0
},
"signature_type": "Function",
"target": {
"function": "__rvu_flr_handler",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu.c"
},
"deprecated": false,
"id": "CVE-2022-50060-8f59f290",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5be2d4f9285efe0d16f1bf00250df91d05d809"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "149653539247666921777270315076829371739",
"length": 596.0
},
"signature_type": "Function",
"target": {
"function": "__rvu_flr_handler",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu.c"
},
"deprecated": false,
"id": "CVE-2022-50060-b318133e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "300051084441921807599696834629602339490",
"length": 108.0
},
"signature_type": "Function",
"target": {
"function": "rvu_npc_enable_default_entries",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-b5a5da10",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "249602685922979514293745541464216178010",
"length": 541.0
},
"signature_type": "Function",
"target": {
"function": "__rvu_flr_handler",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu.c"
},
"deprecated": false,
"id": "CVE-2022-50060-bd448fa3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc32347f48111eea8d0165538c92aca92ede83f6"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"27854141836065618569644526044730986304",
"146446771252196358238799877041229441100",
"218003354627713035801094610711591338166",
"161979856981744391979172397246033673158",
"208298947862503544168431271107196097970",
"203875361241456882449389967218546299663",
"292690157700118569630043784096795314799",
"294821731635192354163892858559543278158"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-db68de04",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc32347f48111eea8d0165538c92aca92ede83f6"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "259383986035918992308248956994863221469",
"length": 244.0
},
"signature_type": "Function",
"target": {
"function": "rvu_npc_disable_default_entries",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-e0e9af1f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5be2d4f9285efe0d16f1bf00250df91d05d809"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "300051084441921807599696834629602339490",
"length": 108.0
},
"signature_type": "Function",
"target": {
"function": "rvu_npc_enable_default_entries",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-e3dadd82",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5be2d4f9285efe0d16f1bf00250df91d05d809"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"27854141836065618569644526044730986304",
"146446771252196358238799877041229441100",
"218003354627713035801094610711591338166",
"161979856981744391979172397246033673158",
"208298947862503544168431271107196097970",
"203875361241456882449389967218546299663",
"292690157700118569630043784096795314799",
"294821731635192354163892858559543278158"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-e47243b3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5be2d4f9285efe0d16f1bf00250df91d05d809"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "259383986035918992308248956994863221469",
"length": 244.0
},
"signature_type": "Function",
"target": {
"function": "rvu_npc_disable_default_entries",
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
},
"deprecated": false,
"id": "CVE-2022-50060-ec69d757",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc32347f48111eea8d0165538c92aca92ede83f6"
},
{
"signature_version": "v1",
"digest": {
"line_hashes": [
"279447895286380248592973972672551683163",
"29245688264631399147242540265816503027",
"78515882616294538205422761637783084566",
"315292886511193551379635252856575667764"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/marvell/octeontx2/af/rvu.c"
},
"deprecated": false,
"id": "CVE-2022-50060-f7ca90f8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc32347f48111eea8d0165538c92aca92ede83f6"
}
]