News for hackers. Stuff that matters.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by WatchDog on Friday April 01, 2022 @02:15AM (#30875639)
What is AppleAVD? Audio video decode?
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by saagarjha on Friday April 01, 2022 @05:21AM (#30876468)
It's a kext for decoding HEVC, H.264, and VP9.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by LeoNatan25 on Friday April 01, 2022 @09:53AM (#30878065)
Sounds to me like a terrible OS design, to have such arbitrary things as video decoding, require a kernel extension. Microsoft move drivers, such as GPU, to user space, to escape exactly issues like these. This is likely done for the sake of DRM, which is even worse.

But SiDeLoADiNg is what is threatening users’ security.

Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by gjsman-1000 on Friday April 01, 2022 @10:33AM (#30878438)
This is how macOS is designed. macOS has over 100 kexts in a fresh install (IIRC) to keep the main kernel as small and error-free as reasonably possible without being a full microkernel and taking the performance hit that causes. This makes it a Hybrid kernel, neither a full microkernel (safety at cost of performance) or monolithic kernel (performance at cost of safety).

Other hybrid kernels include Windows and BeOS, though on Windows the kernel/extension separation is less clearly defined.

https://en.wikipedia.org/wiki/Hybrid_kernel

> "Microsoft move drivers, such as GPU, to user space, to escape exactly issues like these. This is likely done for the sake of DRM, which is even worse."

Heck... NO. Drivers are still in kernel space like ever. I don't know where you got that impression. Windows isn't a microkernel, it's got plenty of kernel drivers for everything. Only UMDF Drivers are userspace, and while there are many of them, none of them are as complex as a GPU. A GPU Driver in userspace on Windows would be massively performance bottlenecked. Microsoft even states in their documentation "File system drivers, display drivers (for full display devices, not display-only display devices), and print drivers cannot be UMDF drivers."

https://docs.microsoft.com/en-us/windows-hardware/drivers/wd...

Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by LeoNatan25 on Friday April 01, 2022 @11:29AM (#30879177)
Yes, and display drivers are in large part in user mode too:

https://docs.microsoft.com/en-us/windows-hardware/drivers/di...

This has been the case since Windows Vista WDDM.

Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by my123 on Friday April 01, 2022 @01:59PM (#30881251)
So they are on Linux, macOS and other platforms. In fact the DirectX in kernel model used by Windows XP and earlier was the anomaly by modern terms.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by LeoNatan25 on Friday April 01, 2022 @02:40PM (#30881799)
I don’t understand why you argue with me. Moving the user-space is good. My point is that the direction should be moving to user-space, not tacking more and more on the kernel, especially for silly things such as DRM.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by ocdtrekkie on Friday April 01, 2022 @10:09AM (#30878218)
You realize it's common for PCs to have entire dedicated hardware circuitry for this, right? The HEVC support for Windows 10 depends on hardware support, for instance. And the decoding for 4K Blu-rays is actually being dropped by Intel chips, which means desktop platforms are losing the ability to decide their encryption.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by soraminazuki on Friday April 01, 2022 @09:34PM (#30885114)
Which OS kernel doesn't provide video decoding capabilities nowadays? At least Linux does, and most likely Windows too.

> This is likely done for the sake of DRM

The reason is hardware acceleration. No sane OS vendor is going to place every single piece of code in the kernel where DRM is involved.

> But SiDeLoADiNg

Not disagreeing, but do you have to bring it up on every single issue? I don't see the connection here.

Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by thetinguy on Friday April 01, 2022 @10:02AM (#30878166)
> Sounds to me like a terrible OS design, to have such arbitrary things as video decoding, require a kernel extension

Why?

Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by LeoNatan25 on Friday April 01, 2022 @11:36AM (#30879259)
For exactly the reason they have to patch it. For exactly the same reason they are now disallowing custom kernel extensions. Apple engineers are not perfect machines, writing perfect code without issues. And so, here we are. Years in the wild exploit in a kernel extension for decoding h264. Ridiculous.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by bobabob on Friday April 01, 2022 @05:16AM (#30876444)
It's a kernel extension for audio and video decoding. /System/Library/Extensions/AppleAVD.kext/
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by SeanDMiddleton on Tuesday April 05, 2022 @04:16AM (#30916518)
Thanks for answering the question bobabob.
Re:About the security content of iOS 15.4.1 and iPadOS 15.4.1 by tlokas on Friday April 01, 2022 @04:18AM (#30876198)
This is a shot in the dark, but could it be Azure Virtual Desktop for iOS?