In the Linux kernel, the following vulnerability has been resolved:
scsi: hisi_sas: Create all dump files during debugfs initialization
For the current debugfs of hisi_sas, after user triggers dump, the driver allocate memory space to save the register information and create debugfs files to display the saved information. In this process, the debugfs files created after each dump.
Therefore, when the dump is triggered while the driver is unbind, the following hang occurs:
[67840.853907] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a0 [67840.862947] Mem abort info: [67840.865855] ESR = 0x0000000096000004 [67840.869713] EC = 0x25: DABT (current EL), IL = 32 bits [67840.875125] SET = 0, FnV = 0 [67840.878291] EA = 0, S1PTW = 0 [67840.881545] FSC = 0x04: level 0 translation fault [67840.886528] Data abort info: [67840.889524] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [67840.895117] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [67840.900284] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [67840.905709] user pgtable: 4k pages, 48-bit VAs, pgdp=0000002803a1f000 [67840.912263] [00000000000000a0] pgd=0000000000000000, p4d=0000000000000000 [67840.919177] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP [67840.996435] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [67841.003628] pc : downwrite+0x30/0x98 [67841.007546] lr : startcreating.part.0+0x60/0x198 [67841.012495] sp : ffff8000b979ba20 [67841.016046] x29: ffff8000b979ba20 x28: 0000000000000010 x27: 0000000000024b40 [67841.023412] x26: 0000000000000012 x25: ffff20202b355ae8 x24: ffff20202b35a8c8 [67841.030779] x23: ffffa36877928208 x22: ffffa368b4972240 x21: ffff8000b979bb18 [67841.038147] x20: ffff00281dc1e3c0 x19: fffffffffffffffe x18: 0000000000000020 [67841.045515] x17: 0000000000000000 x16: ffffa368b128a530 x15: ffffffffffffffff [67841.052888] x14: ffff8000b979bc18 x13: ffffffffffffffff x12: ffff8000b979bb18 [67841.060263] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffa368b1289b18 [67841.067640] x8 : 0000000000000012 x7 : 0000000000000000 x6 : 00000000000003a9 [67841.075014] x5 : 0000000000000000 x4 : ffff002818c5cb00 x3 : 0000000000000001 [67841.082388] x2 : 0000000000000000 x1 : ffff002818c5cb00 x0 : 00000000000000a0 [67841.089759] Call trace: [67841.092456] downwrite+0x30/0x98 [67841.096017] startcreating.part.0+0x60/0x198 [67841.100613] debugfscreatedir+0x48/0x1f8 [67841.104950] debugfscreatefilesv3hw+0x88/0x348 [hisisasv3hw] [67841.111447] debugfssnapshotregsv3hw+0x708/0x798 [hisisasv3hw] [67841.118111] debugfstriggerdumpv3hwwrite+0x9c/0x120 [hisisasv3hw] [67841.125115] fullproxywrite+0x68/0xc8 [67841.129175] vfswrite+0xd8/0x3f0 [67841.132708] ksyswrite+0x70/0x108 [67841.136317] _arm64syswrite+0x24/0x38 [67841.140440] invokesyscall+0x50/0x128 [67841.144385] el0svccommon.constprop.0+0xc8/0xf0 [67841.149273] doel0svc+0x24/0x38 [67841.152773] el0svc+0x38/0xd8 [67841.156009] el0t64synchandler+0xc0/0xc8 [67841.160361] el0t64sync+0x1a4/0x1a8 [67841.164189] Code: b9000882 d2800002 d2800023 f9800011 (c85ffc05) [67841.170443] ---[ end trace 0000000000000000 ]---
To fix this issue, create all directories and files during debugfs initialization. In this way, the driver only needs to allocate memory space to save information each time the user triggers dumping.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 161.0,
"function_hash": "302281216892323509397099857851059919515"
},
"id": "CVE-2024-56588-04102241",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_global_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 386.0,
"function_hash": "158339631600700038276809057683910801837"
},
"id": "CVE-2024-56588-070e718a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_itct_cache_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 676.0,
"function_hash": "210838769905494768343476104364666529369"
},
"id": "CVE-2024-56588-11102aba",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_snapshot_regs_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 676.0,
"function_hash": "210838769905494768343476104364666529369"
},
"id": "CVE-2024-56588-15719ec0",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_snapshot_regs_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 303.0,
"function_hash": "300277998635190321845983822351413801493"
},
"id": "CVE-2024-56588-174f3d81",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_iost_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 182.0,
"function_hash": "78075223363649584940678973430475620774"
},
"id": "CVE-2024-56588-21779825",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_dq_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 303.0,
"function_hash": "300277998635190321845983822351413801493"
},
"id": "CVE-2024-56588-21ac5aae",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_iost_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 386.0,
"function_hash": "158339631600700038276809057683910801837"
},
"id": "CVE-2024-56588-23656873",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_itct_cache_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 295.0,
"function_hash": "72194475287527497363637460902243903693"
},
"id": "CVE-2024-56588-25194903",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_itct_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 390.0,
"function_hash": "253431236634791697449360622468621388642"
},
"id": "CVE-2024-56588-2fa34a22",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_iost_cache_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 158.0,
"function_hash": "162448770076046071517393362132086473475"
},
"id": "CVE-2024-56588-38d75f85",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_ras_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 202.0,
"function_hash": "282956488875988706002580817209617639858"
},
"id": "CVE-2024-56588-3c288c76",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_cq_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1802.0,
"function_hash": "198253366729388341659633150584892353035"
},
"id": "CVE-2024-56588-3ee51192",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_create_files_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 158.0,
"function_hash": "73224735517925166285403270531944866529"
},
"id": "CVE-2024-56588-42e5430c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_axi_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 202.0,
"function_hash": "282956488875988706002580817209617639858"
},
"id": "CVE-2024-56588-4b2afcf2",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_cq_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"104745916099493748984427820111634150486",
"239847847220105156151692581184041904314",
"210191358848687109949624003137980248338",
"190379040829687595795066666303847173213",
"10733723182471213646726606050131723488",
"47005657751240635784620069995820679059",
"260932134463156122340306879161157439980",
"42102036343637513889612067131783341074",
"273428464955334976083147525588714541930",
"217085063243452363580198838830089961332",
"25542023734188240909521336037599657902",
"211403117968912116485589871536053284859",
"322045608709532140504132761816916873654",
"233241300717708206272320818012900804374",
"64191581462518310177844475019794329558",
"196428967824358428008644263259472800427",
"33666388591557490789526326850483122020",
"198054365025797332043025848408809009603",
"127105080791002916037558152739431601540",
"315864998592376330513823029294400540485",
"239205376094903786841145627111788327236",
"231128037733720448705804553528862225217",
"119143252047182678041480316189404995492",
"275478956805741075312853054923670105651",
"102712712790726767611262420855001130782",
"312585549447652250501841852722129778436",
"185289317456511080332556582945943083824",
"114936546181988616530930278251951546430",
"45360409011849057574447703910927806953",
"55930564089588429719261824736826942059",
"213962728610349946365103762684799998332",
"109681221256516292146890814003697323771",
"11390415278950466493864125894269121464",
"136345108080813363024923829240824627873",
"68853026836269282073337661431681393750",
"316662745663820961029676694058573505051",
"337454857793172063376674887411913123494",
"189827110716664238858006100474681390398",
"330666826959355100171806546018647081823",
"220708209959917144853659524496143486941",
"215979765813278336282869932545419818870",
"224548211942280520393142532871809831858",
"5954780258753891446075765225378143696",
"208420701795758852525965350201107039064",
"5126075556762589334182412113249573123",
"252329390421890117236226178123743095826",
"314165893361695138855408086202331945961",
"90328284049829354813755537724484018288",
"262762175083349322912235802746949678500",
"118202763966598072061692854058274627369",
"333114371271339084310507616208861678966",
"209894729793384203375328431328155107170",
"247237177894174422976888444853219810687",
"52285430809768562257644904400110678149",
"9411651642628873241536334106272915997",
"196058169697432441474359246567184605013",
"16149521293643386315010795832846309245",
"138656852290184841843676060524976913814",
"14680805850774882177076573802645204003",
"242098797556471207619225733137226422588",
"18896824007883971048676161247616643692",
"124187277187502396851458502719760273114",
"33669133847921196643353625149048130600",
"277934190524549531433553629304327395251",
"4894824739082257062666818044676845007",
"71344595280144107757295980009657707848",
"160018071401419825460960985620692638559",
"157550898234928852591440020336302476643",
"231268598352246722862049647830617457513",
"78886899704354083489440409064415313867",
"163917119985087858519337628247693267200",
"36491259819207072703156049155736876001",
"247361604942986917535450744984550908002",
"200412153420401812438078054213287883244",
"10890929668472482405805977538413836451",
"14812153788540830481559475170898448038",
"168495231568635992629652881933225774846",
"98258984732065209876056559575773355523",
"154325775796747978561933957701861723378",
"71039078482244717057353970062280366891",
"211112249487330315289079039492273083116",
"300410982357615274907561250244362808853",
"263026081005185108033927887242967264016",
"247770559695601432243075675103615362240",
"277289211157769044523609907745699638683",
"21660429649300565367350741633141879239",
"278613078165121515992535903946096199808",
"299360252825705254681662315274121541956",
"107241140867699590587833419341505489611",
"294483313783867318397624930966108952229",
"36136364795483485966775995591851515663",
"172157207810218220536867617137116825435",
"208083507027108923747454547642942638980",
"328152166954065692955547234384683937057",
"259975212314758595783135425913694344583",
"212337628177678140881467352939620879446",
"89568467890683689733310786857273745582",
"74779718066924698632733368331970410583",
"100489215249671881999503547671946362995",
"335769854632754384637219587045552449553",
"335085724557783684218706753592955275440",
"37993439616765015466087180074645654673",
"329708501629508062388490588359694836780",
"12105354923766147126987903924258459439",
"314912295703756462672377479123693167917",
"150798362495812286059259672750609970850",
"232617530365078198706424774078424560884",
"68215773793640501738690816415678029410",
"149916994003263067494917706798436254249",
"121303609147072985759270366679552324454",
"295818939800493908888157264162420219892"
]
},
"id": "CVE-2024-56588-4b4511c9",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 295.0,
"function_hash": "72194475287527497363637460902243903693"
},
"id": "CVE-2024-56588-4cc585a3",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_itct_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 676.0,
"function_hash": "210838769905494768343476104364666529369"
},
"id": "CVE-2024-56588-52a32025",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_snapshot_regs_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 185.0,
"function_hash": "16321702878974251985787839652925334594"
},
"id": "CVE-2024-56588-53cea0b6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_port_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 393.0,
"function_hash": "33504959284503185093064160858170900578"
},
"id": "CVE-2024-56588-58fa6581",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_init_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 185.0,
"function_hash": "16321702878974251985787839652925334594"
},
"id": "CVE-2024-56588-609f6b3c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_port_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 295.0,
"function_hash": "72194475287527497363637460902243903693"
},
"id": "CVE-2024-56588-60c5a10b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_itct_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 837.0,
"function_hash": "113972817710750218278473096041893985261"
},
"id": "CVE-2024-56588-65ed45a4",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_release_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1802.0,
"function_hash": "198253366729388341659633150584892353035"
},
"id": "CVE-2024-56588-65faa6c7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_create_files_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 161.0,
"function_hash": "302281216892323509397099857851059919515"
},
"id": "CVE-2024-56588-75ef58f2",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_global_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 390.0,
"function_hash": "253431236634791697449360622468621388642"
},
"id": "CVE-2024-56588-7e1eccca",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_iost_cache_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 837.0,
"function_hash": "113972817710750218278473096041893985261"
},
"id": "CVE-2024-56588-871a3262",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_release_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 393.0,
"function_hash": "221964815723907342563220261443861977956"
},
"id": "CVE-2024-56588-88ed4fec",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_init_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 837.0,
"function_hash": "113972817710750218278473096041893985261"
},
"id": "CVE-2024-56588-a854946b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_release_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 158.0,
"function_hash": "162448770076046071517393362132086473475"
},
"id": "CVE-2024-56588-ad3e9420",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_ras_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 393.0,
"function_hash": "221964815723907342563220261443861977956"
},
"id": "CVE-2024-56588-ad4b3150",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_init_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 303.0,
"function_hash": "300277998635190321845983822351413801493"
},
"id": "CVE-2024-56588-aef4cbbe",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_iost_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 161.0,
"function_hash": "302281216892323509397099857851059919515"
},
"id": "CVE-2024-56588-b219cbc0",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_global_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1802.0,
"function_hash": "198253366729388341659633150584892353035"
},
"id": "CVE-2024-56588-b76c5b7f",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_create_files_v3_hw"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"104745916099493748984427820111634150486",
"239847847220105156151692581184041904314",
"210191358848687109949624003137980248338",
"190379040829687595795066666303847173213",
"10733723182471213646726606050131723488",
"47005657751240635784620069995820679059",
"260932134463156122340306879161157439980",
"42102036343637513889612067131783341074",
"273428464955334976083147525588714541930",
"217085063243452363580198838830089961332",
"25542023734188240909521336037599657902",
"211403117968912116485589871536053284859",
"322045608709532140504132761816916873654",
"233241300717708206272320818012900804374",
"64191581462518310177844475019794329558",
"196428967824358428008644263259472800427",
"33666388591557490789526326850483122020",
"198054365025797332043025848408809009603",
"127105080791002916037558152739431601540",
"315864998592376330513823029294400540485",
"239205376094903786841145627111788327236",
"231128037733720448705804553528862225217",
"119143252047182678041480316189404995492",
"275478956805741075312853054923670105651",
"102712712790726767611262420855001130782",
"312585549447652250501841852722129778436",
"185289317456511080332556582945943083824",
"114936546181988616530930278251951546430",
"45360409011849057574447703910927806953",
"55930564089588429719261824736826942059",
"213962728610349946365103762684799998332",
"109681221256516292146890814003697323771",
"11390415278950466493864125894269121464",
"136345108080813363024923829240824627873",
"68853026836269282073337661431681393750",
"316662745663820961029676694058573505051",
"337454857793172063376674887411913123494",
"189827110716664238858006100474681390398",
"330666826959355100171806546018647081823",
"220708209959917144853659524496143486941",
"215979765813278336282869932545419818870",
"224548211942280520393142532871809831858",
"5954780258753891446075765225378143696",
"208420701795758852525965350201107039064",
"5126075556762589334182412113249573123",
"252329390421890117236226178123743095826",
"314165893361695138855408086202331945961",
"90328284049829354813755537724484018288",
"262762175083349322912235802746949678500",
"118202763966598072061692854058274627369",
"333114371271339084310507616208861678966",
"209894729793384203375328431328155107170",
"247237177894174422976888444853219810687",
"52285430809768562257644904400110678149",
"9411651642628873241536334106272915997",
"196058169697432441474359246567184605013",
"16149521293643386315010795832846309245",
"138656852290184841843676060524976913814",
"14680805850774882177076573802645204003",
"242098797556471207619225733137226422588",
"18896824007883971048676161247616643692",
"124187277187502396851458502719760273114",
"33669133847921196643353625149048130600",
"277934190524549531433553629304327395251",
"4894824739082257062666818044676845007",
"71344595280144107757295980009657707848",
"160018071401419825460960985620692638559",
"157550898234928852591440020336302476643",
"231268598352246722862049647830617457513",
"78886899704354083489440409064415313867",
"163917119985087858519337628247693267200",
"36491259819207072703156049155736876001",
"247361604942986917535450744984550908002",
"200412153420401812438078054213287883244",
"10890929668472482405805977538413836451",
"14812153788540830481559475170898448038",
"168495231568635992629652881933225774846",
"98258984732065209876056559575773355523",
"154325775796747978561933957701861723378",
"71039078482244717057353970062280366891",
"211112249487330315289079039492273083116",
"300410982357615274907561250244362808853",
"263026081005185108033927887242967264016",
"247770559695601432243075675103615362240",
"277289211157769044523609907745699638683",
"21660429649300565367350741633141879239",
"278613078165121515992535903946096199808",
"299360252825705254681662315274121541956",
"107241140867699590587833419341505489611",
"294483313783867318397624930966108952229",
"36136364795483485966775995591851515663",
"172157207810218220536867617137116825435",
"208083507027108923747454547642942638980",
"328152166954065692955547234384683937057",
"259975212314758595783135425913694344583",
"212337628177678140881467352939620879446",
"89568467890683689733310786857273745582",
"74779718066924698632733368331970410583",
"100489215249671881999503547671946362995",
"335769854632754384637219587045552449553",
"335085724557783684218706753592955275440",
"37993439616765015466087180074645654673",
"329708501629508062388490588359694836780",
"12105354923766147126987903924258459439",
"314912295703756462672377479123693167917",
"150798362495812286059259672750609970850",
"204549465992900374209367695827253385272",
"78716358858152628818380647428608752014",
"149916994003263067494917706798436254249",
"121303609147072985759270366679552324454",
"254110306758519249225815120359938038653"
]
},
"id": "CVE-2024-56588-c019e655",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 185.0,
"function_hash": "16321702878974251985787839652925334594"
},
"id": "CVE-2024-56588-c147b1fc",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_port_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 158.0,
"function_hash": "162448770076046071517393362132086473475"
},
"id": "CVE-2024-56588-c8f69fa8",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_ras_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 158.0,
"function_hash": "73224735517925166285403270531944866529"
},
"id": "CVE-2024-56588-d6f7660c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_axi_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 182.0,
"function_hash": "78075223363649584940678973430475620774"
},
"id": "CVE-2024-56588-df9a4fc1",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_dq_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 386.0,
"function_hash": "158339631600700038276809057683910801837"
},
"id": "CVE-2024-56588-e2a7412f",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_itct_cache_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 182.0,
"function_hash": "78075223363649584940678973430475620774"
},
"id": "CVE-2024-56588-e91341c3",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_dq_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 158.0,
"function_hash": "73224735517925166285403270531944866529"
},
"id": "CVE-2024-56588-f0ca7ab7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8c50c9855a9e1b0d1e3680e5ad839002a9deb5",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_axi_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"104745916099493748984427820111634150486",
"239847847220105156151692581184041904314",
"210191358848687109949624003137980248338",
"190379040829687595795066666303847173213",
"10733723182471213646726606050131723488",
"47005657751240635784620069995820679059",
"260932134463156122340306879161157439980",
"42102036343637513889612067131783341074",
"273428464955334976083147525588714541930",
"217085063243452363580198838830089961332",
"25542023734188240909521336037599657902",
"211403117968912116485589871536053284859",
"322045608709532140504132761816916873654",
"233241300717708206272320818012900804374",
"64191581462518310177844475019794329558",
"196428967824358428008644263259472800427",
"33666388591557490789526326850483122020",
"198054365025797332043025848408809009603",
"127105080791002916037558152739431601540",
"315864998592376330513823029294400540485",
"239205376094903786841145627111788327236",
"231128037733720448705804553528862225217",
"119143252047182678041480316189404995492",
"275478956805741075312853054923670105651",
"102712712790726767611262420855001130782",
"312585549447652250501841852722129778436",
"185289317456511080332556582945943083824",
"114936546181988616530930278251951546430",
"45360409011849057574447703910927806953",
"55930564089588429719261824736826942059",
"213962728610349946365103762684799998332",
"109681221256516292146890814003697323771",
"11390415278950466493864125894269121464",
"136345108080813363024923829240824627873",
"68853026836269282073337661431681393750",
"316662745663820961029676694058573505051",
"337454857793172063376674887411913123494",
"189827110716664238858006100474681390398",
"330666826959355100171806546018647081823",
"220708209959917144853659524496143486941",
"215979765813278336282869932545419818870",
"224548211942280520393142532871809831858",
"5954780258753891446075765225378143696",
"208420701795758852525965350201107039064",
"5126075556762589334182412113249573123",
"252329390421890117236226178123743095826",
"314165893361695138855408086202331945961",
"90328284049829354813755537724484018288",
"262762175083349322912235802746949678500",
"118202763966598072061692854058274627369",
"333114371271339084310507616208861678966",
"209894729793384203375328431328155107170",
"247237177894174422976888444853219810687",
"52285430809768562257644904400110678149",
"9411651642628873241536334106272915997",
"196058169697432441474359246567184605013",
"16149521293643386315010795832846309245",
"138656852290184841843676060524976913814",
"14680805850774882177076573802645204003",
"242098797556471207619225733137226422588",
"18896824007883971048676161247616643692",
"124187277187502396851458502719760273114",
"33669133847921196643353625149048130600",
"277934190524549531433553629304327395251",
"4894824739082257062666818044676845007",
"71344595280144107757295980009657707848",
"160018071401419825460960985620692638559",
"157550898234928852591440020336302476643",
"231268598352246722862049647830617457513",
"78886899704354083489440409064415313867",
"163917119985087858519337628247693267200",
"36491259819207072703156049155736876001",
"247361604942986917535450744984550908002",
"200412153420401812438078054213287883244",
"10890929668472482405805977538413836451",
"14812153788540830481559475170898448038",
"168495231568635992629652881933225774846",
"98258984732065209876056559575773355523",
"154325775796747978561933957701861723378",
"71039078482244717057353970062280366891",
"211112249487330315289079039492273083116",
"300410982357615274907561250244362808853",
"263026081005185108033927887242967264016",
"247770559695601432243075675103615362240",
"277289211157769044523609907745699638683",
"21660429649300565367350741633141879239",
"278613078165121515992535903946096199808",
"299360252825705254681662315274121541956",
"107241140867699590587833419341505489611",
"294483313783867318397624930966108952229",
"36136364795483485966775995591851515663",
"172157207810218220536867617137116825435",
"208083507027108923747454547642942638980",
"328152166954065692955547234384683937057",
"259975212314758595783135425913694344583",
"212337628177678140881467352939620879446",
"89568467890683689733310786857273745582",
"74779718066924698632733368331970410583",
"100489215249671881999503547671946362995",
"335769854632754384637219587045552449553",
"335085724557783684218706753592955275440",
"37993439616765015466087180074645654673",
"329708501629508062388490588359694836780",
"12105354923766147126987903924258459439",
"314912295703756462672377479123693167917",
"150798362495812286059259672750609970850",
"204549465992900374209367695827253385272",
"78716358858152628818380647428608752014",
"149916994003263067494917706798436254249",
"121303609147072985759270366679552324454",
"254110306758519249225815120359938038653"
]
},
"id": "CVE-2024-56588-f17afffa",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c55f99123075e5429850b41b06f7dfffcb708eb",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 390.0,
"function_hash": "253431236634791697449360622468621388642"
},
"id": "CVE-2024-56588-f589ded5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_iost_cache_v3_hw_show"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 202.0,
"function_hash": "282956488875988706002580817209617639858"
},
"id": "CVE-2024-56588-f93a0eca",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f564f15f88490b484e02442dc4c4b11640ea172",
"target": {
"file": "drivers/scsi/hisi_sas/hisi_sas_v3_hw.c",
"function": "debugfs_cq_v3_hw_show"
}
}
]