A race condition was discovered in getoldroot in fs/btrfs/ctree.c in the Linux kernel through 5.11.8. It allows attackers to cause a denial of service (BUG) because of a lack of locking on an extent buffer before a cloning operation, aka CID-dbcc7d57bffc.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28964.json"
[
{
"id": "CVE-2021-28964-1acdc9a5",
"target": {
"file": "fs/btrfs/ctree.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@dbcc7d57bffc0c8cac9dac11bec548597d59a6a5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240789195344033725894804869114063530592",
"180520856889324843311693212243729996496",
"225291967452131656023953122152278519934",
"208081885147864104590766375057923473278",
"249537265374883771345610820367435735048"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2021-28964-877ac1ec",
"target": {
"function": "get_old_root",
"file": "fs/btrfs/ctree.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@dbcc7d57bffc0c8cac9dac11bec548597d59a6a5",
"digest": {
"function_hash": "155306042061275471544409522039819297983",
"length": 1593.0
},
"signature_type": "Function"
}
]