In the Linux kernel, the following vulnerability has been resolved:
net: mana: Fix possible double free in error handling path
When auxiliarydeviceadd() returns error and then calls auxiliarydeviceuninit(), callback function adev_release calls kfree(madev). We shouldn't call kfree(madev) again in the error handling path. Set 'madev' to NULL.
[
{
"digest": {
"length": 639.0,
"function_hash": "285324543507043277778209920972684133643"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed45c0a0b662079d4c0e518014cc148c753979b4",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/microsoft/mana/mana_en.c",
"function": "add_adev"
},
"id": "CVE-2024-42069-10a02083",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"286016330338088342604816490239430180339",
"190988545947441089287197149731182215295",
"302795739468969324828413200364639219767"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1864b8224195d0e43ddb92a8151f54f6562090cc",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/microsoft/mana/mana_en.c"
},
"id": "CVE-2024-42069-618f8a6b",
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"286016330338088342604816490239430180339",
"190988545947441089287197149731182215295",
"302795739468969324828413200364639219767"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3243e64eb4d897c3eeb48b2a7221ab5a95e1282a",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/microsoft/mana/mana_en.c"
},
"id": "CVE-2024-42069-778c8eaa",
"signature_type": "Line"
},
{
"digest": {
"length": 639.0,
"function_hash": "285324543507043277778209920972684133643"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3243e64eb4d897c3eeb48b2a7221ab5a95e1282a",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/microsoft/mana/mana_en.c",
"function": "add_adev"
},
"id": "CVE-2024-42069-aa53555e",
"signature_type": "Function"
},
{
"digest": {
"length": 639.0,
"function_hash": "285324543507043277778209920972684133643"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1864b8224195d0e43ddb92a8151f54f6562090cc",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/microsoft/mana/mana_en.c",
"function": "add_adev"
},
"id": "CVE-2024-42069-aed9ccc2",
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"286016330338088342604816490239430180339",
"190988545947441089287197149731182215295",
"302795739468969324828413200364639219767"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed45c0a0b662079d4c0e518014cc148c753979b4",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/microsoft/mana/mana_en.c"
},
"id": "CVE-2024-42069-f6951460",
"signature_type": "Line"
}
]