Android security tags, read closely by Lightrion

CVE-2026-28643 AI-generated analysis

platform/frameworks/base, VirtualDeviceManager service (services/companion, com.android.server.companion.virtual.VirtualDeviceImpl)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (2 corrections). Verify against the commit before relying on it.

Adds caller-ownership checks to four VirtualDeviceImpl methods (setListeners, close, getVirtualCameraId, playSoundEffect) so that only the virtual device owner can invoke them. In the final Android 16 form the system UID is also allowed, and apps running on the device may play sound effects. This stops a non-owner from closing or reconfiguring another process's virtual device.

Root cause

In services/companion/java/com/android/server/companion/virtual/VirtualDeviceImpl.java, three Binder-call methods (setListeners(), close() and getVirtualCameraId()) and the package-private playSoundEffect() did not check that the calling UID is the device owner (mOwnerUid). Any process holding the IVirtualDevice binder could call close() to tear down a virtual device it did not create (the bulletin classifies the CVE as a High DoS). It could also replace the activity and sound-effect listeners with its own, or query the virtual camera id. The class already had a checkCallerIsDeviceOwner() helper, but these methods did not call it. playSoundEffect() also dereferenced mSoundEffectListener without a null check.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings