In the Linux kernel, the following vulnerability has been resolved:
netfs, fscache: Prevent Oops in fscacheputcache()
This function dereferences "cache" and then checks if it's ISERROR_NULL(). Check first, then dereference.
[
{
"signature_type": "Function",
"digest": {
"function_hash": "282650830024827071426941151631750592432",
"length": 406.0
},
"target": {
"file": "fs/fscache/cache.c",
"function": "fscache_put_cache"
},
"signature_version": "v1",
"id": "CVE-2024-26612-04b72655",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4200ad3e46ce50f410fdda302745489441bc70f0"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "282650830024827071426941151631750592432",
"length": 406.0
},
"target": {
"file": "fs/fscache/cache.c",
"function": "fscache_put_cache"
},
"signature_version": "v1",
"id": "CVE-2024-26612-262e0947",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c45256e599061021e2c848952e50f406457e448"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"217426702211059296210763085832927109448",
"133943428538051498648911110843037606621",
"293991078268316023747060816352872836599",
"289111157776629167457167405811787219450",
"18554679569441444336011774658048420224",
"68340866242830248680004667030837226863",
"214024080804376611251824078223737827249",
"225845984506529409421621072094547704292"
]
},
"target": {
"file": "fs/fscache/cache.c"
},
"signature_version": "v1",
"id": "CVE-2024-26612-8ed6dfc1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4200ad3e46ce50f410fdda302745489441bc70f0"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "282650830024827071426941151631750592432",
"length": 406.0
},
"target": {
"file": "fs/netfs/fscache_cache.c",
"function": "fscache_put_cache"
},
"signature_version": "v1",
"id": "CVE-2024-26612-9d82237c",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3be0b3ed1d76c6703b9ee482b55f7e01c369cc68"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"217426702211059296210763085832927109448",
"133943428538051498648911110843037606621",
"293991078268316023747060816352872836599",
"289111157776629167457167405811787219450",
"18554679569441444336011774658048420224",
"68340866242830248680004667030837226863",
"214024080804376611251824078223737827249",
"225845984506529409421621072094547704292"
]
},
"target": {
"file": "fs/fscache/cache.c"
},
"signature_version": "v1",
"id": "CVE-2024-26612-c1274fe1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82a9bc343ba019665d3ddc1d9a180bf0e0390cf3"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"217426702211059296210763085832927109448",
"133943428538051498648911110843037606621",
"293991078268316023747060816352872836599",
"289111157776629167457167405811787219450",
"18554679569441444336011774658048420224",
"68340866242830248680004667030837226863",
"214024080804376611251824078223737827249",
"225845984506529409421621072094547704292"
]
},
"target": {
"file": "fs/netfs/fscache_cache.c"
},
"signature_version": "v1",
"id": "CVE-2024-26612-de5ee1b6",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3be0b3ed1d76c6703b9ee482b55f7e01c369cc68"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "282650830024827071426941151631750592432",
"length": 406.0
},
"target": {
"file": "fs/fscache/cache.c",
"function": "fscache_put_cache"
},
"signature_version": "v1",
"id": "CVE-2024-26612-e0732955",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82a9bc343ba019665d3ddc1d9a180bf0e0390cf3"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"217426702211059296210763085832927109448",
"133943428538051498648911110843037606621",
"293991078268316023747060816352872836599",
"289111157776629167457167405811787219450",
"18554679569441444336011774658048420224",
"68340866242830248680004667030837226863",
"214024080804376611251824078223737827249",
"225845984506529409421621072094547704292"
]
},
"target": {
"file": "fs/fscache/cache.c"
},
"signature_version": "v1",
"id": "CVE-2024-26612-e641a817",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c45256e599061021e2c848952e50f406457e448"
}
]