2024-07-29 16:01:09 +00:00
{
2024-07-30 08:01:06 +00:00
"data_version" : "4.0" ,
2024-07-29 16:01:09 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2024-42138" ,
2024-07-30 08:01:06 +00:00
"ASSIGNER" : "cve@kernel.org" ,
"STATE" : "PUBLIC"
2024-07-29 16:01:09 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-07-30 08:01:06 +00:00
"value" : "In the Linux kernel, the following vulnerability has been resolved:\n\nmlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file\n\nIn case of invalid INI file mlxsw_linecard_types_init() deallocates memory\nbut doesn't reset pointer to NULL and returns 0. In case of any error\noccurred after mlxsw_linecard_types_init() call, mlxsw_linecards_init()\ncalls mlxsw_linecard_types_fini() which performs memory deallocation again.\n\nAdd pointer reset to NULL.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "n/a"
}
]
2024-07-29 16:01:09 +00:00
}
]
2024-07-30 08:01:06 +00:00
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "Linux" ,
"product" : {
"product_data" : [
{
"product_name" : "Linux" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_name" : "b217127e5e4e" ,
"version_value" : "ab557f5cd993"
} ,
{
"version_value" : "not down converted" ,
"x_cve_json_5_version_data" : {
"versions" : [
{
"version" : "5.19" ,
"status" : "affected"
} ,
{
"version" : "0" ,
"lessThan" : "5.19" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.1.98" ,
"lessThanOrEqual" : "6.1.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.6.39" ,
"lessThanOrEqual" : "6.6.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.9.9" ,
"lessThanOrEqual" : "6.9.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.10" ,
"lessThanOrEqual" : "*" ,
"status" : "unaffected" ,
"versionType" : "original_commit_for_fix"
}
] ,
"defaultStatus" : "affected"
}
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://git.kernel.org/stable/c/ab557f5cd993a3201b09593633d04b891263d5c0" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/ab557f5cd993a3201b09593633d04b891263d5c0"
} ,
{
"url" : "https://git.kernel.org/stable/c/f8b55a465b0e8a500179808166fe9420f5c091a1" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/f8b55a465b0e8a500179808166fe9420f5c091a1"
} ,
{
"url" : "https://git.kernel.org/stable/c/9af7437669b72f804fc4269f487528dbbed142a2" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/9af7437669b72f804fc4269f487528dbbed142a2"
} ,
{
"url" : "https://git.kernel.org/stable/c/8ce34dccbe8fa7d2ef86f2d8e7db2a9b67cabfc3" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/8ce34dccbe8fa7d2ef86f2d8e7db2a9b67cabfc3"
}
]
} ,
"generator" : {
"engine" : "bippy-c9c4e1df01b2"
2024-07-29 16:01:09 +00:00
}
}