In the Linux kernel, the following vulnerability has been resolved:
parisc: Try to fix random segmentation faults in package builds
PA-RISC systems with PA8800 and PA8900 processors have had problems with random segmentation faults for many years. Systems with earlier processors are much more stable.
Systems with PA8800 and PA8900 processors have a large L2 cache which needs per page flushing for decent performance when a large range is flushed. The combined cache in these systems is also more sensitive to non-equivalent aliases than the caches in earlier systems.
The majority of random segmentation faults that I have looked at appear to be memory corruption in memory allocated using mmap and malloc.
My first attempt at fixing the random faults didn't work. On reviewing the cache code, I realized that there were two issues which the existing code didn't handle correctly. Both relate to cache move-in. Another issue is that the present bit in PTEs is racy.
1) PA-RISC caches have a mind of their own and they can speculatively load data and instructions for a page as long as there is a entry in the TLB for the page which allows move-in. TLBs are local to each CPU. Thus, the TLB entry for a page must be purged before flushing the page. This is particularly important on SMP systems.
In some of the flush routines, the flush routine would be called and then the TLB entry would be purged. This was because the flush routine needed the TLB entry to do the flush.
2) My initial approach to trying the fix the random faults was to try and use flushcachepageifpresent for all flush operations. This actually made things worse and led to a couple of hardware lockups. It finally dawned on me that some lines weren't being flushed because the pte check code was racy. This resulted in random inequivalent mappings to physical pages.
The _flushcachepage tmpalias flush sets up its own TLB entry and it doesn't need the existing TLB entry. As long as we can find the pte pointer for the vm page, we can get the pfn and physical address of the page. We can also purge the TLB entry for the page before doing the flush. Further, _flushcachepage uses a special TLB entry that inhibits cache move-in.
When switching page mappings, we need to ensure that lines are removed from the cache. It is not sufficient to just flush the lines to memory as they may come back.
This made it clear that we needed to implement all the required flush operations using tmpalias routines. This includes flushes for user and kernel pages.
After modifying the code to use tmpalias flushes, it became clear that the random segmentation faults were not fully resolved. The frequency of faults was worse on systems with a 64 MB L2 (PA8900) and systems with more CPUs (rp4440).
The warning that I added to flushcachepageifpresent to detect pages that couldn't be flushed triggered frequently on some systems.
Helge and I looked at the pages that couldn't be flushed and found that the PTE was either cleared or for a swap page. Ignoring pages that were swapped out seemed okay but pages with cleared PTEs seemed problematic.
I looked at routines related to pteclear and noticed ptepclear_flush. The default implementation just flushes the TLB entry. However, it was obvious that on parisc we need to flush the cache page as well. If we don't flush the cache page, stale lines will be left in the cache and cause random corruption. Once a PTE is cleared, there is no way to find the physical address associated with the PTE and flush the associated page at a later time.
I implemented an updated change with a parisc specific version of ptepclearflush. It fixed the random data corruption on Helge's rp4440 and rp3440, as well as on my c8000.
At this point, I realized that I could restore the code where we only flush in flushcachepageifpresent if the page has been accessed. However, for this, we also need to flush the cache when the accessed bit is cleared in ---truncated---
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "65883035647605836911085581375123900297",
"length": 276.0
},
"id": "CVE-2024-40918-00dc397b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_page_if_present"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110402628383039102522857057676791360851",
"length": 168.0
},
"id": "CVE-2024-40918-0bf97f5b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/include/asm/pgtable.h",
"function": "ptep_get_and_clear"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "65883035647605836911085581375123900297",
"length": 276.0
},
"id": "CVE-2024-40918-1239bcd4",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_page_if_present"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "267766489009856686689219512874117657330",
"length": 506.0
},
"id": "CVE-2024-40918-16f01de4",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_pages"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "58297971907562310802702248609720604620",
"length": 77.0
},
"id": "CVE-2024-40918-1f48dc11",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/include/asm/cacheflush.h",
"function": "kunmap_flush_on_unmap"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "48450384237494650627042630195195980037",
"length": 332.0
},
"id": "CVE-2024-40918-2232ab2d",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_anon_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"4268383193753661047370575882693460697",
"277566652707102155065482359803054825538",
"32241371008754295695477560363174204766",
"112379772478090735135318897204692511489",
"5331385973530404909943138918435988020",
"314083300082995571149326002573502703076",
"136661230564901696313543516140147609656",
"238291378154048217475622433885495120504",
"331412588046504752312184939674059925725",
"295665145761212393570252778396012135277",
"185524117352467872075832944594005854214",
"56850417444958076739508439178539760985",
"217553916544408541870469391924567191922",
"246621116911348927602968681584143448729"
]
},
"id": "CVE-2024-40918-223df36f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/include/asm/cacheflush.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"276723287705574675269376170876112456909",
"16801323818379844968978002091761660233",
"304712587822287304356528508414833441499",
"311027783243446391220173909143882100121",
"67716186341494132679590079831894516716",
"19906081706166255059874193116482800883",
"87368109852295872382497350935357928138",
"6282279212126876000729221155609743733",
"265252269001624137485944375246302654406",
"55271457746025799427971442225669748417",
"264408216639326073387415684397271448625",
"74661527931116682880476032771345667897",
"304245439580002531333956682753017997898",
"176296369381185084445547139422924724067",
"319349054562776596816946662734506976054",
"339260134542702602728062394354867788890",
"85109108591503543600176711173821996899",
"46291436395635302579704937926943428910",
"232917623471606004391839000863793703137",
"235620941462090770332755527234557018002",
"315322894779614356186644415444256283204",
"24015372761818221456931858058377827405",
"270641474144872021738045257976423777143",
"324847979749174545036037416438282984026",
"119870318641242512396001314541367736493",
"182459668112205532797614947969475283464",
"135617142645015996874946139165204440495",
"293275923389155922804342337385846360904",
"82152215767224319894488031124275263539",
"245818456349020460888615466370716042011",
"239808917919908067002925266337407931225",
"165512014341991005331676535007046219276",
"287634946265037724761363173682838774957",
"281079362327489963334283894599938094415",
"201912420091553878260240768633473873034",
"115012458281860336461592069149384524527",
"59225074523967358766914115981208351912",
"85869296100119149682906914817987158704",
"98502420445847837699989317661412814494",
"303114527290233519358226630940717039092",
"299778379992020618552944535607221672184",
"231649850544225486204374540443815011057",
"67813916747421480960422040930713817423",
"156071840092675035726908149221972581269",
"231864687395914875412339543222058396863",
"33559859381521906617014163922589025929",
"326901155020172429658774891798935859493",
"119298010311070343687890923815595519610",
"86115619464118683403718763819642532230",
"327629226699201067810650942168345892460",
"229329329988919271302374472418127795603",
"7625990431278954220972655707216789187",
"44873588872001689476260112186450969447",
"190470773817014731556066602844940716200",
"191972660078665770861834329243198522590",
"118519808200125103243444374094955568699",
"64087338331472064017470009726066312711",
"223152792008361290475772121807734000679",
"275909852465887773086545880582706634656",
"48422107322323824953567428362835303258",
"155364580813782510524605448214859307764",
"87320275991816993870464675403118099272",
"22631754893848467347292722569790109735",
"207031343239553493713915376950803683102",
"128917644927427829981084896284485318256",
"57279012172060085446987290706386906080",
"94912748855609713497922957846978889528",
"6112739912944811322631516721665791208",
"165517886925671323076943271905690617075",
"6968843966973865537423859936316536036",
"63817087717637765186599223963712845496",
"211807850674066021954919116579368509739",
"119355151276470783464772958965102774030",
"61696043524361583756646813370731094419",
"9484863451138863478185477899578184591",
"82453316416377780631463895626961394056",
"79506472835363597348550640832951606506",
"113388359505208658971473688582598914794",
"182572500700383634398246238133898767462",
"106507861598982593444899075011641469961",
"71957894341653895473304844511789043744",
"199278167569170353518532293697516331768",
"197839783078365946215617149942248042103",
"331568267901297657189361792122510347553",
"77808199586094364652507646301698084684",
"44906325983076366690136107129865325107",
"208869181525927051665022848854660534926",
"17689782753027765379845378495452937990",
"216946286480378125705773148491669106448",
"44632016377419191961090700655716309058",
"279266626095764052025784477544834963460",
"184362776913033589089176902811299948523",
"235215911009773184395374279117219726294",
"311106223269251077396604912139186788162",
"69933703204182237414059154292652253041",
"234433216866897136606987133209923692366",
"27507865551655588308348451319576895202",
"155613124697995686587779926463576367440",
"3154682024763025064830440595600304858",
"81256181795762916061468434869883828226",
"263308847170784773787426543437261989211",
"204789327676924296345290406346401060523",
"316984640824006418607819640270689382077",
"302151967588009166471100231426021254992",
"210786189868243285825333510269427072201",
"99260582431205291169475800975138241593",
"193845937553018305404761821704904920237",
"210822694246837296798055229635188001031",
"82449089047164045901718258336650385640",
"203650068875661071535934772060114414612",
"243967145317860462156380425135893256687",
"60889308924851407464342318228601451629",
"299271728226902567905363199086526529210",
"88199744142918074878181969435008044541",
"109568180760377800142890116704644823516",
"192179207961876206506265947806753000057",
"307111384358051764384621503478988712888",
"1539093227346086315020050928122785172",
"171990565105660229829510477144896943118",
"327596621984052496827090121352618999164",
"300896545573329393799932401366247598721",
"255220286189350660664883960989096663317",
"92832081346235180927725855038990046420",
"46110340889366930456263781840716452318",
"45449487822694034042575665998238321074",
"241833645511955514087470579469564002087",
"259792514772606185226270080411211002109",
"112574794863705404716915690448853057355",
"118720032946832070527150532262084539527",
"22119574235439840091853562740089086175",
"30620234237698969741518097526664263071",
"97241462664702964704580638377830026400",
"316830774979410377419103935218991102851",
"89128341426094005500275168069478237278",
"112574794863705404716915690448853057355",
"207338313906299918374890076936369094106",
"243103341977183232348127626220761491745",
"17704328165707227458660045845210477381",
"127190799728407138220249280907525650140",
"107029149898246843161880387982051848281",
"96003446989831574033379854513059201516",
"229767565317147711950236857330460631403",
"214623355506736417055717919415591242859",
"186165269610715410251761330278199978272",
"153722803137833398265480213455066617339",
"327614667221587982455023392603274760507",
"196831333117642222827381802226018482305",
"133995269251504967730278773945171476978",
"285441448994568525852661582729842351340",
"155970960010149848680767531778362358025",
"63766471411029404359693701071215638766",
"72333059002286308139179472737245339579",
"215277888235995356521468314083281720927",
"37900234103888990141219796320131931199",
"32976794636485043603956857287497562630",
"261258654860301146368437976475255173385",
"8889800346589400796498216052467423183",
"15674048095355284780230174101989416478",
"108587633537507210242609878158511307392",
"169998970435316115829634692106769437213",
"27204179586545758826700693388995122757",
"211435811087735091190421509601420450980",
"337505205922433109820190916466291962990",
"248524098502121306409256900820049642635",
"54194119763115699749455785610819079604",
"144993411944796448055061504559562493804",
"294191374980818351976870953175789338572",
"40347403243550763024105596358203152424",
"120614663183215633399915228010645821154",
"273903323497335349394106781260107466926",
"160443006356638492969987937202092674289",
"120113744608246902794493861568607417540",
"245848800586794353039805139022404288317",
"265534942551536834517948804014192773737",
"33250792981070819944530462602665905092",
"116708671505558464945260738608004679844",
"230486163986389218464074672635310322656",
"125975613587573421608698127422527815431",
"206530332954999189621582960067541724771",
"132831785044592044224862557480635512270",
"167798217011561319061704155773717373551",
"35513548438718155868976702569386821557",
"142881544786862819467777063114753765137",
"131589428667367921975098729409401561757",
"67568945732035355148587220302238933239",
"155247257225226748002342220575228485649",
"254842749144287075601669340213193754309",
"110943771779186218563098071918317273564",
"94135965750041471311621137911152790312",
"253178483817645630985695351552628435057",
"197808203956515182201710726976874325739",
"301286180438202509172921816527936471903",
"188420664254365242592946178161955880242",
"96270026219237360064043552790941224768",
"24550591641827363719841945620594535466",
"148402105793243500616086249524771626367",
"256407961634518140486016045368313409267",
"109461083369750806174301922035547908088",
"18455706543790233562182833564768292810",
"154230641476263926122183168759884706321",
"210047975905829973764840348527312282038",
"165371524934950559538266452184704663413",
"52412251724398710498163016311308252819",
"31904224256508641483048886489392035896",
"173414470465636296420144253662913557410",
"124321259310318617410246074864707810987",
"237418389533407774299848131323937961087",
"256407961634518140486016045368313409267",
"109461083369750806174301922035547908088",
"18455706543790233562182833564768292810",
"235942141843229999929346209475241196798",
"129287614112139408432710334792471398267",
"3319119821427595887355018752850884566",
"316223741441592170983346205879884762827",
"334015085086141036468265973083128960060"
]
},
"id": "CVE-2024-40918-248fbb53",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "180222400326608484093059071807628091925",
"length": 1664.0
},
"id": "CVE-2024-40918-27b96716",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_dcache_folio"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "317502059483326671194473861809283532391",
"length": 366.0
},
"id": "CVE-2024-40918-2a45d95f",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "invalidate_kernel_vmap_range"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "73577427375428561865720710336050394456",
"length": 155.0
},
"id": "CVE-2024-40918-2a570c99",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_kernel_dcache_page_addr"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "58297971907562310802702248609720604620",
"length": 77.0
},
"id": "CVE-2024-40918-31fae10b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/include/asm/cacheflush.h",
"function": "kunmap_flush_on_unmap"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "329446220869272464688000174662903725816",
"length": 351.0
},
"id": "CVE-2024-40918-32d3d696",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_kernel_vmap_range"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "321811702225894415025230281196338392702",
"length": 236.0
},
"id": "CVE-2024-40918-381addd8",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "248202323472713474138051544088362102422",
"length": 250.0
},
"id": "CVE-2024-40918-3b9f9b84",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/include/asm/pgtable.h",
"function": "ptep_test_and_clear_young"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "118173229835550666542553169898226240935",
"length": 283.0
},
"id": "CVE-2024-40918-50755242",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "copy_to_user_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "329446220869272464688000174662903725816",
"length": 351.0
},
"id": "CVE-2024-40918-5960b3bc",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_kernel_vmap_range"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "330957496754828924982833265082545414050",
"length": 324.0
},
"id": "CVE-2024-40918-60304f04",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_range"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "80543725102825967045821776720473627938",
"length": 269.0
},
"id": "CVE-2024-40918-6206ac76",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "__flush_cache_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110402628383039102522857057676791360851",
"length": 168.0
},
"id": "CVE-2024-40918-68f79243",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/include/asm/pgtable.h",
"function": "ptep_get_and_clear"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "330957496754828924982833265082545414050",
"length": 324.0
},
"id": "CVE-2024-40918-75db0560",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_range"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "17459414417642375219822921408235235766",
"length": 745.0
},
"id": "CVE-2024-40918-7a9b9238",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_user_cache_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "48450384237494650627042630195195980037",
"length": 332.0
},
"id": "CVE-2024-40918-823cd9ce",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_anon_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "321811702225894415025230281196338392702",
"length": 236.0
},
"id": "CVE-2024-40918-87fca609",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "248202323472713474138051544088362102422",
"length": 250.0
},
"id": "CVE-2024-40918-8d7a4763",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/include/asm/pgtable.h",
"function": "ptep_test_and_clear_young"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "17459414417642375219822921408235235766",
"length": 745.0
},
"id": "CVE-2024-40918-93eba5ea",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_user_cache_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "267766489009856686689219512874117657330",
"length": 506.0
},
"id": "CVE-2024-40918-abb448a6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_cache_pages"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"276723287705574675269376170876112456909",
"16801323818379844968978002091761660233",
"304712587822287304356528508414833441499",
"311027783243446391220173909143882100121",
"67716186341494132679590079831894516716",
"19906081706166255059874193116482800883",
"87368109852295872382497350935357928138",
"6282279212126876000729221155609743733",
"265252269001624137485944375246302654406",
"55271457746025799427971442225669748417",
"264408216639326073387415684397271448625",
"74661527931116682880476032771345667897",
"304245439580002531333956682753017997898",
"176296369381185084445547139422924724067",
"319349054562776596816946662734506976054",
"339260134542702602728062394354867788890",
"85109108591503543600176711173821996899",
"46291436395635302579704937926943428910",
"232917623471606004391839000863793703137",
"235620941462090770332755527234557018002",
"315322894779614356186644415444256283204",
"24015372761818221456931858058377827405",
"270641474144872021738045257976423777143",
"324847979749174545036037416438282984026",
"119870318641242512396001314541367736493",
"182459668112205532797614947969475283464",
"135617142645015996874946139165204440495",
"293275923389155922804342337385846360904",
"82152215767224319894488031124275263539",
"245818456349020460888615466370716042011",
"239808917919908067002925266337407931225",
"165512014341991005331676535007046219276",
"287634946265037724761363173682838774957",
"281079362327489963334283894599938094415",
"201912420091553878260240768633473873034",
"115012458281860336461592069149384524527",
"59225074523967358766914115981208351912",
"85869296100119149682906914817987158704",
"98502420445847837699989317661412814494",
"303114527290233519358226630940717039092",
"299778379992020618552944535607221672184",
"231649850544225486204374540443815011057",
"67813916747421480960422040930713817423",
"156071840092675035726908149221972581269",
"231864687395914875412339543222058396863",
"33559859381521906617014163922589025929",
"326901155020172429658774891798935859493",
"119298010311070343687890923815595519610",
"86115619464118683403718763819642532230",
"327629226699201067810650942168345892460",
"229329329988919271302374472418127795603",
"7625990431278954220972655707216789187",
"44873588872001689476260112186450969447",
"190470773817014731556066602844940716200",
"191972660078665770861834329243198522590",
"118519808200125103243444374094955568699",
"64087338331472064017470009726066312711",
"223152792008361290475772121807734000679",
"275909852465887773086545880582706634656",
"48422107322323824953567428362835303258",
"155364580813782510524605448214859307764",
"87320275991816993870464675403118099272",
"22631754893848467347292722569790109735",
"207031343239553493713915376950803683102",
"128917644927427829981084896284485318256",
"57279012172060085446987290706386906080",
"94912748855609713497922957846978889528",
"6112739912944811322631516721665791208",
"165517886925671323076943271905690617075",
"6968843966973865537423859936316536036",
"63817087717637765186599223963712845496",
"211807850674066021954919116579368509739",
"119355151276470783464772958965102774030",
"61696043524361583756646813370731094419",
"9484863451138863478185477899578184591",
"82453316416377780631463895626961394056",
"79506472835363597348550640832951606506",
"113388359505208658971473688582598914794",
"182572500700383634398246238133898767462",
"106507861598982593444899075011641469961",
"71957894341653895473304844511789043744",
"199278167569170353518532293697516331768",
"197839783078365946215617149942248042103",
"331568267901297657189361792122510347553",
"77808199586094364652507646301698084684",
"44906325983076366690136107129865325107",
"208869181525927051665022848854660534926",
"17689782753027765379845378495452937990",
"216946286480378125705773148491669106448",
"44632016377419191961090700655716309058",
"279266626095764052025784477544834963460",
"184362776913033589089176902811299948523",
"235215911009773184395374279117219726294",
"311106223269251077396604912139186788162",
"69933703204182237414059154292652253041",
"234433216866897136606987133209923692366",
"27507865551655588308348451319576895202",
"155613124697995686587779926463576367440",
"3154682024763025064830440595600304858",
"81256181795762916061468434869883828226",
"263308847170784773787426543437261989211",
"204789327676924296345290406346401060523",
"316984640824006418607819640270689382077",
"302151967588009166471100231426021254992",
"210786189868243285825333510269427072201",
"99260582431205291169475800975138241593",
"193845937553018305404761821704904920237",
"210822694246837296798055229635188001031",
"82449089047164045901718258336650385640",
"203650068875661071535934772060114414612",
"243967145317860462156380425135893256687",
"60889308924851407464342318228601451629",
"299271728226902567905363199086526529210",
"88199744142918074878181969435008044541",
"109568180760377800142890116704644823516",
"192179207961876206506265947806753000057",
"307111384358051764384621503478988712888",
"1539093227346086315020050928122785172",
"171990565105660229829510477144896943118",
"327596621984052496827090121352618999164",
"300896545573329393799932401366247598721",
"255220286189350660664883960989096663317",
"92832081346235180927725855038990046420",
"46110340889366930456263781840716452318",
"45449487822694034042575665998238321074",
"241833645511955514087470579469564002087",
"259792514772606185226270080411211002109",
"112574794863705404716915690448853057355",
"118720032946832070527150532262084539527",
"22119574235439840091853562740089086175",
"30620234237698969741518097526664263071",
"97241462664702964704580638377830026400",
"316830774979410377419103935218991102851",
"89128341426094005500275168069478237278",
"112574794863705404716915690448853057355",
"207338313906299918374890076936369094106",
"243103341977183232348127626220761491745",
"17704328165707227458660045845210477381",
"127190799728407138220249280907525650140",
"107029149898246843161880387982051848281",
"96003446989831574033379854513059201516",
"229767565317147711950236857330460631403",
"214623355506736417055717919415591242859",
"186165269610715410251761330278199978272",
"153722803137833398265480213455066617339",
"327614667221587982455023392603274760507",
"196831333117642222827381802226018482305",
"133995269251504967730278773945171476978",
"285441448994568525852661582729842351340",
"155970960010149848680767531778362358025",
"63766471411029404359693701071215638766",
"72333059002286308139179472737245339579",
"215277888235995356521468314083281720927",
"37900234103888990141219796320131931199",
"32976794636485043603956857287497562630",
"261258654860301146368437976475255173385",
"8889800346589400796498216052467423183",
"15674048095355284780230174101989416478",
"108587633537507210242609878158511307392",
"169998970435316115829634692106769437213",
"27204179586545758826700693388995122757",
"211435811087735091190421509601420450980",
"337505205922433109820190916466291962990",
"248524098502121306409256900820049642635",
"54194119763115699749455785610819079604",
"144993411944796448055061504559562493804",
"294191374980818351976870953175789338572",
"40347403243550763024105596358203152424",
"120614663183215633399915228010645821154",
"273903323497335349394106781260107466926",
"160443006356638492969987937202092674289",
"120113744608246902794493861568607417540",
"245848800586794353039805139022404288317",
"265534942551536834517948804014192773737",
"33250792981070819944530462602665905092",
"116708671505558464945260738608004679844",
"230486163986389218464074672635310322656",
"125975613587573421608698127422527815431",
"206530332954999189621582960067541724771",
"132831785044592044224862557480635512270",
"167798217011561319061704155773717373551",
"35513548438718155868976702569386821557",
"142881544786862819467777063114753765137",
"131589428667367921975098729409401561757",
"67568945732035355148587220302238933239",
"155247257225226748002342220575228485649",
"254842749144287075601669340213193754309",
"110943771779186218563098071918317273564",
"94135965750041471311621137911152790312",
"253178483817645630985695351552628435057",
"197808203956515182201710726976874325739",
"301286180438202509172921816527936471903",
"188420664254365242592946178161955880242",
"96270026219237360064043552790941224768",
"24550591641827363719841945620594535466",
"148402105793243500616086249524771626367",
"256407961634518140486016045368313409267",
"109461083369750806174301922035547908088",
"18455706543790233562182833564768292810",
"154230641476263926122183168759884706321",
"210047975905829973764840348527312282038",
"165371524934950559538266452184704663413",
"52412251724398710498163016311308252819",
"31904224256508641483048886489392035896",
"173414470465636296420144253662913557410",
"124321259310318617410246074864707810987",
"237418389533407774299848131323937961087",
"256407961634518140486016045368313409267",
"109461083369750806174301922035547908088",
"18455706543790233562182833564768292810",
"235942141843229999929346209475241196798",
"129287614112139408432710334792471398267",
"3319119821427595887355018752850884566",
"316223741441592170983346205879884762827",
"334015085086141036468265973083128960060"
]
},
"id": "CVE-2024-40918-b541725d",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "225885321627075406892777835313831396419",
"length": 280.0
},
"id": "CVE-2024-40918-b8aa20b8",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "copy_user_highpage"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132833559615150792262231959979577247254",
"316010444175355585262857417749653311776",
"268788910427334964647367803714924182295",
"279911171602303534454204013294776276462",
"278336820763352459246294232500593896026",
"187852913929593466098608575677196296967",
"172377006357668084302371305944724759820",
"252570369848664947691687438060546933151",
"297031155474478643669811188623589764031",
"57575346670071374800905108277787600108",
"212575311318853972755551202104486556540",
"117385404814051993762470562866980707371",
"31654870607665880638798107080335521733",
"9403626383603098915336304888669803957",
"301862429300214719907076530604710822394",
"63755036545806779833650609172412556121",
"109302611927538694340304419108113611143",
"46021859222953786336316315181764633718",
"277560602843137946715346995304056182684",
"278052228230131374307621130575758010509",
"52043871498412848960518733357149066758"
]
},
"id": "CVE-2024-40918-cbabdecc",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/include/asm/pgtable.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132833559615150792262231959979577247254",
"316010444175355585262857417749653311776",
"268788910427334964647367803714924182295",
"279911171602303534454204013294776276462",
"278336820763352459246294232500593896026",
"187852913929593466098608575677196296967",
"172377006357668084302371305944724759820",
"252570369848664947691687438060546933151",
"297031155474478643669811188623589764031",
"57575346670071374800905108277787600108",
"212575311318853972755551202104486556540",
"117385404814051993762470562866980707371",
"31654870607665880638798107080335521733",
"9403626383603098915336304888669803957",
"301862429300214719907076530604710822394",
"63755036545806779833650609172412556121",
"109302611927538694340304419108113611143",
"46021859222953786336316315181764633718",
"277560602843137946715346995304056182684",
"278052228230131374307621130575758010509",
"52043871498412848960518733357149066758"
]
},
"id": "CVE-2024-40918-cdb98e65",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/include/asm/pgtable.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"4268383193753661047370575882693460697",
"277566652707102155065482359803054825538",
"32241371008754295695477560363174204766",
"112379772478090735135318897204692511489",
"5331385973530404909943138918435988020",
"314083300082995571149326002573502703076",
"136661230564901696313543516140147609656",
"238291378154048217475622433885495120504",
"331412588046504752312184939674059925725",
"295665145761212393570252778396012135277",
"185524117352467872075832944594005854214",
"56850417444958076739508439178539760985",
"217553916544408541870469391924567191922",
"246621116911348927602968681584143448729"
]
},
"id": "CVE-2024-40918-cf5f8fab",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/include/asm/cacheflush.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "225885321627075406892777835313831396419",
"length": 280.0
},
"id": "CVE-2024-40918-d1a4580a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "copy_user_highpage"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "317502059483326671194473861809283532391",
"length": 366.0
},
"id": "CVE-2024-40918-d31ffd67",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "invalidate_kernel_vmap_range"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "180222400326608484093059071807628091925",
"length": 1664.0
},
"id": "CVE-2024-40918-d57a01ec",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_dcache_folio"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "118173229835550666542553169898226240935",
"length": 283.0
},
"id": "CVE-2024-40918-ea9603ff",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "copy_to_user_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "173026408822043038283713935284367877766",
"length": 208.0
},
"id": "CVE-2024-40918-eb445c40",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "copy_from_user_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "73577427375428561865720710336050394456",
"length": 155.0
},
"id": "CVE-2024-40918-f07278f6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72d95924ee35c8cd16ef52f912483ee938a34d49",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "flush_kernel_dcache_page_addr"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "80543725102825967045821776720473627938",
"length": 269.0
},
"id": "CVE-2024-40918-f38105a3",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "__flush_cache_page"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "173026408822043038283713935284367877766",
"length": 208.0
},
"id": "CVE-2024-40918-f5b7524c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bf196f1936bf93df31112fbdfb78c03537c07b0",
"target": {
"file": "arch/parisc/kernel/cache.c",
"function": "copy_from_user_page"
}
}
]