In the Linux kernel 5.0.21 and 5.3.11, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in trymergefree_space in fs/btrfs/free-space-cache.c because the pointer to a left data structure can be the same as the pointer to a right data structure.
[
{
"events": [
{
"introduced": "2.6.31"
},
{
"fixed": "4.4.233"
}
]
},
{
"events": [
{
"introduced": "4.5.0"
},
{
"fixed": "4.9.233"
}
]
},
{
"events": [
{
"introduced": "4.10"
},
{
"fixed": "4.14.194"
}
]
},
{
"events": [
{
"introduced": "4.15"
},
{
"fixed": "4.19.141"
}
]
},
{
"events": [
{
"introduced": "4.20"
},
{
"fixed": "5.4.60"
}
]
},
{
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.7.17"
}
]
},
{
"events": [
{
"introduced": "5.8"
},
{
"fixed": "5.8.3"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "9.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "14.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "16.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "18.04"
}
]
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-19448.json"