In the Linux kernel, the following vulnerability has been resolved:
btrfs: zoned: initialize device's zone info for seeding
When performing seeding on a zoned filesystem it is necessary to initialize each zoned device's btrfszoneddevice_info structure, otherwise mounting the filesystem will cause a NULL pointer dereference.
This was uncovered by fstests' testcase btrfs/163.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49831.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49831.json"
[
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b1647bf8244a5f270538e9e636e2657fffa3",
"deprecated": false,
"digest": {
"line_hashes": [
"272338653973653548006298532489393570150",
"236762403999657056557007919749511390601",
"104772271963453629791680637039421190426",
"150349796717107838422321815321874070021"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-0955a052",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "btrfs_read_roots"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c38504e589dadbcde47b1cacdfc5b684154d44",
"deprecated": false,
"digest": {
"function_hash": "156880672906847243691684303751631229790",
"length": 2405.0
},
"id": "CVE-2022-49831-13e1589c",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "btrfs_read_roots"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@544f38a738343d7e75f104e5e9d1ade58d8b71bd",
"deprecated": false,
"digest": {
"function_hash": "337031464229988643317779431692866032866",
"length": 1497.0
},
"id": "CVE-2022-49831-195d7488",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.c",
"function": "btrfs_init_devices_late"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@544f38a738343d7e75f104e5e9d1ade58d8b71bd",
"deprecated": false,
"digest": {
"function_hash": "15927039613551933912263169298294287644",
"length": 444.0
},
"id": "CVE-2022-49831-2424528b",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c38504e589dadbcde47b1cacdfc5b684154d44",
"deprecated": false,
"digest": {
"line_hashes": [
"229039495477405415647726347882625663702",
"80793917906431943020615875242382995139",
"42536245044291969041600295254239265602",
"144435560549177614426445278068079369173",
"177193648622512861409012858646193659991",
"326849776247166386365437534192703795833",
"169374316676295291514695043823976905607",
"328369612016396365262433923109654898544",
"98848371237317866003619366112415643897",
"211450037035775563942717269657962199435",
"127070804105501742615061195307916628534",
"243000911059527764809430942994150314351",
"320040152974371007015437753245362448125",
"225779000878694532453255291865095228863",
"297819434361371107392354253073201893560"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-2cd0dc99",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c38504e589dadbcde47b1cacdfc5b684154d44",
"deprecated": false,
"digest": {
"line_hashes": [
"272338653973653548006298532489393570150",
"70332448998133976612641037681369914039",
"103926752459617487397680311322726336167",
"242190064762146214533287388240787175214"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-3c3daf12",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@544f38a738343d7e75f104e5e9d1ade58d8b71bd",
"deprecated": false,
"digest": {
"line_hashes": [
"38729621315064631911033061733558569873",
"16926282541859418793645573359489818471",
"339172160920080752392693950817811901942",
"203349336491966057102754817467398366732"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-5c63d40e",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.c",
"function": "btrfs_init_devices_late"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c38504e589dadbcde47b1cacdfc5b684154d44",
"deprecated": false,
"digest": {
"function_hash": "15927039613551933912263169298294287644",
"length": 444.0
},
"id": "CVE-2022-49831-6b448b36",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.c",
"function": "btrfs_init_devices_late"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b1647bf8244a5f270538e9e636e2657fffa3",
"deprecated": false,
"digest": {
"function_hash": "15927039613551933912263169298294287644",
"length": 444.0
},
"id": "CVE-2022-49831-74c9154f",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@544f38a738343d7e75f104e5e9d1ade58d8b71bd",
"deprecated": false,
"digest": {
"line_hashes": [
"229039495477405415647726347882625663702",
"80793917906431943020615875242382995139",
"42536245044291969041600295254239265602",
"144435560549177614426445278068079369173",
"177193648622512861409012858646193659991",
"326849776247166386365437534192703795833",
"169374316676295291514695043823976905607",
"328369612016396365262433923109654898544",
"98848371237317866003619366112415643897",
"211450037035775563942717269657962199435",
"127070804105501742615061195307916628534",
"243000911059527764809430942994150314351",
"320040152974371007015437753245362448125",
"225779000878694532453255291865095228863",
"297819434361371107392354253073201893560"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-7ee22a7a",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b1647bf8244a5f270538e9e636e2657fffa3",
"deprecated": false,
"digest": {
"line_hashes": [
"229039495477405415647726347882625663702",
"80793917906431943020615875242382995139",
"42536245044291969041600295254239265602",
"144435560549177614426445278068079369173",
"177193648622512861409012858646193659991",
"326849776247166386365437534192703795833",
"169374316676295291514695043823976905607",
"328369612016396365262433923109654898544",
"98848371237317866003619366112415643897",
"211450037035775563942717269657962199435",
"127070804105501742615061195307916628534",
"243000911059527764809430942994150314351",
"320040152974371007015437753245362448125",
"225779000878694532453255291865095228863",
"297819434361371107392354253073201893560"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-88839c87",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "btrfs_read_roots"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b1647bf8244a5f270538e9e636e2657fffa3",
"deprecated": false,
"digest": {
"function_hash": "212107223698064892625785293228099744244",
"length": 1841.0
},
"id": "CVE-2022-49831-b9f39861",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b1647bf8244a5f270538e9e636e2657fffa3",
"deprecated": false,
"digest": {
"line_hashes": [
"38729621315064631911033061733558569873",
"16926282541859418793645573359489818471",
"339172160920080752392693950817811901942",
"203349336491966057102754817467398366732"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-c480e01c",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/volumes.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c38504e589dadbcde47b1cacdfc5b684154d44",
"deprecated": false,
"digest": {
"line_hashes": [
"38729621315064631911033061733558569873",
"16926282541859418793645573359489818471",
"339172160920080752392693950817811901942",
"203349336491966057102754817467398366732"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-e3277fc4",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@544f38a738343d7e75f104e5e9d1ade58d8b71bd",
"deprecated": false,
"digest": {
"line_hashes": [
"272338653973653548006298532489393570150",
"236762403999657056557007919749511390601",
"104772271963453629791680637039421190426",
"150349796717107838422321815321874070021"
],
"threshold": 0.9
},
"id": "CVE-2022-49831-e5dbb080",
"signature_type": "Line"
}
]