In the Linux kernel, the following vulnerability has been resolved:
bcache: Fix _bchbtreenodealloc to make the failure behavior consistent
In some specific situations, the return value of bchbtreenodealloc may be NULL. This may lead to a potential NULL pointer dereference in caller function like a calling chain : btreesplit->bchbtreenodealloc->bchbtreenodealloc.
Fix it by initializing the return value in _bchbtreenodealloc.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4405f6ee03323410d7b10966fd67b35f71b1944",
"id": "CVE-2023-53681-14186a26",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80fca8a10b604afad6c14213fdfd816c4eda3ee4",
"id": "CVE-2023-53681-14a74ff6",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@587b4e8bb5dac682f09280ab35db4632b29d5ac4",
"id": "CVE-2023-53681-2d21c162",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4514847aee18d9391a0cf3aad75d3567c72795a4",
"id": "CVE-2023-53681-352073a3",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "294020095704309126974491216932879870149",
"length": 903.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4405f6ee03323410d7b10966fd67b35f71b1944",
"id": "CVE-2023-53681-39837fdf",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "294020095704309126974491216932879870149",
"length": 903.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ecea5ce3dc17339c280c75b58ac93d8c8620d9f",
"id": "CVE-2023-53681-52263f19",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4514847aee18d9391a0cf3aad75d3567c72795a4",
"id": "CVE-2023-53681-55478e18",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b070f29a61436f6f8a2e3abc7ea4f4be81695198",
"id": "CVE-2023-53681-6af818f3",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "232646933949465211694487217495217696532",
"length": 916.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80fca8a10b604afad6c14213fdfd816c4eda3ee4",
"id": "CVE-2023-53681-718ef68b",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "294020095704309126974491216932879870149",
"length": 903.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f67b0e3081f2a24170280a33ac66f6b112083c03",
"id": "CVE-2023-53681-85851637",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "294020095704309126974491216932879870149",
"length": 903.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f67b0e3081f2a24170280a33ac66f6b112083c03",
"id": "CVE-2023-53681-8c465e4f",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ecea5ce3dc17339c280c75b58ac93d8c8620d9f",
"id": "CVE-2023-53681-99ba3861",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "294020095704309126974491216932879870149",
"length": 903.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@587b4e8bb5dac682f09280ab35db4632b29d5ac4",
"id": "CVE-2023-53681-cdd910a7",
"signature_version": "v1",
"target": {
"function": "__bch_btree_node_alloc",
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "232646933949465211694487217495217696532",
"length": 916.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b070f29a61436f6f8a2e3abc7ea4f4be81695198",
"id": "CVE-2023-53681-f0d3816b",
"signature_version": "v1",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
}
}
]