In the Linux kernel, the following vulnerability has been resolved:
btrfs: don't clobber ret in btrfsvalidatesuper()
Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at btrfsvalidatesuper()") introduces a call to validatesyschunkarray() in btrfsvalidate_super(), which clobbers the value of ret set earlier. This has the effect of negating the validity checks done earlier, making it so btrfs could potentially try to mount invalid filesystems.
[
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"211167569158235553477685402750129977989",
"121461378356350174706867229735336341928",
"88101860367477979438908275197481446899"
]
},
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef6800a2015e706e9852a5ec15263fec9990d012",
"id": "CVE-2025-22114-2b07a851",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "29971973001006044897812248880184261528",
"length": 4864.0
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "btrfs_validate_super"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef6800a2015e706e9852a5ec15263fec9990d012",
"id": "CVE-2025-22114-61576f84",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "180123090502950778374263065468623276184",
"length": 4909.0
},
"target": {
"file": "fs/btrfs/disk-io.c",
"function": "btrfs_validate_super"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9db9c7dd5b4e1d3205137a094805980082c37716",
"id": "CVE-2025-22114-851b4c85",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"211167569158235553477685402750129977989",
"121461378356350174706867229735336341928",
"88101860367477979438908275197481446899"
]
},
"target": {
"file": "fs/btrfs/disk-io.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9db9c7dd5b4e1d3205137a094805980082c37716",
"id": "CVE-2025-22114-907878dc",
"deprecated": false,
"signature_version": "v1"
}
]