Memory leak in the sassmpgetphyevents function in drivers/scsi/libsas/sasexpander.c in the Linux kernel through 4.15.7 allows local users to cause a denial of service (memory consumption) via many read accesses to files in the /sys/class/sasphy directory, as demonstrated by the /sys/class/sasphy/phy-1:0:12/invaliddword_count file.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7757.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@4a491b1ab11ca0556d2fda1ff1301e862a2d44c4",
"digest": {
"line_hashes": [
"279214054068640965318480610870930983746",
"325987032170425040265912513872998450344",
"213056581982986122287487493207582204531",
"23155955339050124153380968042484501690"
],
"threshold": 0.9
},
"id": "CVE-2018-7757-35025af6",
"deprecated": false,
"target": {
"file": "drivers/scsi/libsas/sas_expander.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@4a491b1ab11ca0556d2fda1ff1301e862a2d44c4",
"digest": {
"function_hash": "15307093000736538114071727630712532472",
"length": 770.0
},
"id": "CVE-2018-7757-81f7c66c",
"deprecated": false,
"target": {
"file": "drivers/scsi/libsas/sas_expander.c",
"function": "sas_smp_get_phy_events"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7757.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4a491b1ab11ca0556d2fda1ff1301e862a2d44c4",
"digest": {
"function_hash": "15307093000736538114071727630712532472",
"length": 770.0
},
"id": "CVE-2018-7757-36194770",
"deprecated": false,
"target": {
"file": "drivers/scsi/libsas/sas_expander.c",
"function": "sas_smp_get_phy_events"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4a491b1ab11ca0556d2fda1ff1301e862a2d44c4",
"digest": {
"line_hashes": [
"279214054068640965318480610870930983746",
"325987032170425040265912513872998450344",
"213056581982986122287487493207582204531",
"23155955339050124153380968042484501690"
],
"threshold": 0.9
},
"id": "CVE-2018-7757-64282849",
"deprecated": false,
"target": {
"file": "drivers/scsi/libsas/sas_expander.c"
}
}
]