In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Fix deadlock in tc route query code
Cited commit causes ABBA deadlock[0] when peer flows are created while holding the devcom rw semaphore. Due to peer flows offload implementation the lock is taken much higher up the call chain and there is no obvious way to easily fix the deadlock. Instead, since tc route query code needs the peer eswitch structure only to perform a lookup in xarray and doesn't perform any sleeping operations with it, refactor the code for lockless execution in following ways:
RCUify the devcom 'data' pointer. When resetting the pointer synchronously wait for RCU grace period before returning. This is fine since devcom is currently only used for synchronization of pairing/unpairing of eswitches which is rare and already expensive as-is.
Wrap all usages of 'paired' boolean in {READ|WRITE}ONCE(). The flag has already been used in some unlocked contexts without proper annotations (e.g. users of mlx5devcomispaired() function), but it wasn't an issue since all relevant code paths checked it again after obtaining the devcom semaphore. Now it is also used by mlx5devcomgetpeerdata_rcu() as "best effort" check to return NULL when devcom is being unpaired. Note that while RCU read lock doesn't prevent the unpaired flag from being changed concurrently it still guarantees that reader can continue to use 'data'.
Refactor mlx5etcqueryroutevport() function to use new mlx5devcomgetpeerdata_rcu() API which fixes the deadlock.
[0]:
[ 164.599612] ====================================================== [ 164.600142] WARNING: possible circular locking dependency detected [ 164.600667] 6.3.0-rc3+ #1 Not tainted [ 164.601021] ------------------------------------------------------ [ 164.601557] handler1/3456 is trying to acquire lock: [ 164.601998] ffff88811f1714b0 (&esw->offloads.encaptbllock){+.+.}-{3:3}, at: mlx5eattachencap+0xd8/0x8b0 [mlx5core] [ 164.603078] but task is already holding lock: [ 164.603617] ffff88810137fc98 (&comp->sem){++++}-{3:3}, at: mlx5devcomgetpeerdata+0x37/0x80 [mlx5core] [ 164.604459] which lock already depends on the new lock.
[ 164.605190] the existing dependency chain (in reverse order) is: [ 164.605848] -> #1 (&comp->sem){++++}-{3:3}: [ 164.606380] downread+0x39/0x50 [ 164.606772] mlx5devcomgetpeerdata+0x37/0x80 [mlx5core] [ 164.607336] mlx5etcqueryroutevport+0x86/0xc0 [mlx5core] [ 164.607914] mlx5etctunroutelookup+0x1a4/0x1d0 [mlx5core] [ 164.608495] mlx5eattachdecaproute+0xc6/0x1e0 [mlx5core] [ 164.609063] mlx5etcaddfdbflow+0x1ea/0x360 [mlx5core] [ 164.609627] mlx5eaddfdbflow+0x2d2/0x430 [mlx5core] [ 164.610175] mlx5econfigureflower+0x952/0x1a20 [mlx5core] [ 164.610741] tcsetupcbadd+0xd4/0x200 [ 164.611146] flhwreplacefilter+0x14c/0x1f0 [clsflower] [ 164.611661] flchange+0xc95/0x18a0 [clsflower] [ 164.612116] tcnewtfilter+0x3fc/0xd20 [ 164.612516] rtnetlinkrcvmsg+0x418/0x5b0 [ 164.612936] netlinkrcvskb+0x54/0x100 [ 164.613339] netlinkunicast+0x190/0x250 [ 164.613746] netlinksendmsg+0x245/0x4a0 [ 164.614150] socksendmsg+0x38/0x60 [ 164.614522] syssendmsg+0x1d0/0x1e0 [ 164.614934] _syssendmsg+0x80/0xc0 [ 164.615320] _syssendmsg+0x51/0x90 [ 164.615701] dosyscall64+0x3d/0x90 [ 164.616083] entrySYSCALL64afterhwframe+0x46/0xb0 [ 164.616568] -> #0 (&esw->offloads.encaptbllock){+.+.}-{3:3}: [ 164.617210] _lockacquire+0x159e/0x26e0 [ 164.617638] lockacquire+0xc2/0x2a0 [ 164.618018] _mutexlock+0x92/0xcd0 [ 164.618401] mlx5eattachencap+0xd8/0x8b0 [mlx5core] [ 164.618943] postprocessattr+0x153/0x2d0 [ ---truncated---
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53591.json"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53591.json"
[
{
"id": "CVE-2023-53591-0458763d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_get_peer_data"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 397.0,
"function_hash": "240689347378646905356303720200563246873"
}
},
{
"id": "CVE-2023-53591-094ea93d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"176406032016779130748389214240909876429",
"282419335228827249247996799587916617307",
"112562119797945678341750788503962001508",
"83944327912989712886406599653148166164"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-0ad9df95",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_set_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 192.0,
"function_hash": "97310930117821388300352040847737561522"
}
},
{
"id": "CVE-2023-53591-1ec92ef0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_unregister_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 250.0,
"function_hash": "97312127328694320498027224514697668540"
}
},
{
"id": "CVE-2023-53591-2625d379",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c",
"function": "mlx5e_tc_query_route_vport"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 643.0,
"function_hash": "162977240235591680179832433634605594087"
}
},
{
"id": "CVE-2023-53591-3630a107",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"192068624557440896564078537406559094840",
"69816215076233886590466687653675656841",
"280580200111387885838640166414493824864",
"117699738576335592387353865332973056647",
"142742656890879653814957788520695154134",
"52751713969156289878117113956524077245",
"50406046021520638643790725498471606880",
"135532226564485092282783070541328131417",
"51694880204447350585078294567298186855",
"227063929351299397275704833281755877488",
"57369120086586858736781258419629978280",
"28077832595335602910983497465418130612",
"277957945449627101754663722124842978756",
"319020472469412291898831507895758212437",
"240164789870185782522107896213194734258",
"6723005414166920096818516040686963681",
"130075666522257189443189041635828190232",
"160022106068652184786354016432396934122",
"33649633981171934452417658393389339554",
"179904547005336985293433838082427006924",
"168709840373281761395061930703850898205",
"85368871323567551620053690168763668976",
"215019586663753180625397004653373964088",
"219261565125940220299295032437233832144"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-4b1724d5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"311776573686794273962073552986273319682",
"210871766952103306209492349926458743499",
"200428784868894167065511115243468412269",
"210105011539561115296150344308976599192",
"194797535759990989725733426814460718851",
"57430548267089392475039221274248571689",
"193507339567131004333395006671769865715",
"139962279950721066138833244979345080695",
"74296641522447386793134517249439886813",
"23381300076773048151919172266719756087",
"76162737640337069207239284568805500422",
"9603619328927669130982207650882728135",
"149084147207107980061393776333972444059",
"218851167382402793698571308880151615063",
"257409864875039471323467420616152066420",
"108831906232684722332738077037384836491",
"207199686589027215023686709414532497280",
"155640073846687268586216712238629207179",
"56205830199204984648780396531603016578",
"191364763601237807345405070107342023605",
"229937155074357369661973123728413911271",
"289863015691565437673715561813620038315",
"194173500609386629295873249517132001751",
"18350052244928235330694319187122653445",
"154536894200349122455662396338062341808",
"278690194603127711340205892671340368914",
"321333079422437773454261908271003645219",
"93615188401731605146237623398378524994",
"106864432865667126911704601465453514663",
"258819853583247432150006759060083868230",
"310065713380151206609405031183872028505",
"83530527740705208139916270831306858009",
"72898928925513888803336172980226210201",
"139254446132685923327916684748895669768",
"245165819485819825163386288250676401901",
"24569277490710058095273696111488968677",
"173108296752684797288012681174453973032",
"324716132359261342907796054884219373646"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-63e12db7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c",
"function": "mlx5e_tc_query_route_vport"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 643.0,
"function_hash": "162977240235591680179832433634605594087"
}
},
{
"id": "CVE-2023-53591-66ea988a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"192068624557440896564078537406559094840",
"69816215076233886590466687653675656841",
"280580200111387885838640166414493824864",
"117699738576335592387353865332973056647",
"142742656890879653814957788520695154134",
"52751713969156289878117113956524077245",
"50406046021520638643790725498471606880",
"135532226564485092282783070541328131417",
"51694880204447350585078294567298186855",
"227063929351299397275704833281755877488",
"57369120086586858736781258419629978280",
"28077832595335602910983497465418130612",
"277957945449627101754663722124842978756",
"319020472469412291898831507895758212437",
"240164789870185782522107896213194734258",
"6723005414166920096818516040686963681",
"130075666522257189443189041635828190232",
"160022106068652184786354016432396934122",
"33649633981171934452417658393389339554",
"179904547005336985293433838082427006924",
"168709840373281761395061930703850898205",
"85368871323567551620053690168763668976",
"215019586663753180625397004653373964088",
"219261565125940220299295032437233832144"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-72fc43f5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_get_peer_data"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 397.0,
"function_hash": "240689347378646905356303720200563246873"
}
},
{
"id": "CVE-2023-53591-73e36ee6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"311776573686794273962073552986273319682",
"210871766952103306209492349926458743499",
"200428784868894167065511115243468412269",
"210105011539561115296150344308976599192",
"194797535759990989725733426814460718851",
"57430548267089392475039221274248571689",
"193507339567131004333395006671769865715",
"139962279950721066138833244979345080695",
"74296641522447386793134517249439886813",
"23381300076773048151919172266719756087",
"76162737640337069207239284568805500422",
"9603619328927669130982207650882728135",
"149084147207107980061393776333972444059",
"218851167382402793698571308880151615063",
"257409864875039471323467420616152066420",
"108831906232684722332738077037384836491",
"207199686589027215023686709414532497280",
"155640073846687268586216712238629207179",
"56205830199204984648780396531603016578",
"191364763601237807345405070107342023605",
"229937155074357369661973123728413911271",
"289863015691565437673715561813620038315",
"194173500609386629295873249517132001751",
"18350052244928235330694319187122653445",
"154536894200349122455662396338062341808",
"278690194603127711340205892671340368914",
"321333079422437773454261908271003645219",
"93615188401731605146237623398378524994",
"106864432865667126911704601465453514663",
"258819853583247432150006759060083868230",
"310065713380151206609405031183872028505",
"83530527740705208139916270831306858009",
"72898928925513888803336172980226210201",
"139254446132685923327916684748895669768",
"245165819485819825163386288250676401901",
"24569277490710058095273696111488968677",
"173108296752684797288012681174453973032",
"324716132359261342907796054884219373646"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-7a4ec5aa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_send_event"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 483.0,
"function_hash": "233547242520903074018953823656972925928"
}
},
{
"id": "CVE-2023-53591-7c3739ad",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"192068624557440896564078537406559094840",
"69816215076233886590466687653675656841",
"280580200111387885838640166414493824864",
"117699738576335592387353865332973056647",
"142742656890879653814957788520695154134",
"52751713969156289878117113956524077245",
"50406046021520638643790725498471606880",
"135532226564485092282783070541328131417",
"51694880204447350585078294567298186855",
"227063929351299397275704833281755877488",
"57369120086586858736781258419629978280",
"28077832595335602910983497465418130612",
"277957945449627101754663722124842978756",
"319020472469412291898831507895758212437",
"240164789870185782522107896213194734258",
"6723005414166920096818516040686963681",
"130075666522257189443189041635828190232",
"160022106068652184786354016432396934122",
"33649633981171934452417658393389339554",
"179904547005336985293433838082427006924",
"168709840373281761395061930703850898205",
"85368871323567551620053690168763668976",
"19527705492277158952719677022460771353",
"42783305030102513907981370512443778634"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-7d18b518",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"192068624557440896564078537406559094840",
"69816215076233886590466687653675656841",
"280580200111387885838640166414493824864",
"117699738576335592387353865332973056647",
"142742656890879653814957788520695154134",
"52751713969156289878117113956524077245",
"50406046021520638643790725498471606880",
"135532226564485092282783070541328131417",
"51694880204447350585078294567298186855",
"227063929351299397275704833281755877488",
"57369120086586858736781258419629978280",
"28077832595335602910983497465418130612",
"277957945449627101754663722124842978756",
"319020472469412291898831507895758212437",
"240164789870185782522107896213194734258",
"6723005414166920096818516040686963681",
"130075666522257189443189041635828190232",
"160022106068652184786354016432396934122",
"33649633981171934452417658393389339554",
"179904547005336985293433838082427006924",
"168709840373281761395061930703850898205",
"85368871323567551620053690168763668976",
"19527705492277158952719677022460771353",
"42783305030102513907981370512443778634"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-8007f6a1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"311776573686794273962073552986273319682",
"210871766952103306209492349926458743499",
"200428784868894167065511115243468412269",
"210105011539561115296150344308976599192",
"194797535759990989725733426814460718851",
"57430548267089392475039221274248571689",
"193507339567131004333395006671769865715",
"139962279950721066138833244979345080695",
"74296641522447386793134517249439886813",
"23381300076773048151919172266719756087",
"76162737640337069207239284568805500422",
"9603619328927669130982207650882728135",
"149084147207107980061393776333972444059",
"218851167382402793698571308880151615063",
"257409864875039471323467420616152066420",
"108831906232684722332738077037384836491",
"207199686589027215023686709414532497280",
"155640073846687268586216712238629207179",
"56205830199204984648780396531603016578",
"191364763601237807345405070107342023605",
"229937155074357369661973123728413911271",
"289863015691565437673715561813620038315",
"194173500609386629295873249517132001751",
"18350052244928235330694319187122653445",
"154536894200349122455662396338062341808",
"278690194603127711340205892671340368914",
"321333079422437773454261908271003645219",
"93615188401731605146237623398378524994",
"106864432865667126911704601465453514663",
"258819853583247432150006759060083868230",
"310065713380151206609405031183872028505",
"83530527740705208139916270831306858009",
"72898928925513888803336172980226210201",
"139254446132685923327916684748895669768",
"245165819485819825163386288250676401901",
"24569277490710058095273696111488968677",
"173108296752684797288012681174453973032",
"324716132359261342907796054884219373646"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-8d2a683c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c",
"function": "mlx5e_tc_query_route_vport"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 643.0,
"function_hash": "162977240235591680179832433634605594087"
}
},
{
"id": "CVE-2023-53591-8e7ab87b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_register_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 328.0,
"function_hash": "126242282128405327116632403208182478761"
}
},
{
"id": "CVE-2023-53591-8f8d02cb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_set_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 192.0,
"function_hash": "97310930117821388300352040847737561522"
}
},
{
"id": "CVE-2023-53591-92f167f1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_send_event"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 483.0,
"function_hash": "233547242520903074018953823656972925928"
}
},
{
"id": "CVE-2023-53591-9434f1b0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"176406032016779130748389214240909876429",
"282419335228827249247996799587916617307",
"112562119797945678341750788503962001508",
"83944327912989712886406599653148166164"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-9ce760f2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_send_event"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 483.0,
"function_hash": "233547242520903074018953823656972925928"
}
},
{
"id": "CVE-2023-53591-9f45a6fe",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_is_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 147.0,
"function_hash": "337697698693509996431690279279739796783"
}
},
{
"id": "CVE-2023-53591-a15425b6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_register_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 328.0,
"function_hash": "126242282128405327116632403208182478761"
}
},
{
"id": "CVE-2023-53591-a4cee9ca",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_send_event"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 483.0,
"function_hash": "233547242520903074018953823656972925928"
}
},
{
"id": "CVE-2023-53591-a9ffc286",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_set_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 192.0,
"function_hash": "97310930117821388300352040847737561522"
}
},
{
"id": "CVE-2023-53591-ab5d605d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_is_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 147.0,
"function_hash": "337697698693509996431690279279739796783"
}
},
{
"id": "CVE-2023-53591-ad1285e1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/en_tc.c",
"function": "mlx5e_tc_query_route_vport"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 643.0,
"function_hash": "162977240235591680179832433634605594087"
}
},
{
"id": "CVE-2023-53591-bc86f7eb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"176406032016779130748389214240909876429",
"282419335228827249247996799587916617307",
"112562119797945678341750788503962001508",
"83944327912989712886406599653148166164"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-be0d5869",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69966bce28da6aadccfd968b75d128a79da32d17",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_is_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 147.0,
"function_hash": "337697698693509996431690279279739796783"
}
},
{
"id": "CVE-2023-53591-d83d57d7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_register_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 328.0,
"function_hash": "126242282128405327116632403208182478761"
}
},
{
"id": "CVE-2023-53591-dc04f6bc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_get_peer_data"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 397.0,
"function_hash": "240689347378646905356303720200563246873"
}
},
{
"id": "CVE-2023-53591-dc13cb9a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_unregister_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 250.0,
"function_hash": "97312127328694320498027224514697668540"
}
},
{
"id": "CVE-2023-53591-de7c62fa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_is_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 147.0,
"function_hash": "337697698693509996431690279279739796783"
}
},
{
"id": "CVE-2023-53591-e0c22847",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_unregister_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 250.0,
"function_hash": "97312127328694320498027224514697668540"
}
},
{
"id": "CVE-2023-53591-e3295afc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_set_paired"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 192.0,
"function_hash": "97310930117821388300352040847737561522"
}
},
{
"id": "CVE-2023-53591-ec236840",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362063df6ceec80b0b6798b61ae03504dcc125a5",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_get_peer_data"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 397.0,
"function_hash": "240689347378646905356303720200563246873"
}
},
{
"id": "CVE-2023-53591-f0d2d844",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691c041bf20899fc13c793f92ba61ab660fa3a30",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"176406032016779130748389214240909876429",
"282419335228827249247996799587916617307",
"112562119797945678341750788503962001508",
"83944327912989712886406599653148166164"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-f4c4f3c1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_unregister_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 250.0,
"function_hash": "97312127328694320498027224514697668540"
}
},
{
"id": "CVE-2023-53591-f7e7f9eb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"311776573686794273962073552986273319682",
"210871766952103306209492349926458743499",
"200428784868894167065511115243468412269",
"210105011539561115296150344308976599192",
"194797535759990989725733426814460718851",
"57430548267089392475039221274248571689",
"193507339567131004333395006671769865715",
"139962279950721066138833244979345080695",
"74296641522447386793134517249439886813",
"23381300076773048151919172266719756087",
"76162737640337069207239284568805500422",
"9603619328927669130982207650882728135",
"149084147207107980061393776333972444059",
"218851167382402793698571308880151615063",
"257409864875039471323467420616152066420",
"108831906232684722332738077037384836491",
"207199686589027215023686709414532497280",
"155640073846687268586216712238629207179",
"56205830199204984648780396531603016578",
"191364763601237807345405070107342023605",
"229937155074357369661973123728413911271",
"289863015691565437673715561813620038315",
"194173500609386629295873249517132001751",
"18350052244928235330694319187122653445",
"154536894200349122455662396338062341808",
"278690194603127711340205892671340368914",
"321333079422437773454261908271003645219",
"93615188401731605146237623398378524994",
"106864432865667126911704601465453514663",
"258819853583247432150006759060083868230",
"310065713380151206609405031183872028505",
"83530527740705208139916270831306858009",
"72898928925513888803336172980226210201",
"139254446132685923327916684748895669768",
"245165819485819825163386288250676401901",
"24569277490710058095273696111488968677",
"173108296752684797288012681174453973032",
"324716132359261342907796054884219373646"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53591-fc85b7cf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a7236e420a7d8082b1df4b3e05c739dd2642a662",
"target": {
"file": "drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c",
"function": "mlx5_devcom_register_component"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 328.0,
"function_hash": "126242282128405327116632403208182478761"
}
}
]