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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53681.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53681.json"
[
{
"id": "CVE-2023-53681-14186a26",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4405f6ee03323410d7b10966fd67b35f71b1944",
"deprecated": false
},
{
"id": "CVE-2023-53681-14a74ff6",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80fca8a10b604afad6c14213fdfd816c4eda3ee4",
"deprecated": false
},
{
"id": "CVE-2023-53681-2d21c162",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@587b4e8bb5dac682f09280ab35db4632b29d5ac4",
"deprecated": false
},
{
"id": "CVE-2023-53681-352073a3",
"digest": {
"length": 903.0,
"function_hash": "294020095704309126974491216932879870149"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4514847aee18d9391a0cf3aad75d3567c72795a4",
"deprecated": false
},
{
"id": "CVE-2023-53681-39837fdf",
"digest": {
"length": 903.0,
"function_hash": "294020095704309126974491216932879870149"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4405f6ee03323410d7b10966fd67b35f71b1944",
"deprecated": false
},
{
"id": "CVE-2023-53681-52263f19",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ecea5ce3dc17339c280c75b58ac93d8c8620d9f",
"deprecated": false
},
{
"id": "CVE-2023-53681-55478e18",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4514847aee18d9391a0cf3aad75d3567c72795a4",
"deprecated": false
},
{
"id": "CVE-2023-53681-6af818f3",
"digest": {
"length": 916.0,
"function_hash": "232646933949465211694487217495217696532"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b070f29a61436f6f8a2e3abc7ea4f4be81695198",
"deprecated": false
},
{
"id": "CVE-2023-53681-718ef68b",
"digest": {
"length": 903.0,
"function_hash": "294020095704309126974491216932879870149"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80fca8a10b604afad6c14213fdfd816c4eda3ee4",
"deprecated": false
},
{
"id": "CVE-2023-53681-85851637",
"digest": {
"length": 903.0,
"function_hash": "294020095704309126974491216932879870149"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f67b0e3081f2a24170280a33ac66f6b112083c03",
"deprecated": false
},
{
"id": "CVE-2023-53681-8c465e4f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f67b0e3081f2a24170280a33ac66f6b112083c03",
"deprecated": false
},
{
"id": "CVE-2023-53681-99ba3861",
"digest": {
"length": 903.0,
"function_hash": "294020095704309126974491216932879870149"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ecea5ce3dc17339c280c75b58ac93d8c8620d9f",
"deprecated": false
},
{
"id": "CVE-2023-53681-cdd910a7",
"digest": {
"length": 916.0,
"function_hash": "232646933949465211694487217495217696532"
},
"signature_type": "Function",
"target": {
"file": "drivers/md/bcache/btree.c",
"function": "__bch_btree_node_alloc"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@587b4e8bb5dac682f09280ab35db4632b29d5ac4",
"deprecated": false
},
{
"id": "CVE-2023-53681-f0d3816b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"321942108833738874683002716437962033195",
"130399132870590994875068448447064875240",
"334853776257227718999911431711320880976",
"171758462151047210161080177117795022183",
"47277860688332461020359629894976129",
"261383722400313172635034719734633655599"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/md/bcache/btree.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b070f29a61436f6f8a2e3abc7ea4f4be81695198",
"deprecated": false
}
]