The Serial Attached SCSI (SAS) implementation in the Linux kernel through 4.15.9 mishandles a mutex within libsas, which allows local users to cause a denial of service (deadlock) by triggering certain error-handling code.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18232.json"
[
{
"id": "CVE-2017-18232-07c64dc5",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"265323648560273483740067665626610562268",
"165501063101248227940245344760398498217",
"213362956794372787555759381526579538742",
"295175603923453968762541221595313167873",
"156217102317573064312474076521167990060",
"326463093652544330826590293670969117330",
"124903113590795621501249695809546609194",
"131365813356750821767876150726312791108",
"57532645080638016592680812273714611311",
"83552727210737094443564230204932204248",
"331768622870014664338003730975936833020",
"17615330892804353103695581777044743796",
"309155531347921819989144191728683540327",
"54778111366599436294930762955477925976",
"178846543389421513181183489634294025934",
"86004087872086115851372124965360551459",
"62625139788652605282994516816175903113",
"156217102317573064312474076521167990060",
"266772338266339524953355177194208498240",
"33568214968528599788900782450253147887",
"91613043972736602871528897435708518872",
"93687782837517945753674537609953065972",
"60487692916061433552273744290767490278",
"220594954427265134645128264118613703391",
"73444118586040444984004404408997626935",
"36858221401909982638820665599607880803",
"163907651637908342056205979698639401554",
"304667378082755773994781941546939255699",
"83845650817587255544118624822953601942",
"167908917538971098023315734323267698163",
"181235474423323995757665169210293059331",
"194794630062885313677982616099573354389",
"1053797699525482447743323256557935607",
"323098453059614222560291307908522939110",
"323754117475742242952791074677792803193",
"169729107955852735009709848097760514254",
"302414972364010418066473144607664834755",
"265198248089041744796113155584751761178",
"132424030398576542505371276803444645280",
"138510242599168682053497812499109791947",
"146041158683610945744882071268817124805",
"152791819213096997719566441322955486107",
"213516927464064413221384021550655223395"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-123b4aaf",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"83442858017006875389569505536182067140",
"292629390130228553463243305627050587421",
"216715563811392387310240384570184379101",
"172171848576156282405765242672726352365"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "include/scsi/scsi_transport_sas.h"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-1d12679f",
"signature_type": "Function",
"digest": {
"function_hash": "244184285733667936230642165285834308636",
"length": 834.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_revalidate_domain",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-34a546ff",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"83552727210737094443564230204932204248",
"331768622870014664338003730975936833020",
"17615330892804353103695581777044743796",
"307621633047444514496460554976650014405"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "drivers/scsi/libsas/sas_ata.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-57122c7b",
"signature_type": "Function",
"digest": {
"function_hash": "288833972201296237750812425629154972260",
"length": 396.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_destruct_devices",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-5a4a8511",
"signature_type": "Function",
"digest": {
"function_hash": "327244265629060577823779539529632909997",
"length": 798.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_resume_port",
"file": "drivers/scsi/libsas/sas_port.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-666e039d",
"signature_type": "Function",
"digest": {
"function_hash": "156042151056959258364154566307218992788",
"length": 1202.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_discover_domain",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-6c571368",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"214764775605261582420924355660821313539",
"213233743794097471961458740899827155686",
"284541717682670958150407997291910349031",
"268811743495988952891347626373025568962"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "drivers/scsi/libsas/sas_internal.h"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-739b2795",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"264369412960660482184175133194095968502",
"17513663530640372217100809085424773897",
"2206441403699129589096436223285032220",
"182031589259189489237051222797793030492",
"126522444486178994170071743182263637334",
"309171578603048902020530705671980562952",
"259637080015053158258407616044298479229",
"88764991688462095847978811314696627072",
"33580795175697215770266635094207969478",
"116340258437848712330442937036074025864",
"121584322364890648692797286332967682625"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "include/scsi/libsas.h"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-87e5729b",
"signature_type": "Function",
"digest": {
"function_hash": "244007869345253885695530888492493260052",
"length": 881.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_unregister_devs_sas_addr",
"file": "drivers/scsi/libsas/sas_expander.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-b82de344",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"14582261658711355685377395142979961485",
"86979340495559117790413822883816786347",
"276503546874658649717539717671571261639",
"305649645995123083825629223564580289914",
"77290708647422674645380797578954722625",
"268440704021554092698982273629487711793",
"219722199330239312260516733163328768053",
"254585067163385294418269929225944051806",
"263757940597543331287235338502503233578",
"96901731142664285942718683285418705638",
"252335679151929963935191677737831414809",
"50282231950423154057831736711109015461",
"101250498209310971006675240298115121189"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "drivers/scsi/libsas/sas_expander.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-bfc07350",
"signature_type": "Function",
"digest": {
"function_hash": "96244681029323421258823431262674276244",
"length": 625.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_probe_devices",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-c26f2a13",
"signature_type": "Function",
"digest": {
"function_hash": "220552403282227158745061277186519919062",
"length": 472.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_unregister_dev",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-c5fb52b1",
"signature_type": "Function",
"digest": {
"function_hash": "256135842808453816668030405188790182567",
"length": 153.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_discover_end_dev",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-cf773e91",
"signature_type": "Function",
"digest": {
"function_hash": "235133591999093854286392730442748215323",
"length": 389.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_init_port",
"file": "drivers/scsi/libsas/sas_port.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-cfa779bf",
"signature_type": "Function",
"digest": {
"function_hash": "210750908937719571322648143856434306469",
"length": 297.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_discover_sata",
"file": "drivers/scsi/libsas/sas_ata.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-d8034bb2",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"2191279439873028491675929189786112482",
"206874291417382638918436453593465757002",
"96226802483232827931755472886306968722",
"280378752644849673447022902935043436663",
"184345606354974772061498239570676762144",
"87954436572179970763403592169153770304",
"57969120626090728859911092710571513846",
"313760896537934486911663742813270117364",
"128612832871510461571596349062031719421",
"116505510724397717859443752777142664779",
"292651148091320453864760029469032274624",
"146144768196298203176566136185288960872"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"file": "drivers/scsi/libsas/sas_port.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-dde42537",
"signature_type": "Function",
"digest": {
"function_hash": "105326908991566688843474544441668465403",
"length": 1163.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_deform_port",
"file": "drivers/scsi/libsas/sas_port.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-f2ff3516",
"signature_type": "Function",
"digest": {
"function_hash": "91455919264668712015114878758355096551",
"length": 421.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_ex_revalidate_domain",
"file": "drivers/scsi/libsas/sas_expander.c"
},
"deprecated": false
},
{
"id": "CVE-2017-18232-fe44a66a",
"signature_type": "Function",
"digest": {
"function_hash": "273601137138880072940099710080819455261",
"length": 595.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0558f33c06bb910e2879e355192227a8e8f0219d",
"target": {
"function": "sas_init_disc",
"file": "drivers/scsi/libsas/sas_discover.c"
},
"deprecated": false
}
]