In the Linux kernel, the following vulnerability has been resolved:
vhost_task: Handle SIGKILL by flushing work and exiting
Instead of lingering until the device is closed, this has us handle SIGKILL by:
{ "vanir_signatures": [ { "target": { "file": "drivers/vhost/vhost.c", "function": "__vhost_worker_flush" }, "signature_version": "v1", "id": "CVE-2024-42135-01d1d37a", "digest": { "length": 312.0, "function_hash": "226617212540929751457720154742123544019" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "__vhost_vq_attach_worker" }, "signature_version": "v1", "id": "CVE-2024-42135-04f5a3c0", "digest": { "length": 836.0, "function_hash": "104363760820929350626893064652461169205" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.c" }, "signature_version": "v1", "id": "CVE-2024-42135-181f023c", "digest": { "threshold": 0.9, "line_hashes": [ "279706467201372599331618836525665796336", "65923632675406849116794354883560713868", "68371490207941267687005950230331851704", "321025176412846318931460595698902131113", "260737054163973344425848638839892553628", "335451761760497286418131764255261799939", "4809518969179574079570646885576725425", "333588129939834129547228009805449485651", "89461929905315717600318464892514591379", "96304702414256831982172939128236948450", "14259321705122967670914264876926608963", "290068083240474399626417904248411674444", "50687517469675985075524225939486365202", "293226352104803013986126916223379840829", "314876128575881561429851582749947883636", "263278444589068986483566911902950158279", "227893749071139335878229590136061444376", "120682771163458684630584951079765307637", "27349274095572531493528527203201491311", "254927587982397317728648800260202345206", "215552834008965038941616564106896444876", "232570036596377062154847427965525341450", "54439290446880897365725378391718721126", "323729354168041679122551411096516969870", "47094488016033839707941322413766897112", "219528398160261326284620067475875939141", "304235980911773095801159589719506210323", "96358822526762294204870709326487160471" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "__vhost_worker_flush" }, "signature_version": "v1", "id": "CVE-2024-42135-235079bf", "digest": { "length": 312.0, "function_hash": "226617212540929751457720154742123544019" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "kernel/vhost_task.c" }, "signature_version": "v1", "id": "CVE-2024-42135-3593785f", "digest": { "threshold": 0.9, "line_hashes": [ "77456162466555876549673882489458403821", "128567530268259994137383438601933363826", "307831176857599204838172777627880738426", "60672737346936874552421571424006065886", "311343932392461238217383975097631857145", "107136636000496927696929581614819894287", "238116924567174735192010736532595784274", "46710956532579172636364349582500505544", "200896760358919745988727530021478433861", "316449173492231622611423475343164872463", "159846799942269872812962393441647810833", "35750451475345628279414609364938862042", "211739058163403237538028097816150298777", "36296101628479273044198239350152367089", "237555364621504144986454153651148427276", "78896825882044036696459651016809868559", "80591512068032041336300113600767060980", "317740923184116326329064531831021999778", "310981112959335553608472567900910908250", "2573065459959036376757082442831600148", "54218553006162542798777333541305338173", "251205702856789522645911168555699330703", "228278045235819898006773153249092316965", "223300702230267301070321731928787323705", "338414240836207529322609840042171672084", "324533422777423699259173254074988664825", "204205330142391528038104396176319090333", "330628424158635331265971709827818239120", "83868246358851506030122259390588285611", "194383634541277488440702931967426801886", "131603086406467850601918852536484423756", "113496233165476902582155268476424372127", "64295576104038262431049742654332801307", "313223519508220145827340784438100314908", "25556021143599826801343634887457153653", "239557648034516484452713234673568842454", "286357024826674044785559531233605626927", "61397643647695188705149658153977818802", "337838705112669195103018461787394206443", "157142630204038860584609142413220822133", "114729431944417142846846928356210530473", "322780950905561227890382655041386965399", "305517308457162798375672577855449674502", "282754889157506240931609082906559569885" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "drivers/vhost/vhost.c" }, "signature_version": "v1", "id": "CVE-2024-42135-37d33d82", "digest": { "threshold": 0.9, "line_hashes": [ "279706467201372599331618836525665796336", "65923632675406849116794354883560713868", "68371490207941267687005950230331851704", "321025176412846318931460595698902131113", "260737054163973344425848638839892553628", "335451761760497286418131764255261799939", "4809518969179574079570646885576725425", "333588129939834129547228009805449485651", "89461929905315717600318464892514591379", "96304702414256831982172939128236948450", "14259321705122967670914264876926608963", "290068083240474399626417904248411674444", "50687517469675985075524225939486365202", "293226352104803013986126916223379840829", "314876128575881561429851582749947883636", "263278444589068986483566911902950158279", "227893749071139335878229590136061444376", "120682771163458684630584951079765307637", "27349274095572531493528527203201491311", "254927587982397317728648800260202345206", "215552834008965038941616564106896444876", "232570036596377062154847427965525341450", "54439290446880897365725378391718721126", "323729354168041679122551411096516969870", "47094488016033839707941322413766897112", "219528398160261326284620067475875939141", "304235980911773095801159589719506210323", "96358822526762294204870709326487160471" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_create" }, "signature_version": "v1", "id": "CVE-2024-42135-39dd2ded", "digest": { "length": 641.0, "function_hash": "188053143496339044593148306562055365324" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "include/linux/sched/vhost_task.h" }, "signature_version": "v1", "id": "CVE-2024-42135-3fddf992", "digest": { "threshold": 0.9, "line_hashes": [ "33800818361044517942525969423394290164", "83212786912829074953330249835137210921", "240801125323250609334591968043279367304" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "kernel/vhost_task.c" }, "signature_version": "v1", "id": "CVE-2024-42135-4f6abad4", "digest": { "threshold": 0.9, "line_hashes": [ "77456162466555876549673882489458403821", "128567530268259994137383438601933363826", "307831176857599204838172777627880738426", "60672737346936874552421571424006065886", "311343932392461238217383975097631857145", "107136636000496927696929581614819894287", "238116924567174735192010736532595784274", "46710956532579172636364349582500505544", "200896760358919745988727530021478433861", "316449173492231622611423475343164872463", "159846799942269872812962393441647810833", "35750451475345628279414609364938862042", "211739058163403237538028097816150298777", "36296101628479273044198239350152367089", "237555364621504144986454153651148427276", "78896825882044036696459651016809868559", "80591512068032041336300113600767060980", "317740923184116326329064531831021999778", "310981112959335553608472567900910908250", "2573065459959036376757082442831600148", "54218553006162542798777333541305338173", "251205702856789522645911168555699330703", "228278045235819898006773153249092316965", "223300702230267301070321731928787323705", "338414240836207529322609840042171672084", "324533422777423699259173254074988664825", "204205330142391528038104396176319090333", "330628424158635331265971709827818239120", "83868246358851506030122259390588285611", "194383634541277488440702931967426801886", "131603086406467850601918852536484423756", "113496233165476902582155268476424372127", "64295576104038262431049742654332801307", "313223519508220145827340784438100314908", "25556021143599826801343634887457153653", "239557648034516484452713234673568842454", "286357024826674044785559531233605626927", "61397643647695188705149658153977818802", "337838705112669195103018461787394206443", "157142630204038860584609142413220822133", "114729431944417142846846928356210530473", "322780950905561227890382655041386965399", "305517308457162798375672577855449674502", "282754889157506240931609082906559569885" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.h" }, "signature_version": "v1", "id": "CVE-2024-42135-593f27c8", "digest": { "threshold": 0.9, "line_hashes": [ "93909355455592760386486105984516762443", "278393272811618742158311475457143525457", "70440901540304801984104502972852776015", "188390321156480197285765446758923867690", "159201836318390968176681132869235627364", "110902205874592715667766509916200838143", "291474694002681752215185503487086503972", "294014815893132570798137989158972258575", "173381626433962128321237670380057549877" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "__vhost_vq_attach_worker" }, "signature_version": "v1", "id": "CVE-2024-42135-5b35570e", "digest": { "length": 836.0, "function_hash": "104363760820929350626893064652461169205" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_stop" }, "signature_version": "v1", "id": "CVE-2024-42135-6b0d0c44", "digest": { "length": 167.0, "function_hash": "27631679414024588525451990091245935231" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_fn" }, "signature_version": "v1", "id": "CVE-2024-42135-6b25ed62", "digest": { "length": 478.0, "function_hash": "27322519054616364656723647948853364036" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_fn" }, "signature_version": "v1", "id": "CVE-2024-42135-760011fb", "digest": { "length": 478.0, "function_hash": "27322519054616364656723647948853364036" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "drivers/vhost/vhost.h" }, "signature_version": "v1", "id": "CVE-2024-42135-7c5de3cc", "digest": { "threshold": 0.9, "line_hashes": [ "93909355455592760386486105984516762443", "278393272811618742158311475457143525457", "70440901540304801984104502972852776015", "188390321156480197285765446758923867690", "159201836318390968176681132869235627364", "110902205874592715667766509916200838143", "291474694002681752215185503487086503972", "294014815893132570798137989158972258575", "173381626433962128321237670380057549877" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_fn" }, "signature_version": "v1", "id": "CVE-2024-42135-8f7632d3", "digest": { "length": 478.0, "function_hash": "27322519054616364656723647948853364036" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_stop" }, "signature_version": "v1", "id": "CVE-2024-42135-9156cc42", "digest": { "length": 167.0, "function_hash": "27631679414024588525451990091245935231" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "kernel/vhost_task.c" }, "signature_version": "v1", "id": "CVE-2024-42135-97befe8e", "digest": { "threshold": 0.9, "line_hashes": [ "77456162466555876549673882489458403821", "128567530268259994137383438601933363826", "307831176857599204838172777627880738426", "60672737346936874552421571424006065886", "311343932392461238217383975097631857145", "107136636000496927696929581614819894287", "238116924567174735192010736532595784274", "46710956532579172636364349582500505544", "200896760358919745988727530021478433861", "316449173492231622611423475343164872463", "159846799942269872812962393441647810833", "35750451475345628279414609364938862042", "211739058163403237538028097816150298777", "36296101628479273044198239350152367089", "237555364621504144986454153651148427276", "78896825882044036696459651016809868559", "80591512068032041336300113600767060980", "317740923184116326329064531831021999778", "310981112959335553608472567900910908250", "2573065459959036376757082442831600148", "54218553006162542798777333541305338173", "251205702856789522645911168555699330703", "228278045235819898006773153249092316965", "223300702230267301070321731928787323705", "338414240836207529322609840042171672084", "324533422777423699259173254074988664825", "204205330142391528038104396176319090333", "330628424158635331265971709827818239120", "83868246358851506030122259390588285611", "194383634541277488440702931967426801886", "131603086406467850601918852536484423756", "113496233165476902582155268476424372127", "64295576104038262431049742654332801307", "313223519508220145827340784438100314908", "25556021143599826801343634887457153653", "239557648034516484452713234673568842454", "286357024826674044785559531233605626927", "61397643647695188705149658153977818802", "337838705112669195103018461787394206443", "157142630204038860584609142413220822133", "114729431944417142846846928356210530473", "322780950905561227890382655041386965399", "305517308457162798375672577855449674502", "282754889157506240931609082906559569885" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "include/linux/sched/vhost_task.h" }, "signature_version": "v1", "id": "CVE-2024-42135-9ac0fdc3", "digest": { "threshold": 0.9, "line_hashes": [ "306360936371567204311984984530355282616", "83212786912829074953330249835137210921", "240801125323250609334591968043279367304" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "vhost_worker_create" }, "signature_version": "v1", "id": "CVE-2024-42135-9beacf8c", "digest": { "length": 725.0, "function_hash": "184621312814028704001498237399529667514" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "vhost_free_worker" }, "signature_version": "v1", "id": "CVE-2024-42135-9fea29df", "digest": { "length": 452.0, "function_hash": "8153836387791135640212012415874238327" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "vhost_worker_create" }, "signature_version": "v1", "id": "CVE-2024-42135-a71cebda", "digest": { "length": 725.0, "function_hash": "184621312814028704001498237399529667514" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_create" }, "signature_version": "v1", "id": "CVE-2024-42135-b2ed5208", "digest": { "length": 641.0, "function_hash": "188053143496339044593148306562055365324" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "vhost_worker_create" }, "signature_version": "v1", "id": "CVE-2024-42135-b301d000", "digest": { "length": 725.0, "function_hash": "184621312814028704001498237399529667514" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "include/linux/sched/vhost_task.h" }, "signature_version": "v1", "id": "CVE-2024-42135-bc7220f7", "digest": { "threshold": 0.9, "line_hashes": [ "33800818361044517942525969423394290164", "83212786912829074953330249835137210921", "240801125323250609334591968043279367304" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_create" }, "signature_version": "v1", "id": "CVE-2024-42135-c96b35dc", "digest": { "length": 641.0, "function_hash": "188053143496339044593148306562055365324" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "kernel/vhost_task.c", "function": "vhost_task_stop" }, "signature_version": "v1", "id": "CVE-2024-42135-caae64af", "digest": { "length": 167.0, "function_hash": "27631679414024588525451990091245935231" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dec987fe2df670827eb53b97c9552ed8dfc63ad4" }, { "target": { "file": "drivers/vhost/vhost.c" }, "signature_version": "v1", "id": "CVE-2024-42135-d85cf2b6", "digest": { "threshold": 0.9, "line_hashes": [ "279706467201372599331618836525665796336", "65923632675406849116794354883560713868", "68371490207941267687005950230331851704", "321025176412846318931460595698902131113", "260737054163973344425848638839892553628", "335451761760497286418131764255261799939", "4809518969179574079570646885576725425", "333588129939834129547228009805449485651", "89461929905315717600318464892514591379", "96304702414256831982172939128236948450", "14259321705122967670914264876926608963", "290068083240474399626417904248411674444", "50687517469675985075524225939486365202", "293226352104803013986126916223379840829", "314876128575881561429851582749947883636", "263278444589068986483566911902950158279", "227893749071139335878229590136061444376", "120682771163458684630584951079765307637", "27349274095572531493528527203201491311", "254927587982397317728648800260202345206", "215552834008965038941616564106896444876", "232570036596377062154847427965525341450", "54439290446880897365725378391718721126", "323729354168041679122551411096516969870", "47094488016033839707941322413766897112", "219528398160261326284620067475875939141", "304235980911773095801159589719506210323", "96358822526762294204870709326487160471" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.h" }, "signature_version": "v1", "id": "CVE-2024-42135-dfae3d11", "digest": { "threshold": 0.9, "line_hashes": [ "93909355455592760386486105984516762443", "278393272811618742158311475457143525457", "70440901540304801984104502972852776015", "188390321156480197285765446758923867690", "159201836318390968176681132869235627364", "110902205874592715667766509916200838143", "291474694002681752215185503487086503972", "294014815893132570798137989158972258575", "173381626433962128321237670380057549877" ] }, "deprecated": false, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "vhost_free_worker" }, "signature_version": "v1", "id": "CVE-2024-42135-e074f735", "digest": { "length": 452.0, "function_hash": "8153836387791135640212012415874238327" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db5247d9bf5c6ade9fd70b4e4897441e0269b233" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "__vhost_vq_attach_worker" }, "signature_version": "v1", "id": "CVE-2024-42135-ebe8546e", "digest": { "length": 836.0, "function_hash": "104363760820929350626893064652461169205" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "__vhost_worker_flush" }, "signature_version": "v1", "id": "CVE-2024-42135-f1da166d", "digest": { "length": 312.0, "function_hash": "226617212540929751457720154742123544019" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" }, { "target": { "file": "drivers/vhost/vhost.c", "function": "vhost_free_worker" }, "signature_version": "v1", "id": "CVE-2024-42135-ffce2a04", "digest": { "length": 452.0, "function_hash": "8153836387791135640212012415874238327" }, "deprecated": false, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abe067dc3a662eef7d5cddbbc41ed50a0b68b0af" } ] }