Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

Linux is now 'fully usable' on Apple Silicon M1 Macs

Credit: Chris Wade/Corellium

Last updated

Security researchers at Corellium have ported a version of Linux to the Apple Silicon M1 chip that will ultimately be released under an open-source license.

The Linux version is a full Ubuntu desktop operating system booted from a USB, according to Corellium Chief Technology Officer Chris Wade. Although details are scarce, he said that Linux is now "completely usable" on Apple Silicon machines.

Network compatibility is possible through a USB-C dongle, and the current update to the platform will support USB, I2C, and DART. The Ubuntu operating system is one initially meant for the ARM-based Raspberry Pi, Wade added.

There are some limitations to the port. While it can take full advantage of the M1 CPU, it won't support GPU acceleration. That means graphics are currently set to software rendering mode, which will mean much slower graphical performance versus native performance in macOS.

The Corellium team first teased the Linux port to Apple Silicon earlier in January, though offered few other details. Earlier versions of the port on Github were for "advanced users only," since they lacked support for USB and other key systems.

Members of the team that developed the checkra1n jailbreak for iPhone devices also worked on the Linux port, including security researchers Longhorn and qwertyoruiopz. On Friday, Longhorn said that the Linux port is "very promising," but noted that more invasive kernel changes would be needed because the system-on-chip is "atypical."

Wade also noted that users may be able to boot Linux on an Apple Silicon chip using pongoOS, which is a pre-boot execution environment built on top of checkra1n. The checkra1n jailbreak itself takes advantage of the checkm8 exploit that was discovered in 2019.

On Jan. 16, qwertyoruiopz tweeted several images of pongoOS booting on an M1 Mac.

Corellium is a software virtualization firm focused on emulating ARM-based technologies. The firm is also known for its legal battle with Apple. The Cupertino tech giant levied a copyright infringement lawsuit against Corellium in 2019 because of its iOS emulation software. In December 2020, Apple lost that lawsuit.

As of writing, Corellium has pushed the latest changes to the Linux for M1 port to its Github account. Wade also said that a tutorial would be arriving on Friday.



13 Comments

zimmie 651 comments · 9 Years

I wonder how they are able to load the kernel image at all. The tutorial should answer, but from the mention of pongoOS, I suspect they are exploiting some flaw in the secure boot process itself to load an arbitrary image and pass execution to it.

Reading through the commit for DART support, it looks like Apple did indeed design their own IOMMU core rather than using ARM's reference SMMU.

therunningvm 96 comments · 8 Years

zimmie said:
I wonder how they are able to load the kernel image at all. The tutorial should answer, but from the mention of pongoOS, I suspect they are exploiting some flaw in the secure boot process itself to load an arbitrary image and pass execution to it.

Reading through the commit for DART support, it looks like Apple did indeed design their own IOMMU core rather than using ARM's reference SMMU.

Apple opened up the tooling to load custom kernels on Apple Silicon.

wood1208 2938 comments · 10 Years

One good news after other for "M" Macs.

rotateleftbyte 1630 comments · 12 Years

'usable' is to me, a slightly ambiguous term.
It is one thing to boot a USB image but real usability for me is when you can install the Linux software on the internal Storage and then boot from it.

Still, it is early days yet.