In the Linux kernel, the following vulnerability has been resolved:
mlxsw: spectrumacltcam: Fix warning during rehash
As previously explained, the rehash delayed work migrates filters from one region to another. This is done by iterating over all chunks (all the filters with the same priority) in the region and in each chunk iterating over all the filters.
When the work runs out of credits it stores the current chunk and entry as markers in the per-work context so that it would know where to resume the migration from the next time the work is scheduled.
Upon error, the chunk marker is reset to NULL, but without resetting the entry markers despite being relative to it. This can result in migration being resumed from an entry that does not belong to the chunk being migrated. In turn, this will eventually lead to a chunk being iterated over as if it is an entry. Because of how the two structures happen to be defined, this does not lead to KASAN splats, but to warnings such as [1].
Fix by creating a helper that resets all the markers and call it from all the places the currently only reset the chunk marker. For good measures also call it when starting a completely new rehash. Add a warning to avoid future cases.
[1] WARNING: CPU: 7 PID: 1076 at drivers/net/ethernet/mellanox/mlxsw/coreaclflexkeys.c:407 mlxswafkencode+0x242/0x2f0 Modules linked in: CPU: 7 PID: 1076 Comm: kworker/7:24 Tainted: G W 6.9.0-rc3-custom-00880-g29e61d91b77b #29 Hardware name: Mellanox Technologies Ltd. MSN3700/VMOD0005, BIOS 5.11 01/06/2019 Workqueue: mlxswcore mlxswspacltcamvregionrehashwork RIP: 0010:mlxswafkencode+0x242/0x2f0 [...] Call Trace: <TASK> mlxswspaclatcamentryadd+0xd9/0x3c0 mlxswspacltcamentrycreate+0x5e/0xa0 mlxswspacltcamvchunkmigrateall+0x109/0x290 mlxswspacltcamvregionrehashwork+0x6c/0x470 processonework+0x151/0x370 workerthread+0x2cb/0x3e0 kthread+0xd0/0x100 retfrom_fork+0x34/0x50 </TASK>
[
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-04e0083a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b88631855026b55cad901ac28d081e0f358e596",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-05c52085",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@039992b6d2df097c65f480dcf269de3d2656f573",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-1c306dc7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17e9e0bbae652b9b2049e51699e93dfa60b2988d",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-285fa131",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e890456051fe8c57944b911defb3e6de91315861",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-3483f2ed",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@039992b6d2df097c65f480dcf269de3d2656f573",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-3f4bebf5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d76bd2a0034d0d08045c1c6adf2235d88982952",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-41ba7f01",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@743edc8547a92b6192aa1f1b6bb78233fa21dc9b",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-439c1a03",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17e9e0bbae652b9b2049e51699e93dfa60b2988d",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-43fd916d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e890456051fe8c57944b911defb3e6de91315861",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-5820c0cf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b88631855026b55cad901ac28d081e0f358e596",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-6418503d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b88631855026b55cad901ac28d081e0f358e596",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-69db0be2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e890456051fe8c57944b911defb3e6de91315861",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-6ad33b78",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@751d352858108314efd33dddd5a9a2b6bf7d6916",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-6b017e0b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@751d352858108314efd33dddd5a9a2b6bf7d6916",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-71bc2cf4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@039992b6d2df097c65f480dcf269de3d2656f573",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-75160435",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@039992b6d2df097c65f480dcf269de3d2656f573",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-78b5fa5d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17e9e0bbae652b9b2049e51699e93dfa60b2988d",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-7a4e91ab",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@751d352858108314efd33dddd5a9a2b6bf7d6916",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-7d7b27a3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b88631855026b55cad901ac28d081e0f358e596",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-8b7755dd",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@743edc8547a92b6192aa1f1b6bb78233fa21dc9b",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-957bebd7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b88631855026b55cad901ac28d081e0f358e596",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-9747d18a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e890456051fe8c57944b911defb3e6de91315861",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-986a3add",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@039992b6d2df097c65f480dcf269de3d2656f573",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-98bc6ff3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@743edc8547a92b6192aa1f1b6bb78233fa21dc9b",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-a5cd47e8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e890456051fe8c57944b911defb3e6de91315861",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-ac7dd8e4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e890456051fe8c57944b911defb3e6de91315861",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-ad9d74cc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d76bd2a0034d0d08045c1c6adf2235d88982952",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-c1624428",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@743edc8547a92b6192aa1f1b6bb78233fa21dc9b",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-cf4538f5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d76bd2a0034d0d08045c1c6adf2235d88982952",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-d17e871a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17e9e0bbae652b9b2049e51699e93dfa60b2988d",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-d1b9696b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d76bd2a0034d0d08045c1c6adf2235d88982952",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-d3224f22",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@743edc8547a92b6192aa1f1b6bb78233fa21dc9b",
"digest": {
"length": 929.0,
"function_hash": "129964970990856633323765771455854441998"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_rehash_start",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-d3cbbf9f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@751d352858108314efd33dddd5a9a2b6bf7d6916",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-d7f529b2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@743edc8547a92b6192aa1f1b6bb78233fa21dc9b",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-db96aa24",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d76bd2a0034d0d08045c1c6adf2235d88982952",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-dd0a4d32",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b88631855026b55cad901ac28d081e0f358e596",
"digest": {
"length": 600.0,
"function_hash": "204993390341959107209955762184265144726"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vregion_migrate",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2024-36007-e53d6ef5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17e9e0bbae652b9b2049e51699e93dfa60b2988d",
"digest": {
"line_hashes": [
"331820700624572053532136110862916928584",
"155112283356394574260698510823027075449",
"29424765627578816979151005838982600778",
"242220051944946586513141096782260668870",
"268003667892604638090020549336856959703",
"155629937706280653345018171068812525319",
"52055849043008777858641966297290684767",
"131322296070331303323588749782462094329",
"241268021133374942310094798057064480282",
"231920752268742994349390534533713060026",
"330919873036034367767665890783880710408",
"189281735117013310300103551460967737591",
"36864594423469607144210477702059165911",
"244862283810130184288723847712789813413",
"323790307032890421782958463314981442881",
"217420568743936481922096338167723689201",
"35106142319036128593746356037660732162",
"310348463922550747030878401003041153257",
"276367361821628155306000945349076698539",
"10821669598861227208110775979430932492",
"210073465438542234067678408233973974239",
"260058091228381457646024812837426080074"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-e8b31b1e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@039992b6d2df097c65f480dcf269de3d2656f573",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-edc8948f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17e9e0bbae652b9b2049e51699e93dfa60b2988d",
"digest": {
"length": 172.0,
"function_hash": "329021667097359053153135439924857753073"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_end",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-ee67bc61",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d76bd2a0034d0d08045c1c6adf2235d88982952",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-f4d32564",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@751d352858108314efd33dddd5a9a2b6bf7d6916",
"digest": {
"length": 936.0,
"function_hash": "243332730189418568106398929407677897932"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_vchunk_migrate_one",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2024-36007-fd622b5d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@751d352858108314efd33dddd5a9a2b6bf7d6916",
"digest": {
"length": 91.0,
"function_hash": "254644905036228581483479555616784170341"
},
"deprecated": false,
"target": {
"function": "mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed",
"file": "drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c"
}
}
]