Bafumanise ukuba semngciphekweni kwi-Android 14 kwisitaki seBluetooth LE

Umngcipheko

Ukuba zixhatshaziwe, ezi ziphene zinokuvumela abahlaseli ukuba bafumane ukufikelela okungagunyaziswanga kulwazi olubuthathaka okanye ngokubanzi babangele iingxaki.

Iindaba zisanda kubhengezwa ngabaphuhlisi beprojekthi yeGrapheneOS, malunga ne-vUkuba sesichengeni kuchongiwe kwi-Android 14 kwisitaki seBluetooth LE, impazamo ingenxa yenkohlakalo yememori evezwe kwi-Android 14 QPR2.

Kulabo abangaziyo malunga neGrapheneOS, kuya kufuneka wazi ukuba le yiprojekthi ephuhlisa uguqulelo olukhuselekileyo lwesiseko sekhowudi ye-AOSP, kwaye ngabo babona ubuthathaka kwi-Bluetooth stack ye-Android 14 abayikhankanyileyo ukuba ingasetyenziswa. kwaye ivumela ukuba ikhokele ekuphunyezweni kwekhowudi ekude.

Ngokumalunga nokuba sesichengeni, Abaphuhlisi beGrapheneOS bakhankanya ukuba oku kuvela ekufikeleleni kwindawo yenkumbulo ekhululwe ngaphambili, eyaziwa ngokuba yi "use-after-free." Ingxaki ilele kwikhowudi enoxanduva lokucubungula iaudio ehanjiswa ngeBluetooth LE.

Inkxaso yethu yokuthegiswa kwememori yehardware yePixel 8 kunye nePixel 8 Pro ifumene ibug yorhwaphilizo yememori eyaziswa kwi-Android 14 QPR2 yeBluetooth LE. Ngoku siphanda ukufumanisa indlela yokulungisa okanye ukuvala okwethutyana into esanda kwaziswa njengendlela yokusebenza.

Ukuchongwa kobu buthathaka kungenxa yenxalenye yokuphunyezwa kokhuseleko olongezelelweyo usebenzisa umsebenzi onzima we-malloc, esebenzisa ulwandiso lwe-ARMv8.5 MTE. Olu lwandiso lukuvumela ukuba unikeze iileyibhile kumsebenzi ngamnye wokwabiwa kwememori kwaye wenze iitshekhi zokuqinisekisa ukusetyenziswa okuchanekileyo kwezikhombisi, ngaloo ndlela unqanda ukuxhaphazwa kobuthathaka obunxulumene nokufikelela kwimemori ekhululiweyo, ukuphuphuma kwebuffer, ukufowunela imisebenzi phambi kokuba kuqaliswe kwaye nokusetyenziswa ngaphandle kwangoku. umxholo.

Le mpazamo iqale ukuvela emva kokuhlaziya kwi-Android 14 QPR2 (uguqulelo lweqonga lwekota), yasungulwa ekuqaleni kukaMatshi. Kwisiseko sokukhutshwa kwekhowudi ye-Android 14, ukusebenza kwe-MTE kuyafumaneka njengokhetho kodwa ayikavulwa ngokuzenzekelayo.

Nangona kunjalo, kwi-GrapheneOS, ukhuseleko lwe-MTE lwenziwe ukuba lunikeze umaleko owongezelelweyo wokhuseleko, ovumele ukuba i-bug ichongwe emva kohlaziyo lwe-Android 14 QPR2. Le bug ibangele iingozi xa usebenzisa ii-headsets zeBluetooth ze-Samsung Galaxy Buds2 Pro nge-firmware eyenza ukhuseleko olusekwe kwi-MTE. Uhlalutyo olulandelayo lwesiganeko ibonise ukuba ingxaki yayinxulumene nofikelelo lwememori ekhululekileyo kumqhubi weBluetooth LE, kwaye ayizange ibangelwe kukudityaniswa komsebenzi we-MTE ngokwayo.

Kwicala lezisombululo ezinokwenzeka ukuba sesichengeni, abaphuhlisi beGrapheneOS Bakhankanya ukuba ukukhubaza ukuthegiswa kwememori kule nkqubo ayisosisombululo enye indlela eyamkelekileyo nakwixesha elifutshane kuba iyindawo yohlaselo ebalulekileyo, nokuba le ntsholongwane iyasebenziseka okanye hayi. Oku kwenzeka kuphela ngezixhobo ezithile zeBluetooth LE, ayizizo zonke izixhobo zeBluetooth.

Ubuthathaka obukhankanyiweyo iye yasonjululwa la Inguqulelo yeGrapheneOS 2024030900. Okubalulekileyo, obu buthathaka buchaphazela iinguqulelo ze-smartphone ezingenalo ukhuseleko olongezelelweyo lwehardware esekwe kulwandiso lwe-MTE. Okwangoku, ulwandiso lwe-MTE lunikwe amandla kuphela kwiPixel 8 kunye nePixel 8 Pro izixhobo.

Siphuhlise isiqwenga se-Android 2 QPR14 ukusetyenziswa emva kokukhutshwa kwebug esiyifumene ngeBluetooth LE. Eyona nto iphambili kuthi kukukhupha inguqulelo yeGrapheneOS ngolungiso lwethu kungekudala kwaye siza kuyixela njengempazamo yokhuseleko lwe-Android. Oku kufuneka kuzisombulule uhla lwe-audio ye-BLE.

Ukuba sesichengeni kuye kwabonwa kwii-smartphones zikaGoogle Pixel 8 ezine-firmware esekwe kwi-Android 14 QPR2. Kwizixhobo zothotho lwePixel 8, kuyenzeka ukwenza imowudi ye-MTE isebenze kwisetingi zomphuhlisi. Oku kunokwenziwa ngokuya “kwiSettings/System/Developer Options/Memory Labeling Extensions”. Kubalulekile ukuqaphela ukuba ukwenza i-MTE kubangele ukonyuka kokusetyenziswa kwememori malunga ne-3%, kodwa akuchaphazeli ukusebenza kwesixhobo.

Ekugqibeleni ewe unomdla wokwazi ngakumbi ngayo, ungajonga iifayile ze- iinkcukacha kwikhonkco elilandelayo.


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Inoxanduva lwedatha: I-AB Internet Networks 2008 SL
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.