In the Linux kernel, the following vulnerability has been resolved:
net: hns3: fix kernel crash when devlink reload during initialization
The devlink reload process will access the hardware resources, but the register operation is done before the hardware is initialized. So, processing the devlink reload during initialization may lead to kernel crash.
This patch fixes this by registering the devlink after hardware initialization.
[
{
"deprecated": false,
"id": "CVE-2024-36900-0fc39cbe",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"317553553681069264113107259582005355892",
"236903916533458424659970380988547267386",
"105420918147398357300842546320682811546",
"106894601444339878605427177440049152276",
"113435186923352921671398090142083774051",
"92377563614713991272232758575216964313",
"216423819674376948583456682838568656826",
"314226217326564077434118302439134637609",
"311737154421792496809384715998696458354",
"317927148437245164965980374941388960378",
"242506565068440578044941465061180984826",
"118291762421632621868487879735407393980",
"66627939433079665522238817729594114310",
"137332482331961281156761426212068574170"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c623fe0534806b627054da09b6f51b7b2f7b9cd"
},
{
"deprecated": false,
"id": "CVE-2024-36900-26d54e41",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclge_init_ae_dev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"length": 4716.0,
"function_hash": "165872985935765385555019532799324772425"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35d92abfbad88cf947c010baf34b075e40566095"
},
{
"deprecated": false,
"id": "CVE-2024-36900-291833c9",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"317553553681069264113107259582005355892",
"236903916533458424659970380988547267386",
"105420918147398357300842546320682811546",
"106894601444339878605427177440049152276",
"113435186923352921671398090142083774051",
"92377563614713991272232758575216964313",
"216423819674376948583456682838568656826",
"314226217326564077434118302439134637609",
"311737154421792496809384715998696458354",
"317927148437245164965980374941388960378",
"242506565068440578044941465061180984826",
"118291762421632621868487879735407393980",
"66627939433079665522238817729594114310",
"137332482331961281156761426212068574170"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35d92abfbad88cf947c010baf34b075e40566095"
},
{
"deprecated": false,
"id": "CVE-2024-36900-387ba1dd",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclgevf_init_hdev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"length": 2659.0,
"function_hash": "232034448166840695246528870209223304357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98bc78ce0909ccc92005e2cb6609ec6c7942f69"
},
{
"deprecated": false,
"id": "CVE-2024-36900-492b4e60",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclge_init_ae_dev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"length": 4716.0,
"function_hash": "165872985935765385555019532799324772425"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c623fe0534806b627054da09b6f51b7b2f7b9cd"
},
{
"deprecated": false,
"id": "CVE-2024-36900-50517509",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"317553553681069264113107259582005355892",
"236903916533458424659970380988547267386",
"105420918147398357300842546320682811546",
"106894601444339878605427177440049152276",
"113435186923352921671398090142083774051",
"92377563614713991272232758575216964313",
"216423819674376948583456682838568656826",
"314226217326564077434118302439134637609",
"311737154421792496809384715998696458354",
"317927148437245164965980374941388960378",
"242506565068440578044941465061180984826",
"118291762421632621868487879735407393980",
"66627939433079665522238817729594114310",
"137332482331961281156761426212068574170"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98bc78ce0909ccc92005e2cb6609ec6c7942f69"
},
{
"deprecated": false,
"id": "CVE-2024-36900-65afa999",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclgevf_init_hdev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"length": 2659.0,
"function_hash": "232034448166840695246528870209223304357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72ede790f5a03c3957487400a1b72ebce293a2e7"
},
{
"deprecated": false,
"id": "CVE-2024-36900-9f0707b2",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"58836495644359565928301945608974445391",
"115101849905606704560141047963597772258",
"133656251492727386535719411227922871868",
"336245316269696174846069908267889734658",
"250733966639460155573234254870413853246",
"213609621217091954485561347279585025591",
"280024972312721072977369797325966046888",
"262714634624358856177822213691613926299",
"53479930006343992286312547643367272909",
"86142943647790208486985790338337060512",
"50894409163146627570292517723703868269",
"49780571632322707613231085740974405245",
"187208869178374141294528248255451006590",
"283957513384236710131910819439490978969",
"331337021465928522106240836789012413101",
"159832203553902387983987268039919115027",
"332114191989268184253555959114248645822",
"224355064019458526301599145208974691653",
"97394219712979808281352766572936084146",
"297710590806667328001050313861920088979",
"275066355462590866207693558798106552970",
"261303333964016065431166296246891039996",
"312761390427261868520225018331526543322"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98bc78ce0909ccc92005e2cb6609ec6c7942f69"
},
{
"deprecated": false,
"id": "CVE-2024-36900-ab14426d",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"58836495644359565928301945608974445391",
"115101849905606704560141047963597772258",
"133656251492727386535719411227922871868",
"336245316269696174846069908267889734658",
"250733966639460155573234254870413853246",
"213609621217091954485561347279585025591",
"280024972312721072977369797325966046888",
"262714634624358856177822213691613926299",
"53479930006343992286312547643367272909",
"86142943647790208486985790338337060512",
"106159214321214468070519592056175425203",
"221270589863769667786186598374603862241",
"244797345420898007348993851243820207177",
"283957513384236710131910819439490978969",
"331337021465928522106240836789012413101",
"159832203553902387983987268039919115027",
"332114191989268184253555959114248645822",
"224355064019458526301599145208974691653",
"97394219712979808281352766572936084146",
"297710590806667328001050313861920088979",
"275066355462590866207693558798106552970",
"261303333964016065431166296246891039996",
"91475669810958508353825383213628177746"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72ede790f5a03c3957487400a1b72ebce293a2e7"
},
{
"deprecated": false,
"id": "CVE-2024-36900-ae60c9bc",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"58836495644359565928301945608974445391",
"115101849905606704560141047963597772258",
"133656251492727386535719411227922871868",
"336245316269696174846069908267889734658",
"250733966639460155573234254870413853246",
"213609621217091954485561347279585025591",
"280024972312721072977369797325966046888",
"262714634624358856177822213691613926299",
"53479930006343992286312547643367272909",
"86142943647790208486985790338337060512",
"50894409163146627570292517723703868269",
"49780571632322707613231085740974405245",
"187208869178374141294528248255451006590",
"283957513384236710131910819439490978969",
"331337021465928522106240836789012413101",
"159832203553902387983987268039919115027",
"332114191989268184253555959114248645822",
"224355064019458526301599145208974691653",
"97394219712979808281352766572936084146",
"297710590806667328001050313861920088979",
"275066355462590866207693558798106552970",
"261303333964016065431166296246891039996",
"312761390427261868520225018331526543322"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c623fe0534806b627054da09b6f51b7b2f7b9cd"
},
{
"deprecated": false,
"id": "CVE-2024-36900-cc5de8c8",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"317553553681069264113107259582005355892",
"236903916533458424659970380988547267386",
"105420918147398357300842546320682811546",
"106894601444339878605427177440049152276",
"113435186923352921671398090142083774051",
"92377563614713991272232758575216964313",
"216423819674376948583456682838568656826",
"314226217326564077434118302439134637609",
"311737154421792496809384715998696458354",
"317927148437245164965980374941388960378",
"242506565068440578044941465061180984826",
"118291762421632621868487879735407393980",
"66627939433079665522238817729594114310",
"137332482331961281156761426212068574170"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72ede790f5a03c3957487400a1b72ebce293a2e7"
},
{
"deprecated": false,
"id": "CVE-2024-36900-d7425066",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclgevf_init_hdev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"length": 2659.0,
"function_hash": "232034448166840695246528870209223304357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c623fe0534806b627054da09b6f51b7b2f7b9cd"
},
{
"deprecated": false,
"id": "CVE-2024-36900-dc75ac29",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclgevf_init_hdev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c"
},
"digest": {
"length": 2659.0,
"function_hash": "232034448166840695246528870209223304357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35d92abfbad88cf947c010baf34b075e40566095"
},
{
"deprecated": false,
"id": "CVE-2024-36900-de4215f4",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclge_init_ae_dev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"length": 4716.0,
"function_hash": "165872985935765385555019532799324772425"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c98bc78ce0909ccc92005e2cb6609ec6c7942f69"
},
{
"deprecated": false,
"id": "CVE-2024-36900-dfa53403",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"58836495644359565928301945608974445391",
"115101849905606704560141047963597772258",
"133656251492727386535719411227922871868",
"336245316269696174846069908267889734658",
"250733966639460155573234254870413853246",
"213609621217091954485561347279585025591",
"280024972312721072977369797325966046888",
"262714634624358856177822213691613926299",
"53479930006343992286312547643367272909",
"86142943647790208486985790338337060512",
"50894409163146627570292517723703868269",
"49780571632322707613231085740974405245",
"187208869178374141294528248255451006590",
"283957513384236710131910819439490978969",
"331337021465928522106240836789012413101",
"159832203553902387983987268039919115027",
"332114191989268184253555959114248645822",
"224355064019458526301599145208974691653",
"97394219712979808281352766572936084146",
"297710590806667328001050313861920088979",
"275066355462590866207693558798106552970",
"261303333964016065431166296246891039996",
"312761390427261868520225018331526543322"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35d92abfbad88cf947c010baf34b075e40566095"
},
{
"deprecated": false,
"id": "CVE-2024-36900-e2991ac5",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "hclge_init_ae_dev",
"file": "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
},
"digest": {
"length": 4622.0,
"function_hash": "251528516128980222394299888398907524082"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72ede790f5a03c3957487400a1b72ebce293a2e7"
}
]