In the Linux kernel, the following vulnerability has been resolved:
crypto: hisilicon/qm - inject error before stopping queue
The master ooo cannot be completely closed when the accelerator core reports memory error. Therefore, the driver needs to inject the qm error to close the master ooo. Currently, the qm error is injected after stopping queue, memory may be released immediately after stopping queue, causing the device to access the released memory. Therefore, error is injected to close master ooo before stopping queue to ensure that the device does not access the released memory.
[ { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b04f06fc0243600665b3b50253869533b7938468", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "93384506472856384704261183537984610661", "length": 766.0 }, "id": "CVE-2024-47730-163f947c" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f8024f12752e32ffbbf59e1c09d949f977ff743f", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "143471310322930161903366478445016411910", "99120914263365503342544455312358183015", "77850605859176272744818331561071187060", "102381779107983943022563226832686033391", "27609297317265487560277124047398593370", "167903029222802970217477937494564829914", "149412602581397868975462350907928681633", "120122130746675232168565789157151940324", "202103932824307743178433485839700299056", "286130193940635256105778531248233314834", "232846999604705210206959016484518478370", "149686435693504728214049240858655327628", "57644805716272753310538310019368392368", "100210233043279725389709219483967029910", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "336049912502143292768467129473021519083", "255692628441127605780377187452468163298", "192344343463093044487811863721295104346", "270322688081700485846689833645665130219", "65482537218596896118626945379779913945", "219030704678858714602800284762620985086", "228556628762811991553407292387799172413" ] }, "id": "CVE-2024-47730-2d2ae69f" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85e81103033324d7a271dafb584991da39554a89", "signature_version": "v1", "target": { "function": "qm_soft_reset", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "49764228205652147983161303026468655104", "length": 1301.0 }, "id": "CVE-2024-47730-2db7e38a" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85e81103033324d7a271dafb584991da39554a89", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "167266757900838705392448615845047479535", "length": 460.0 }, "id": "CVE-2024-47730-454481aa" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@801d64177faaec184cee1e1aa4d8487df1364a54", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "143471310322930161903366478445016411910", "99120914263365503342544455312358183015", "77850605859176272744818331561071187060", "102381779107983943022563226832686033391", "27609297317265487560277124047398593370", "167903029222802970217477937494564829914", "121706018807676270436887073838764876771", "340061625016324110250161350532415813307", "202103932824307743178433485839700299056", "286130193940635256105778531248233314834", "232846999604705210206959016484518478370", "149686435693504728214049240858655327628", "57644805716272753310538310019368392368", "100210233043279725389709219483967029910", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "287030484367221243848439502422893658531", "214924004555282453959180154691743018695", "330755753195094465473958926137366574251", "270322688081700485846689833645665130219", "270993080511956066058103359099335548007", "312312221940064683692498301645451743695", "130543559504243825059339146875998870556" ] }, "id": "CVE-2024-47730-60fb65ad" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f8024f12752e32ffbbf59e1c09d949f977ff743f", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "93384506472856384704261183537984610661", "length": 766.0 }, "id": "CVE-2024-47730-69f71809" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@801d64177faaec184cee1e1aa4d8487df1364a54", "signature_version": "v1", "target": { "function": "qm_soft_reset", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "139545519778354639227387542954720962694", "length": 1402.0 }, "id": "CVE-2024-47730-70c5254b" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aa3e0db35a60002fb34ef0e4ad203aa59fd00203", "signature_version": "v1", "target": { "function": "qm_soft_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "198996159209799498086143660302895199506", "length": 695.0 }, "id": "CVE-2024-47730-73e3df7b" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b04f06fc0243600665b3b50253869533b7938468", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "143471310322930161903366478445016411910", "99120914263365503342544455312358183015", "77850605859176272744818331561071187060", "102381779107983943022563226832686033391", "27609297317265487560277124047398593370", "167903029222802970217477937494564829914", "149412602581397868975462350907928681633", "120122130746675232168565789157151940324", "202103932824307743178433485839700299056", "286130193940635256105778531248233314834", "232846999604705210206959016484518478370", "149686435693504728214049240858655327628", "57644805716272753310538310019368392368", "100210233043279725389709219483967029910", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "336049912502143292768467129473021519083", "255692628441127605780377187452468163298", "192344343463093044487811863721295104346", "270322688081700485846689833645665130219", "65482537218596896118626945379779913945", "219030704678858714602800284762620985086", "228556628762811991553407292387799172413" ] }, "id": "CVE-2024-47730-7a6ffb2d" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aa3e0db35a60002fb34ef0e4ad203aa59fd00203", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "143471310322930161903366478445016411910", "99120914263365503342544455312358183015", "77850605859176272744818331561071187060", "102381779107983943022563226832686033391", "27609297317265487560277124047398593370", "167903029222802970217477937494564829914", "149412602581397868975462350907928681633", "120122130746675232168565789157151940324", "202103932824307743178433485839700299056", "286130193940635256105778531248233314834", "232846999604705210206959016484518478370", "149686435693504728214049240858655327628", "57644805716272753310538310019368392368", "100210233043279725389709219483967029910", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "336049912502143292768467129473021519083", "255692628441127605780377187452468163298", "192344343463093044487811863721295104346", "270322688081700485846689833645665130219", "65482537218596896118626945379779913945", "219030704678858714602800284762620985086", "228556628762811991553407292387799172413" ] }, "id": "CVE-2024-47730-7e99cd32" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98d3be34c9153eceadb56de50d9f9347e88d86e4", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "327661169317150713971050843323061771528", "length": 649.0 }, "id": "CVE-2024-47730-8c3f5d78" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@801d64177faaec184cee1e1aa4d8487df1364a54", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "327661169317150713971050843323061771528", "length": 649.0 }, "id": "CVE-2024-47730-9398fadb" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b04f06fc0243600665b3b50253869533b7938468", "signature_version": "v1", "target": { "function": "qm_soft_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "198996159209799498086143660302895199506", "length": 695.0 }, "id": "CVE-2024-47730-a14526af" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aa3e0db35a60002fb34ef0e4ad203aa59fd00203", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "93384506472856384704261183537984610661", "length": 766.0 }, "id": "CVE-2024-47730-aa698946" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5f5b813e546f7fe133539c3d7a5086cc8dd2aa1", "signature_version": "v1", "target": { "function": "qm_controller_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "93384506472856384704261183537984610661", "length": 766.0 }, "id": "CVE-2024-47730-cea54ffb" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98d3be34c9153eceadb56de50d9f9347e88d86e4", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "143471310322930161903366478445016411910", "99120914263365503342544455312358183015", "77850605859176272744818331561071187060", "102381779107983943022563226832686033391", "27609297317265487560277124047398593370", "167903029222802970217477937494564829914", "149412602581397868975462350907928681633", "120122130746675232168565789157151940324", "202103932824307743178433485839700299056", "286130193940635256105778531248233314834", "232846999604705210206959016484518478370", "149686435693504728214049240858655327628", "57644805716272753310538310019368392368", "100210233043279725389709219483967029910", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "336049912502143292768467129473021519083", "255692628441127605780377187452468163298", "192344343463093044487811863721295104346", "270322688081700485846689833645665130219", "65482537218596896118626945379779913945", "219030704678858714602800284762620985086", "228556628762811991553407292387799172413" ] }, "id": "CVE-2024-47730-e4df4e69" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f8024f12752e32ffbbf59e1c09d949f977ff743f", "signature_version": "v1", "target": { "function": "qm_soft_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "198996159209799498086143660302895199506", "length": 695.0 }, "id": "CVE-2024-47730-e897420a" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98d3be34c9153eceadb56de50d9f9347e88d86e4", "signature_version": "v1", "target": { "function": "qm_soft_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "198996159209799498086143660302895199506", "length": 695.0 }, "id": "CVE-2024-47730-eabeeddc" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5f5b813e546f7fe133539c3d7a5086cc8dd2aa1", "signature_version": "v1", "target": { "function": "qm_soft_reset_prepare", "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "function_hash": "198996159209799498086143660302895199506", "length": 695.0 }, "id": "CVE-2024-47730-eeb6acd8" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85e81103033324d7a271dafb584991da39554a89", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "219780346597889925767420113521575216709", "4221363234881364151453747333788789385", "323241691368953293985715114184337397016", "302006182633176408572482934909626613136", "293184960092386811797842776486558366456", "19703598137665736974985212431768834142", "270310989090667990787531849890723881176", "340061625016324110250161350532415813307", "202103932824307743178433485839700299056", "48289381634701627371092898237365498534", "179681371638925774487995811919952970926", "234132164911517278897907759733911685949", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "287030484367221243848439502422893658531", "214924004555282453959180154691743018695", "330755753195094465473958926137366574251", "270322688081700485846689833645665130219", "270993080511956066058103359099335548007", "312312221940064683692498301645451743695", "130543559504243825059339146875998870556" ] }, "id": "CVE-2024-47730-ef929a7b" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5f5b813e546f7fe133539c3d7a5086cc8dd2aa1", "signature_version": "v1", "target": { "file": "drivers/crypto/hisilicon/qm.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "143471310322930161903366478445016411910", "99120914263365503342544455312358183015", "77850605859176272744818331561071187060", "102381779107983943022563226832686033391", "27609297317265487560277124047398593370", "167903029222802970217477937494564829914", "149412602581397868975462350907928681633", "120122130746675232168565789157151940324", "202103932824307743178433485839700299056", "286130193940635256105778531248233314834", "232846999604705210206959016484518478370", "149686435693504728214049240858655327628", "57644805716272753310538310019368392368", "100210233043279725389709219483967029910", "324258057869025027477307465770479286647", "162937627472729808630655269932931650705", "75361224468343946293980623687477318725", "289362006881135944113063775123392005468", "322057461540200405786741667692055867377", "134301880564421855160179053234601019451", "69291479471048269457317353647055063384", "85904323975892730063467203140097493031", "133641628045333601647638717790903189561", "289186460822648282032756828009110055964", "336049912502143292768467129473021519083", "255692628441127605780377187452468163298", "192344343463093044487811863721295104346", "270322688081700485846689833645665130219", "65482537218596896118626945379779913945", "219030704678858714602800284762620985086", "228556628762811991553407292387799172413" ] }, "id": "CVE-2024-47730-fdfa5098" } ]