An issue was discovered in the Linux kernel through 5.11.3. Certain iSCSI data structures do not have appropriate length constraints or checks, and can exceed the PAGE_SIZE value. An unprivileged user can send a Netlink message that is associated with iSCSI, and has a length up to the maximum length of a Netlink message.
{ "vanir_signatures": [ { "digest": { "threshold": 0.9, "line_hashes": [ "323948300771854222018520321947305348631", "123037000464507690792528660050894879687", "308417236081691077428039850435868627006", "225438741743990137692035209939515798981", "197186186957768327468816558316636669496", "321574029945582737443586325609282852824", "35363190931274957255581526402360412921", "8464033298835167000565068796184077033", "336038066718681364882097922290047405190", "98671610217171059479335821593151931214", "260059871945179566264378941944143867529", "160894265436080577474996974425653487522", "78109140758249401798024709256299485816", "192352682498337639292525118009305059596", "251566839011075541750753506961830584972", "92887495954873410791792609717195859804", "71990359163003823280022207271990117521", "160242154208409005202559212856998860295", "332407966239289722733800610173529353623", "211732392125450949575315700007848919648", "317020556382602758442999102928956002936", "17990500291879805987129952905909702858", "92428352314783593047034490503425514649", "83162844332626901445813416674758812891", "77474481036566224057620372806160458408", "323119818259781804199128748860707397606", "138118473673587974995058089404821718914", "227179163735699993976105898537426048756", "166515074977447638169057459328749169841", "328296950750505975479850002136023806866", "297205142289862462713880968035910507878", "166613375682247917286462734044484905521", "242495587632259910200319313213166405781", "125239067811379041056317122788417993314", "63882338974952323262368281429636078358", "248263073525452626145288876689827119587", "242679400467954598233513666296857864337", "115389716201294240116132587313379239510", "179722854274398028811587452660608974804" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ec98ea7070e94cc25a422ec97d1421e28d97b7ee", "signature_type": "Line", "deprecated": false, "id": "CVE-2021-27365-0b561d10", "signature_version": "v1", "target": { "file": "drivers/scsi/scsi_transport_iscsi.c" } }, { "digest": { "function_hash": "334397030185727504701473332736238898830", "length": 544.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ec98ea7070e94cc25a422ec97d1421e28d97b7ee", "signature_type": "Function", "deprecated": false, "id": "CVE-2021-27365-3571fbb0", "signature_version": "v1", "target": { "file": "drivers/scsi/scsi_transport_iscsi.c", "function": "iscsi_set_host_param" } }, { "digest": { "threshold": 0.9, "line_hashes": [ "232897816366532863160177967024240397435", "293796568534770654447445532385249143252", "69021180217528486935969354295572178020", "301598024165474110309541707768481369535", "204931159994533404958297505431937894260", "243665586922878471342091345770141569426", "14341444132520522887080866446985567571", "164916003487643075680257588707898708008", "5598035841690729324837477660645125740", "140665546134652572357384773838302643437", "161222972158047016286983494694946509229", "187349584019870076927733728556089943447", "45707397646362651370642194876485644237", "217701626263757345519270091332417195296", "123253378308837765450831937543790032302", "165364257549269158672890334519028485522", "3930611457217618247245761720589294799", "294220899078495493116466887380057046469", "165800631515818041151396298757357623844", "332521799433677513213728819940915844545", "216002936866761631113673849791856070983", "286183681119171518628726673341015137548", "21725166937058022847874223330990797125", "258790277536727767337223688591535820387", "239414123471191880457121164340395891309", "213851060382362018407869235061881674248", "328670287905906981231617518600976987800", "235296827404724769874632959034851615323", "281534556430245070226868095216969081455", "239880827881577826607354092117922523174", "220971998213956401513433736446474791966", "15623657085657938575503563834904061902", "156031847158417250222909397674104172598", "110126857838962637829350895175500625055", "223557441946673434306621644521934685428", "337102196484700885871204650913814670705", "81103164270634069707830955018545156727", "230951574854177476322318457886034511771", "113222226116539396723609587552506795078", "155671088827678646715320426246469894042", "278047115621598537051428508050880641715", "207199123501048188146291876701145638485", "219225910635587074336300140060176430465", "213040711840358618713609974387707892884", "289550014657269367805665724151645773825", "183363967358775035783378348471392224879", "126523006227821501920491546222989154178", "69051511358531419991671672637284735113", "75851139203524074615848712952444513054", "69976722442183344781865220242364113131", "56380907236532097977602626398498241659", "91497741745460342658188870157001267976", "63015023529586532994510009753752232636", "78622099548803590123081767897509515967", "308651554518012637348220849911668075029", "35206942381144188504478865947674651394", "145214204112692703586080040613904282946", "245630250881941933130873352192686627283", "207318548504370179256123499416577990760", "40833925298850873375658571982757089288", "181014450065253162920537654403216479764", "74231805182861731936391917972205665764", "192718869091619750016595833102468100747", "260075540686411585685344577387527558258", "61644968695892103048366928242372128124", "261219784508707917900366643090600017748", "234386830638589436057685007185560426185", "69245565475710720520357387800460999399", "81353190060135903011109754203440245854", "40620209197693008954375813788880037767", "45597443283609041933126180492710739560", "5817280654382759410904744795585966811", "168431471622107649830814904169562879747", "136102966132165269990799101937135587775", "273343626993592467091362024330875117935", "307659869434527214826794385756252298142", "90031388736862712298963585246027765755", "120520630550660536920862600967450155568", "154885797493702133936979636483951067125", "84487743945178185845934514841613380396", "183289513499112270943607803233475352639", "152285427844931547770259132951039854511", "91134904295669679914369506388452388218", "305722410821889448128229294513932540907", "179752915474856777961723704626168736162", "233577752609561713275893244190062312626", "32133592432669964534028381070502802631", "114672574566823579515760541086744132281", "283082895181976592783427927677347653732", "5564231002309831534097937213384182899", "189829810709622230743664944423745324195", "63832478221304891604918946022763344869", "188599944948291453778701938091875156633", "36054821562928995479952364372715481934", "157441398132516161148514332057567534517", "318633057865763570009645066607767578174", "247617125969951573436677970309599614223", "244028449447581220795795006721850230513", "44484669823301209836193031895746047287", "245181471073679935242021557591858361819", "71189829614752817065091125199824082802", "247757520257781973247178077860765151949", "253072130409255554522386163858666396523", "52108314417228158620382169486134461057", "2356063646588466811109844215300217958", "313289202838599381204377840876381822320", "156439739094180553521874151668087573896", "333960651327967725489529526448038406838", "246877442637860350746317314574239799663", "131601903118088704983203251724469937586", "64516895942863593721337307071684167727", "283560093691721378728992389864504523084", "276647041065398482716221868673821550045", "80847511781279499488350943849482865891", "239945251827185466922561692113456007478", "198418529691451552124868686463613935907", "92311380000239267268757531932687105973", "287254224791690916438687545094942466127", "211567337365745980573704934864719860767", "295101861503109079634450584479023578811", "116854107529691131258180156428956654979", "42647040328900166403770772470177110189", "11072182973694256234888678827135855248", "305126076223629623067133852706910337930", "228935707301595942212260586336282927305", "241770676299211185618459614724869425633", "185923374140503761394925835026722488363", "210338889808465845590745498104586679039", "237723283187948648550935096202859205094", "22803690948131925359521597598869871193", "293859216385998341736620020554912614373", "8329867360846390716094331549429444095", "11981064310640442871228710463127927514", "306283770698976488253414912851114415650", "26744674196037880817666117008689245497", "295667638185817321638550687283536625985", "65475882852864309975701687577216549158", "136396457847060191769385153465716122240", "89547530990558464405901481601990648802", "255319016835633459259710503295690467805", "113029930067877439341545484212449521041", "154406830180591725477415811325026594799", "199251149254404932216784223899067660047", "319991317317771191718602489648836677496", "61395966375305057469202978327945534850", "77895745121656562113314089646912052451", "324669840597415232976027518711191593129", "301586943169647629704487582128688690884", "216621566550999245535663910244048074864", "100949796100369378346387354058295197692", "329876800323639913681356699417001981298", "332027496551813500803784015705506256496", "65180541194655701641830042912616990144", "278999638241676937220453345478855807592", "289878700749900950316297102942780751717", "316847586375159747906133924540636857186", "199751525065647094337765022624507341891", "101862225939607069638380791594419125150", "187465760409953370899599449614417733310", "172934107404126396501742134728125365588", "195863693486497051946898474679531277300", "132355232488971989844999093276496477041", "243969934587197571328137664606710041109", "232674114132426444142529121784007042295", "21598806506851370669361189283655206751", "190637445505243025588452886133259574922", "327475639097146349677093581600817025415", "140874975064525570633440925120452230262", "163440945410696422672501520664212967792", "159468455410220092019718360420024945308", "202253455553255796425841222545461176504", "260713419478361871946302163430625607007", "312843476109930726325424795769315697155", "284828716571365736994513157741821785480", "174642066622402863337478579507261690576", "339725149115834844114134935576823192144", "250339095929640921653594738758124555029", "246266335645751075690449569921908478509", "316202191010192573717163914663319666962", "157178596179517138020446108874093772210", "196032483291001391121275083934212096272", "202741655370232287722387035048720606999", "46140121936217119983113773398174431901", "315827361565114250019031523671822453632", "311456652158486829792067235731478914307", "26508458536945778486956903226702283963", "250924103167527099032893139735164557835", "296365569594298012472126767672344875451", "103289178135047119146528263361497928357", "42291342408822171879278735072888676930", "133342567763702363190986122432718276751", "281375043160697335182698196788022561241", "326935629407801377115995298275175142531", "302398926893575540333657296918892004560", "161689334459722359114860620472685547940", "1183846527835635033213440689335611914", "338630142597350890791565606275179884603", "11429597675795904622787172876421464482", "118053836827696833559941564980820324960", "258946160950170039025277272425221970509", "293125486581538708501253819060957743461", "65989392944300681921014834211872191425", "224040682867456048088734359642286098595", "28868020614026797018634420483324506094", "102966208382781840455841130528597357819", "76633793715057487937362198069365631154", "111040395726065914970746149420755931085", "81463783160655857407825509982162995109", "118056720916373720991980553673173854801", "48381237089918791126965079911599372179", "65034079518747019424682581759540719993", "264767594106782288446168830682661413648", "232047369783953608516993036641959138558", "193647819408967955197207637658425782927", "127957760651889192968437959282211618438", "227535853100037585949552562974486144301", "91338386356758741844232765578637716960", "22775348450123494617480858567422437821", "239340438369582370037469137070395620230", "311553490819307080844181258001992600607", "18857451563677005486924777655401111410", "45671200376981991085848196155447029539", "287453207036997286205916984782760811948", "320916487047770002379698610697147069888", "24059017291654039624508216928196168466", "214415002738352022680038272279498447011", "62178518768952242481282854193329264666", "320011267922265354255611052861871153555", "259419330076557385026909755734746568334", "40557981277553844476577981330243313985" ] }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ec98ea7070e94cc25a422ec97d1421e28d97b7ee", "signature_type": "Line", "deprecated": false, "id": "CVE-2021-27365-4fb0a2ff", "signature_version": "v1", "target": { "file": "drivers/scsi/libiscsi.c" } }, { "digest": { "function_hash": "287362377331883297117818602336209412370", "length": 664.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ec98ea7070e94cc25a422ec97d1421e28d97b7ee", "signature_type": "Function", "deprecated": false, "id": "CVE-2021-27365-ae176f6b", "signature_version": "v1", "target": { "file": "drivers/scsi/scsi_transport_iscsi.c", "function": "iscsi_set_param" } }, { "digest": { "function_hash": "250426646079680730403771998756012763028", "length": 188.0 }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ec98ea7070e94cc25a422ec97d1421e28d97b7ee", "signature_type": "Function", "deprecated": false, "id": "CVE-2021-27365-f69b886a", "signature_version": "v1", "target": { "file": "drivers/scsi/scsi_transport_iscsi.c", "function": "name" } } ] }