In the Linux kernel, the following vulnerability has been resolved:
btrfs: do not start relocation until in progress drops are done
We hit a bug with a recovering relocation on mount for one of our file systems in production. I reproduced this locally by injecting errors into snapshot delete with balance running at the same time. This presented as an error while looking up an extent item
WARNING: CPU: 5 PID: 1501 at fs/btrfs/extent-tree.c:866 lookupinlineextentbackref+0x647/0x680 CPU: 5 PID: 1501 Comm: btrfs-balance Not tainted 5.16.0-rc8+ #8 RIP: 0010:lookupinlineextentbackref+0x647/0x680 RSP: 0018:ffffae0a023ab960 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000000c RDI: 0000000000000000 RBP: ffff943fd2a39b60 R08: 0000000000000000 R09: 0000000000000001 R10: 0001434088152de0 R11: 0000000000000000 R12: 0000000001d05000 R13: ffff943fd2a39b60 R14: ffff943fdb96f2a0 R15: ffff9442fc923000 FS: 0000000000000000(0000) GS:ffff944e9eb40000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1157b1fca8 CR3: 000000010f092000 CR4: 0000000000350ee0 Call Trace: <TASK> insertinlineextentbackref+0x46/0xd0 _btrfsincextentref.isra.0+0x5f/0x200 ? btrfsmergedelayedrefs+0x164/0x190 _btrfsrundelayedrefs+0x561/0xfa0 ? btrfssearchslot+0x7b4/0xb30 ? btrfsupdateroot+0x1a9/0x2c0 btrfsrundelayedrefs+0x73/0x1f0 ? btrfsupdateroot+0x1a9/0x2c0 btrfscommittransaction+0x50/0xa50 ? btrfsupdaterelocroot+0x122/0x220 preparetomerge+0x29f/0x320 relocateblockgroup+0x2b8/0x550 btrfsrelocateblockgroup+0x1a6/0x350 btrfsrelocatechunk+0x27/0xe0 btrfsbalance+0x777/0xe60 balancekthread+0x35/0x50 ? btrfsbalance+0xe60/0xe60 kthread+0x16b/0x190 ? setkthreadstruct+0x40/0x40 retfromfork+0x22/0x30 </TASK>
Normally snapshot deletion and relocation are excluded from running at the same time by the fsinfo->cleanermutex. However if we had a pending balance waiting to get the ->cleaner_mutex, and a snapshot deletion was running, and then the box crashed, we would come up in a state where we have a half deleted snapshot.
Again, in the normal case the snapshot deletion needs to complete before relocation can start, but in this case relocation could very well start before the snapshot deletion completes, as we simply add the root to the dead roots list and wait for the next time the cleaner runs to clean up the snapshot.
Fix this by setting a bit on the fsinfo if we have any DEADROOT's that had a pending dropprogress key. If they do then we know we were in the middle of the drop operation and set a flag on the fsinfo. Then balance can wait until this flag is cleared to start up again.
If there are DEADROOT's that don't have a dropprogress set then we're safe to start balance right away as we'll be properly protected by the cleaner_mutex.
[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 259.0,
"function_hash": "112460571541136578484237365412827573622"
},
"target": {
"file": "fs/btrfs/transaction.c",
"function": "btrfs_add_dead_root"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-006c96cc"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"335331603971790249168789797685665757375",
"190137577630044372240674848106930041786",
"329419756771162885507606584065331408181",
"46841212621999390275894831128424114236",
"239910831620852004460126555777464637338",
"322714568729217010726349690988929555290",
"160069495856984154340874910505869270841"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/transaction.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-043ef92e"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"307554366547435989439569102971119073187",
"163593532372209574116008718647106410868",
"57069817657813848440416755813607639190",
"23024755393752010994750272723612368392"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/transaction.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-0474a631"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"239091206441928352873654543399028581884",
"155303056574418664303427120410459022652",
"134834274930735739131562983274157295654"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/relocation.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-0d78ddf1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1542.0,
"function_hash": "28177033762735534495798668994271249740"
},
"target": {
"file": "fs/btrfs/root-tree.c",
"function": "btrfs_find_orphan_roots"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-18cdd85c"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"307554366547435989439569102971119073187",
"163593532372209574116008718647106410868",
"57069817657813848440416755813607639190",
"68549418546004724022650530806117092997"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/transaction.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-1a05fedc"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"239091206441928352873654543399028581884",
"155303056574418664303427120410459022652",
"134834274930735739131562983274157295654"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/relocation.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-256c1c33"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"247870508719905061084486761294899383930",
"275223323067036383548959703958323550082",
"62611367635789151863005420424771472006",
"160664773443536378301433501146769418816",
"222750382956214239583601727956262487527",
"202263519399328650740897446805189603918",
"187589656068796654824358603876681030229",
"308811310072905097972673707045587787581",
"13318883427496448223826217730320552577",
"196230846384119038547891631622226284344",
"187137235356868231908072530763868425347",
"297485750254823577019823329668828140731"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/extent-tree.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-2ceeef2a"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"335331603971790249168789797685665757375",
"190137577630044372240674848106930041786",
"329419756771162885507606584065331408181",
"46841212621999390275894831128424114236",
"239910831620852004460126555777464637338",
"322714568729217010726349690988929555290",
"160069495856984154340874910505869270841"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/transaction.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-2eb3f832"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"159479054230935659341339669978085453721",
"137869175552206777937594898929924943566",
"191573871884416224777161743123262274022",
"126930756744795597579058211807958723945",
"146568710783025119734142902723557200201",
"128384131674905017953426851606518555284",
"251140466106809509199880327528187923179",
"307879810216216417921322081446113567050"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/ctree.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-3709d81a"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2212.0,
"function_hash": "62166880948424591343317106580486492947"
},
"target": {
"file": "fs/btrfs/relocation.c",
"function": "btrfs_relocate_block_group"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-38b721ad"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 4039.0,
"function_hash": "124024803735158954925439315109107151450"
},
"target": {
"file": "fs/btrfs/extent-tree.c",
"function": "btrfs_drop_snapshot"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-3bcd0f62"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"239091206441928352873654543399028581884",
"155303056574418664303427120410459022652",
"134834274930735739131562983274157295654"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/relocation.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-3c95de94"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2290.0,
"function_hash": "272782228856144267992188568014484993073"
},
"target": {
"file": "fs/btrfs/relocation.c",
"function": "btrfs_relocate_block_group"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-3ded6bca"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2124.0,
"function_hash": "138949799160379897284124978604220183518"
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "close_ctree"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-41aac0b7"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"247870508719905061084486761294899383930",
"275223323067036383548959703958323550082",
"62611367635789151863005420424771472006",
"160664773443536378301433501146769418816",
"222750382956214239583601727956262487527",
"202263519399328650740897446805189603918",
"187589656068796654824358603876681030229",
"308811310072905097972673707045587787581",
"13318883427496448223826217730320552577",
"196230846384119038547891631622226284344",
"187137235356868231908072530763868425347",
"297485750254823577019823329668828140731"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/extent-tree.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-46cac511"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 4039.0,
"function_hash": "124024803735158954925439315109107151450"
},
"target": {
"file": "fs/btrfs/extent-tree.c",
"function": "btrfs_drop_snapshot"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-4840d774"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"316196661322392790457552588525452925138",
"66030187429592496440178768330526842799",
"302850098663967236166419661215926996655",
"54366058468697087305821320434002176443",
"254340971373259975244988712811226951213",
"311643499579535146178854761813826168980",
"205601568602021011907119398784729818518",
"307879810216216417921322081446113567050"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/ctree.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-4a207097"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"32784368026021886454579183600005245288",
"226437350052193332681978946388211840265",
"118648437996688453024380703513406659109",
"49948280880886419992692324489882155830",
"60579026284696233927143320329792865187",
"322119385965830774831030240370179311825"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-555b689d"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 9955.0,
"function_hash": "289163966882275193230679870176512805132"
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "open_ctree"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-574fdfc4"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1542.0,
"function_hash": "28177033762735534495798668994271249740"
},
"target": {
"file": "fs/btrfs/root-tree.c",
"function": "btrfs_find_orphan_roots"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-5abdd76f"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2304.0,
"function_hash": "194278994351608293764667301905332238725"
},
"target": {
"file": "fs/btrfs/relocation.c",
"function": "btrfs_relocate_block_group"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-5b339e60"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"189369251233414785280480269153500793018",
"235980364449329541162408854572426847486",
"28192382820473554160277503661596864085",
"129079517355886605655991406027153366907"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/root-tree.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-65d58d24"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"159479054230935659341339669978085453721",
"137869175552206777937594898929924943566",
"191573871884416224777161743123262274022",
"126930756744795597579058211807958723945",
"146568710783025119734142902723557200201",
"128384131674905017953426851606518555284",
"251140466106809509199880327528187923179",
"307879810216216417921322081446113567050"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/ctree.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-66fefa74"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"189369251233414785280480269153500793018",
"235980364449329541162408854572426847486",
"28192382820473554160277503661596864085",
"129079517355886605655991406027153366907"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/root-tree.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-679c351e"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"32784368026021886454579183600005245288",
"226437350052193332681978946388211840265",
"118648437996688453024380703513406659109",
"49948280880886419992692324489882155830",
"60579026284696233927143320329792865187",
"322119385965830774831030240370179311825"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-6ef3c160"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 259.0,
"function_hash": "112460571541136578484237365412827573622"
},
"target": {
"file": "fs/btrfs/transaction.c",
"function": "btrfs_add_dead_root"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-8de4fdbb"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2228.0,
"function_hash": "322821493727012760612729611752718872969"
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "close_ctree"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-90c0a953"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 259.0,
"function_hash": "112460571541136578484237365412827573622"
},
"target": {
"file": "fs/btrfs/transaction.c",
"function": "btrfs_add_dead_root"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-9b77f074"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"189369251233414785280480269153500793018",
"235980364449329541162408854572426847486",
"28192382820473554160277503661596864085",
"129079517355886605655991406027153366907"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/root-tree.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-9c91701c"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 9852.0,
"function_hash": "250960226366879562556943177139185062440"
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "open_ctree"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-a6300983"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2095.0,
"function_hash": "113289344133038863222363297600506399542"
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "close_ctree"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4be6aefa73c9a6899ef3ba9c5faaa8a66e333ef",
"signature_version": "v1",
"id": "CVE-2022-48901-abb5e3cc"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"32784368026021886454579183600005245288",
"226437350052193332681978946388211840265",
"118648437996688453024380703513406659109",
"49948280880886419992692324489882155830",
"60579026284696233927143320329792865187",
"322119385965830774831030240370179311825"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-afc82edd"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"247870508719905061084486761294899383930",
"275223323067036383548959703958323550082",
"62611367635789151863005420424771472006",
"160664773443536378301433501146769418816",
"222750382956214239583601727956262487527",
"202263519399328650740897446805189603918",
"187589656068796654824358603876681030229",
"308811310072905097972673707045587787581",
"13318883427496448223826217730320552577",
"196230846384119038547891631622226284344",
"187137235356868231908072530763868425347",
"297485750254823577019823329668828140731"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/extent-tree.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-cb4d9f63"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 4039.0,
"function_hash": "124024803735158954925439315109107151450"
},
"target": {
"file": "fs/btrfs/extent-tree.c",
"function": "btrfs_drop_snapshot"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-d1fae37a"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"335331603971790249168789797685665757375",
"190137577630044372240674848106930041786",
"329419756771162885507606584065331408181",
"46841212621999390275894831128424114236",
"239910831620852004460126555777464637338",
"322714568729217010726349690988929555290",
"160069495856984154340874910505869270841"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/transaction.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-d3b721b2"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 9963.0,
"function_hash": "1862262281204753973739591768653114647"
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "open_ctree"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e70bc827b563caf22e1203428cc3719643de5aa",
"signature_version": "v1",
"id": "CVE-2022-48901-e08e5a5a"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1542.0,
"function_hash": "28177033762735534495798668994271249740"
},
"target": {
"file": "fs/btrfs/root-tree.c",
"function": "btrfs_find_orphan_roots"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-f5d4050d"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"307554366547435989439569102971119073187",
"163593532372209574116008718647106410868",
"57069817657813848440416755813607639190",
"68549418546004724022650530806117092997"
],
"threshold": 0.9
},
"target": {
"file": "fs/btrfs/transaction.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6599d5e8bd758d897fd2ef4dc388ae50278b1f7e",
"signature_version": "v1",
"id": "CVE-2022-48901-fca84479"
}
]