In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix anondev leak in createsubvol()
When btrfsqgroupinherit(), btrfsalloctreeblock, or btrfsinsertroot() fail in createsubvol(), we return without freeing anondev. Reorganize the error handling in createsubvol() to fix this.
{ "vanir_signatures": [ { "id": "CVE-2022-49469-4872549d", "signature_type": "Function", "target": { "file": "fs/btrfs/ioctl.c", "function": "create_subvol" }, "signature_version": "v1", "digest": { "length": 3737.0, "function_hash": "64922781561820694499977303163135387198" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d887b3de318834f9aa637ecf79c6bc66cba7c69a" }, { "id": "CVE-2022-49469-5b420653", "signature_type": "Function", "target": { "file": "fs/btrfs/ioctl.c", "function": "create_subvol" }, "signature_version": "v1", "digest": { "length": 3737.0, "function_hash": "64922781561820694499977303163135387198" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a875ad8706f0903a0e812e0dd701956ee9826ff" }, { "id": "CVE-2022-49469-633ba722", "signature_type": "Line", "target": { "file": "fs/btrfs/ioctl.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "76745062158862615763014327652266744274", "133925710813119073840616084590812067128", "279587882201382268644818186416112184840", "312289389369290864995247625772961080017", "98703625283794695221136047374949541179", "29149749904023573524123610908997640848", "334065986793313196556155564981324765675", "323302878818218164004680692272260242117", "327694369830801948826717206345325351609", "113540199398543106932209417048105609324", "131754178868534136810911216728153883182", "318360534107749364466843842564671032587", "19488697414428946954074261812645335513", "272654415021653712133931649512937587226", "181164534472373294996442052144190275972", "318126707740217293598339146533079355128", "104770373220524818566809756842343668712", "16782433017396607177754968455589089504", "242235210317975004927957051941903189840", "245261553309248014695678532958988145228", "261413860607217050540544535336688261617", "237831089022167837739767430633419091131", "334486323048232160982600985923702359427", "311095436598829296128361368074296144076", "167594374128033285272495693046947685234", "180156452261952036996274601519525685240", "313586773494398663708883493274403890423", "338452641839730570356959651918627830358", "136501511691440748570516808900142041688", "107316158294031133811046617259770362668", "114811644734106029122634611282504583058", "83155477622381722389112060328419267511", "58981022675589517573985726321638593467", "32367577483064145195176801420260031129", "138451559553626124194854426003699299255", "179675618456484881339402899280343358344", "333438243818158854652961026619756374319", "179827140769593314710555746846645311475", "64691627647970079487197115966866420361", "317301081290948787335634757735883595629", "211506875193927543017765992645483645663", "174858713219948114213530451257122576088", "210189445427211820920495376117555506467", "36296126518802870965741788294607168816", "104507099084830542399698238819371736480", "102166587647906042977484317348650958777", "96094389721997166465740004032960020870", "79912882657321234392870546075569995159", "290067295740946946471860897710801349805", "333404643872063956867959753526142108993", "70817229195354521607142765350963794206", "338009803038091625491241616204907610144", "189332201150004357165019855306937796610", "110688586094750744467033719827679102356", "140390296149405023657734752131570725157", "197005659814316857077733663517176448161", "262737280014153495671444764917208810717", "271348892435856061655214358696167442958", "140390296149405023657734752131570725157", "249550804600380546478628392480044916294", "295826548905550176501061195952396232113", "156341043041676657685227501432888138412", "313172137630157676709535764791507296143", "244351058165535972033796692922640812711", "140390296149405023657734752131570725157", "284503968159680060705208895047252647257", "45255415035711817446088960756676832663", "318110618169280763872386731661445933695", "267470743762743411857058132328572878673", "198464236938493585545626971529290146924", "140390296149405023657734752131570725157", "210304451433061900616484173113739877679", "283983121321615208398299969648827097934", "133324248046579309147849242033490496236", "183291701113762724607142596337483605650", "10215457430391532844408075619226267016", "140390296149405023657734752131570725157", "210970317208815427141878397282904131901", "44269456913022650327512868519115926182", "31703897178805082881526292221934300163", "331556903830680608024368050505380024703", "219867506250989520880486112578303644595", "280166420161842944901789992568764775723", "76022839607355296175866406787665793366", "42549325301246499292656167001994116000", "206951378958453552447767019261888607101", "297440914744276609808974623976900418228", "143884150558646522328711890582014551580", "159156154893019397710752722155802807147", "333294255553601195056186888241064433239", "268678757311741480891902685525068842771" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d887b3de318834f9aa637ecf79c6bc66cba7c69a" }, { "id": "CVE-2022-49469-7af8d93d", "signature_type": "Function", "target": { "file": "fs/btrfs/ioctl.c", "function": "create_subvol" }, "signature_version": "v1", "digest": { "length": 3737.0, "function_hash": "64922781561820694499977303163135387198" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2256e901f5bddc56e24089c96f27b77da932dfcc" }, { "id": "CVE-2022-49469-af90bd77", "signature_type": "Line", "target": { "file": "fs/btrfs/ioctl.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "76745062158862615763014327652266744274", "133925710813119073840616084590812067128", "279587882201382268644818186416112184840", "312289389369290864995247625772961080017", "98703625283794695221136047374949541179", "29149749904023573524123610908997640848", "334065986793313196556155564981324765675", "323302878818218164004680692272260242117", "327694369830801948826717206345325351609", "113540199398543106932209417048105609324", "131754178868534136810911216728153883182", "318360534107749364466843842564671032587", "19488697414428946954074261812645335513", "272654415021653712133931649512937587226", "181164534472373294996442052144190275972", "318126707740217293598339146533079355128", "104770373220524818566809756842343668712", "16782433017396607177754968455589089504", "242235210317975004927957051941903189840", "245261553309248014695678532958988145228", "261413860607217050540544535336688261617", "237831089022167837739767430633419091131", "334486323048232160982600985923702359427", "311095436598829296128361368074296144076", "167594374128033285272495693046947685234", "180156452261952036996274601519525685240", "313586773494398663708883493274403890423", "338452641839730570356959651918627830358", "136501511691440748570516808900142041688", "107316158294031133811046617259770362668", "114811644734106029122634611282504583058", "83155477622381722389112060328419267511", "58981022675589517573985726321638593467", "32367577483064145195176801420260031129", "138451559553626124194854426003699299255", "179675618456484881339402899280343358344", "333438243818158854652961026619756374319", "179827140769593314710555746846645311475", "64691627647970079487197115966866420361", "317301081290948787335634757735883595629", "211506875193927543017765992645483645663", "174858713219948114213530451257122576088", "210189445427211820920495376117555506467", "36296126518802870965741788294607168816", "104507099084830542399698238819371736480", "102166587647906042977484317348650958777", "96094389721997166465740004032960020870", "79912882657321234392870546075569995159", "290067295740946946471860897710801349805", "333404643872063956867959753526142108993", "70817229195354521607142765350963794206", "338009803038091625491241616204907610144", "189332201150004357165019855306937796610", "110688586094750744467033719827679102356", "140390296149405023657734752131570725157", "197005659814316857077733663517176448161", "262737280014153495671444764917208810717", "271348892435856061655214358696167442958", "140390296149405023657734752131570725157", "249550804600380546478628392480044916294", "295826548905550176501061195952396232113", "156341043041676657685227501432888138412", "313172137630157676709535764791507296143", "244351058165535972033796692922640812711", "140390296149405023657734752131570725157", "284503968159680060705208895047252647257", "45255415035711817446088960756676832663", "318110618169280763872386731661445933695", "267470743762743411857058132328572878673", "198464236938493585545626971529290146924", "140390296149405023657734752131570725157", "210304451433061900616484173113739877679", "283983121321615208398299969648827097934", "133324248046579309147849242033490496236", "183291701113762724607142596337483605650", "10215457430391532844408075619226267016", "140390296149405023657734752131570725157", "210970317208815427141878397282904131901", "44269456913022650327512868519115926182", "31703897178805082881526292221934300163", "331556903830680608024368050505380024703", "219867506250989520880486112578303644595", "280166420161842944901789992568764775723", "76022839607355296175866406787665793366", "42549325301246499292656167001994116000", "206951378958453552447767019261888607101", "297440914744276609808974623976900418228", "143884150558646522328711890582014551580", "159156154893019397710752722155802807147", "333294255553601195056186888241064433239", "268678757311741480891902685525068842771" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2256e901f5bddc56e24089c96f27b77da932dfcc" }, { "id": "CVE-2022-49469-b5dd60dd", "signature_type": "Line", "target": { "file": "fs/btrfs/ioctl.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "76745062158862615763014327652266744274", "133925710813119073840616084590812067128", "279587882201382268644818186416112184840", "312289389369290864995247625772961080017", "98703625283794695221136047374949541179", "29149749904023573524123610908997640848", "334065986793313196556155564981324765675", "323302878818218164004680692272260242117", "327694369830801948826717206345325351609", "113540199398543106932209417048105609324", "131754178868534136810911216728153883182", "318360534107749364466843842564671032587", "19488697414428946954074261812645335513", "272654415021653712133931649512937587226", "181164534472373294996442052144190275972", "318126707740217293598339146533079355128", "104770373220524818566809756842343668712", "16782433017396607177754968455589089504", "242235210317975004927957051941903189840", "245261553309248014695678532958988145228", "261413860607217050540544535336688261617", "237831089022167837739767430633419091131", "334486323048232160982600985923702359427", "311095436598829296128361368074296144076", "167594374128033285272495693046947685234", "180156452261952036996274601519525685240", "313586773494398663708883493274403890423", "338452641839730570356959651918627830358", "136501511691440748570516808900142041688", "107316158294031133811046617259770362668", "114811644734106029122634611282504583058", "83155477622381722389112060328419267511", "58981022675589517573985726321638593467", "32367577483064145195176801420260031129", "138451559553626124194854426003699299255", "179675618456484881339402899280343358344", "333438243818158854652961026619756374319", "179827140769593314710555746846645311475", "64691627647970079487197115966866420361", "317301081290948787335634757735883595629", "211506875193927543017765992645483645663", "174858713219948114213530451257122576088", "210189445427211820920495376117555506467", "36296126518802870965741788294607168816", "104507099084830542399698238819371736480", "102166587647906042977484317348650958777", "96094389721997166465740004032960020870", "79912882657321234392870546075569995159", "290067295740946946471860897710801349805", "333404643872063956867959753526142108993", "70817229195354521607142765350963794206", "338009803038091625491241616204907610144", "189332201150004357165019855306937796610", "110688586094750744467033719827679102356", "140390296149405023657734752131570725157", "197005659814316857077733663517176448161", "262737280014153495671444764917208810717", "271348892435856061655214358696167442958", "140390296149405023657734752131570725157", "249550804600380546478628392480044916294", "295826548905550176501061195952396232113", "156341043041676657685227501432888138412", "313172137630157676709535764791507296143", "244351058165535972033796692922640812711", "140390296149405023657734752131570725157", "284503968159680060705208895047252647257", "45255415035711817446088960756676832663", "318110618169280763872386731661445933695", "267470743762743411857058132328572878673", "198464236938493585545626971529290146924", "140390296149405023657734752131570725157", "210304451433061900616484173113739877679", "283983121321615208398299969648827097934", "133324248046579309147849242033490496236", "183291701113762724607142596337483605650", "10215457430391532844408075619226267016", "140390296149405023657734752131570725157", "210970317208815427141878397282904131901", "44269456913022650327512868519115926182", "31703897178805082881526292221934300163", "331556903830680608024368050505380024703", "219867506250989520880486112578303644595", "280166420161842944901789992568764775723", "76022839607355296175866406787665793366", "42549325301246499292656167001994116000", "206951378958453552447767019261888607101", "297440914744276609808974623976900418228", "143884150558646522328711890582014551580", "159156154893019397710752722155802807147", "333294255553601195056186888241064433239", "268678757311741480891902685525068842771" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a875ad8706f0903a0e812e0dd701956ee9826ff" } ] }