#
…

2022-06-24

00:06nicolas17as I understand it, the vulnerability is achieving code execution in the DCP
00:08nicolas17and the fact that the DCP can "just call into the AP and ask nicely" wasn't mentioned as a vulnerability, yet arguably it is
00:13marcanthe other part of it is the DCP directly handling userspace requests at effectively the ioctl level
00:13marcanwhich our driver also doesn't do
00:13marcanthat's how they jump from userspace to DCP in the first place
00:20nicolas17when the iomobileframebuffer vuln was found, it was only (publicly) exploited on older devices, because on newer ones the vulnerable code was moved to the DCP (the trivial PoC crashed the DCP instead of the XNU kernel)
00:21nicolas17"would it be possible to take over the DCP with that, and then pivot back to the AP?" "given the awful RPC interface marcan discovered, probably"
00:22nicolas17"but it would be a lot of work" and now it turns out it was achieved by a malicious actor...
00:26nicolas17ok time to push through the adhd and update theiphonewiki for beta 2
00:27marcanthat said,
00:27marcanthis needs an integer overflow check
00:27marcanprobably doesn't matter since I don't see that being exploitable
00:27marcanbut good hygiene
00:28marcan(disclaimer: I haven't audited this driver yet :p)
00:28marcan(also we're not shipping it yet)
00:34nicolas17function pointer syntax is so ugly... would dcpep_cb_handlers benefit from a typedef? it's hard to tell if the const is in the right place there
01:01luke has quit [Ping timeout: 480 seconds]
01:04witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:31riker77_ has joined #asahi
01:31dsrt^ has joined #asahi
01:36riker77 has quit [Ping timeout: 480 seconds]
01:36riker77_ is now known as riker77
02:22linusmaxwell[m] has joined #asahi
02:26PhilippvK has joined #asahi
02:29phiologe has quit [Ping timeout: 480 seconds]
02:49Mary has joined #asahi
03:19ciggi has quit [Read error: Connection reset by peer]
03:23ciggi has joined #asahi
04:01marvin24_ has joined #asahi
04:04marvin24 has quit [Ping timeout: 480 seconds]
05:11gladiac has joined #asahi
05:37the_lanetly_052 has joined #asahi
05:42psykose has quit [Remote host closed the connection]
05:42psykose has joined #asahi
05:52eroux has joined #asahi
06:12dsrt^ has quit [Ping timeout: 480 seconds]
06:17dsrt^ has joined #asahi
06:23nicolas17 has quit [Quit: Konversation terminated!]
06:45dsrt^ has quit [Ping timeout: 480 seconds]
07:03miko has joined #asahi
07:05millenialhacker has joined #asahi
07:35the_lanetly_052__ has joined #asahi
07:39the_lanetly_052 has quit [Ping timeout: 480 seconds]
07:43MajorBiscuit has joined #asahi
08:11psykose has quit [Remote host closed the connection]
08:12psykose has joined #asahi
09:00MoteenShah[m] has joined #asahi
09:11miko has quit [Quit: WeeChat 3.5]
09:16the_lanetly_052__ has quit [Ping timeout: 480 seconds]
10:12Akram has joined #asahi
10:12Akram is now known as Akram2
10:21Akram2 has quit [Ping timeout: 480 seconds]
10:43fautore has joined #asahi
10:44luke has joined #asahi
10:59luke has quit [Remote host closed the connection]
10:59luke has joined #asahi
11:03fautore has quit [Remote host closed the connection]
11:08dsrt^ has joined #asahi
11:10luke has quit [Remote host closed the connection]
11:10luke has joined #asahi
11:32dsrt^ has quit [Ping timeout: 480 seconds]
12:10dsrt^ has joined #asahi
12:23LunaFoxgirlVT has joined #asahi
12:51dsrt^ has quit [Ping timeout: 480 seconds]
12:58L1Q has joined #asahi
13:11millenialhacker has quit [Remote host closed the connection]
13:13millenialhacker has joined #asahi
13:21millenialhacker has quit [Ping timeout: 480 seconds]
13:24LunaFoxgirlVT has quit [Quit: Leaving]
13:28eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:31dsrt^ has joined #asahi
13:43the_lanetly_052 has joined #asahi
13:45jluthra has quit [Remote host closed the connection]
13:46jluthra has joined #asahi
13:49millenialhacker has joined #asahi
13:53ptudor has quit [Remote host closed the connection]
13:54ptudor has joined #asahi
13:59millenialhacker has quit [Ping timeout: 480 seconds]
14:02eroux has joined #asahi
14:12luke has quit [Ping timeout: 480 seconds]
14:18millenialhacker has joined #asahi
14:30millenialhacker has quit [Ping timeout: 480 seconds]
14:33luke has joined #asahi
14:36qeeg has quit [Remote host closed the connection]
14:41luke has quit [Ping timeout: 480 seconds]
14:46luke has joined #asahi
15:06qeeg has joined #asahi
15:22guillaume_g has quit []
15:29Gaspare has joined #asahi
15:53millenialhacker has joined #asahi
16:05millenialhacker has quit [Ping timeout: 480 seconds]
16:11Gaspare has quit [Quit: Gaspare]
16:18dabaum|2er0 has joined #asahi
16:28MajorBiscuit has quit [Ping timeout: 480 seconds]
16:40j`ey5am utc zzzz
16:41marcanyou know it's going to go on for 10h
16:45j`eyfair! exciting
16:46jannauI guess it will be kind of slow in the beginning anyway. Rebooting a couple of times into macos recovery until chainloading works
16:46bpye has joined #asahi
16:46nicolas17 has joined #asahi
16:53ptudor_ has joined #asahi
16:58jannaunicolas17: comes with finished software, macOS 12.4
16:58marcanchainloading might work first try tbh, with MMUs off and serial only
16:58marcannot much to go wrong there
16:58ptudor has quit [Ping timeout: 480 seconds]
16:59marcanI should actually make a #define BRINGUP for that
17:01marcanI might also get the chicken sequence done before the stream, because that is boring as heck to watch
17:02marcan(just reversing it, not trying anything)
17:08Gaspare has joined #asahi
17:12toranosora[m] has left #asahi [#asahi]
17:12nicolas17jannau: the Mac Studio shipped with 12.2 21D2048, but the publicly available 12.2 release was 21D49
17:13nicolas17same has happened on iPhones, the public release of iOS 15.0 is 19A346, but iPhone 13 Pro has been reported to come with 19A341 or 19A345 out of the box
17:15millenialhacker has joined #asahi
17:15jannauyes, but 12.3 was immediately available for update
17:16jannaubuild is 21f2081
17:17nicolas17ha, thanks
17:17nicolas17yeah they did something weird this time
17:18nicolas17they released 21F2081, with the ipsw supporting both M1 and M2 (although the ipsw list used by Apple Configurator only mentioned it for M2, so restoring M1 machines would still get 21F79)
17:18nicolas17two days later they released 21F2092 supporting only M2
17:19nicolas17and all three are numbered "12.4"
17:21jannausystem has an install date of 2022-05-26, so it's possible that this is the same 12.4 as for the m1 devices
17:22nicolas17apparently it comes from a different branch (to avoid leaking info about hardware early), the BuildTrain is "StarFHW" instead of "StarF"
17:23millenialhacker has quit [Ping timeout: 480 seconds]
17:25jannaumacOS "system information" still lists keyboard/trackpad under SPI
17:26the_lanetly_052__ has joined #asahi
17:32the_lanetly_052 has quit [Ping timeout: 480 seconds]
17:36witchbutter has joined #asahi
17:43millenialhacker has joined #asahi
17:52millenialhacker has quit [Ping timeout: 480 seconds]
17:52witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:52dsrt^ has quit [Ping timeout: 480 seconds]
17:58witchbutter has joined #asahi
18:09the_lanetly_052__ has quit [Ping timeout: 480 seconds]
18:10dsrt^ has joined #asahi
18:26vmeson has quit [Read error: Connection reset by peer]
18:29vmeson has joined #asahi
18:39___nick___ has joined #asahi
19:05skipwich has joined #asahi
19:15millenialhacker has joined #asahi
19:23___nick___ has quit []
19:23millenialhacker has quit [Ping timeout: 480 seconds]
19:24___nick___ has joined #asahi
19:25___nick___ has quit []
19:27___nick___ has joined #asahi
19:28amarioguym2 msr dump when /s
19:31Gaspare has quit [Quit: Gaspare]
19:40skipwich has quit [Ping timeout: 480 seconds]
19:42skipwich has joined #asahi
19:49MajorBiscuit has joined #asahi
19:55nicolas17looks like 12.5 beta 4 just came out, with M2 support (beta 3 still didn't have it)
20:01Gaspare has joined #asahi
20:02MajorBiscuit has quit [Ping timeout: 480 seconds]
20:04skipwich has quit [Quit: DISCONNECT]
20:04skipwich has joined #asahi
20:06skipwich has quit []
20:07millenialhacker has joined #asahi
20:07skipwich has joined #asahi
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:09jannauamarioguy: (mrs(ID_AA64MMFR2_EL1) >> 24) & 0xf = 0x2
20:13amarioguyah so nested virt *is* on m2 now lol good to know
20:13j`eyjannau: wait wut, you have the m2 already?
20:15millenialhacker has quit [Ping timeout: 480 seconds]
20:15amarioguyj'ey: m2 mbp exists
20:15j`eyyes but i didn't know jannau got one
20:17jannauamarioguy: that was what wanted to know, right
20:19amarioguyjannau: that was something i did want to account for yes
20:20amarioguywas also wondering if apple added other things to m2 via MSRs or anything like that (waiting on the m2 mba to release that's why i'm not able to probe myself lol)
20:23nicolas17amarioguy: I think marcan already got the mbp too
20:31mpshm, touchbar on m2 mbp
20:34amarioguynicolas17: yea ofc marcan would need this stuff asap lol
20:35j`eymonday stream >:D
21:06rowang077[m]Is it possible to undervolt/overvolt and overclock M1/M2 macbooks at all?
21:07Catyre_ has joined #asahi
21:10eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:11Catyre__ has joined #asahi
21:13millenialhacker has joined #asahi
21:14Catyre has quit [Ping timeout: 480 seconds]
21:16Gaspare has quit [Quit: Gaspare]
21:17Catyre_ has quit [Ping timeout: 480 seconds]
21:20MajorBiscuit has joined #asahi
21:22millenialhacker has quit [Ping timeout: 480 seconds]
21:26skoobasteeve has joined #asahi
21:27skoobasteeve has quit []
21:27skoobasteeve has joined #asahi
21:30MichaelMesser[m]I don't think anyone discovered anything related to overclocking.
21:31MichaelMesser[m]The problem is if Apple doesn't use something, is less likely to exist in hardware. Even if it does it is harder to discover.
21:31Guest3173 has joined #asahi
21:39MajorBiscuit has quit [Ping timeout: 480 seconds]
21:51Catyre has joined #asahi
21:57Catyre__ has quit [Ping timeout: 480 seconds]
22:00Catyre has quit []
22:05Mrmaxmeier has joined #asahi
22:12dsrt^ has quit [Ping timeout: 480 seconds]
22:27Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
22:28Mrmaxmeier has joined #asahi
22:29Catyre has joined #asahi
22:31CatyreWhen I try to connect to my wifi network, Asahi seems to hang indefinitely. I have not had this problem connecting to other networks before. Any idea why this might be happening?
22:53dsrt^ has joined #asahi
23:09Catyre_ has joined #asahi
23:10skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:12Catyre__ has joined #asahi
23:14skoobasteeve has joined #asahi
23:15Catyre has quit [Ping timeout: 480 seconds]
23:17Catyre_ has quit [Ping timeout: 480 seconds]
23:21Catyre__ has quit [Remote host closed the connection]
23:22Catyre has joined #asahi
23:24Catyre has quit [Remote host closed the connection]
23:24Catyre has joined #asahi
…