CVE-2026-99214: drm/vc4: hdmi: Move packet RAM enable to PM runtime
In the Linux kernel, the following vulnerability has been resolved:
drm/vc4: hdmi: Move packet RAM enable to PM runtime
Audio can be triggered by the HPD handler and start up before video has been restored, calling vc4hdmiwriteinfoframe() for the audio infoframe. vc4hdmiwriteinfoframe() needs Packet RAM to be on to store the infoframe, however, if the video hasn't been enabled, vc4hdmiencoderpostcrtcenable() hasn't been called and therefore, the Packet RAM can be disabled by the time vc4hdmiwriteinfoframe() executes, causing the following splat:
[ 201.570266] ------------[ cut here ]------------ [ 201.570293] Packet RAM has to be on to store the packet. [ 201.570367] WARNING: drivers/gpu/drm/vc4/vc4hdmi.c:683 at vc4hdmiwriteinfoframe+0x404/0x494 [vc4], CPU#0: wireplumber/1606 [...] [ 201.658650] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT) [...] [ 201.758499] Call trace: [ 201.760967] vc4hdmiwriteinfoframe+0x404/0x494 [vc4] (P) [ 201.766607] vc4hdmiwriteaudioinfoframe+0x1c/0x28 [vc4] [ 201.772247] writeinfoframe+0xbc/0x140 [drmdisplayhelper] [ 201.777975] drmatomichelperconnectorhdmiupdateaudioinfoframe+0x80/0xdc [drmdisplayhelper] [ 201.787140] vc4hdmiaudioprepare+0x4ac/0x570 [vc4] [ 201.792252] drmconnectorhdmiaudioprepare+0x24/0x30 [drmdisplayhelper] [ 201.799390] hdmicodecprepare+0x100/0x160 [sndsochdmicodec] [ 201.805471] sndsocpcmdaiprepare+0xd4/0x100 [sndsoccore] [ 201.811375] socpcmprepare+0x60/0x12c [sndsoccore] [ 201.816752] socpcmprepare+0x34/0x58 [sndsoccore] [ 201.821863] sndpcmdoprepare+0x70/0x8c [sndpcm] [ 201.826798] sndpcmactionnonatomic+0xe4/0x174 [sndpcm] [ 201.832350] sndpcmprepare+0xc8/0xd8 [sndpcm] [ 201.837021] sndpcmcommonioctl+0x458/0x614 [sndpcm] [ 201.842308] sndpcmioctl+0x30/0x48 [sndpcm] [ 201.846802] arm64sysioctl+0x88/0xd8 [ 201.850769] invokesyscall+0x48/0xf4 [ 201.854470] el0svccommon+0x80/0xd8 [ 201.858171] doel0svc+0x1c/0x28 [ 201.861520] el0svc+0x3c/0xb0 [ 201.864605] el0t64synchandler+0x68/0xdc [ 201.868834] el0t64sync+0x198/0x19c [ 201.872536] ---[ end trace 0000000000000000 ]---
Considering that Packet RAM enable is essentially a power management configuration, move its enabling/disabling to the Runtime PM hooks.
Note that postcrtcdisable() still stops all infoframes, but keeps Packet RAM enabled, leaving it to be disabled by runtime suspend.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.115-2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.2.13-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.115-2~deb12u1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.115 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.59 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.2.13 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.3.0-10.10 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.3.0-1004.4 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 7.3.0-1004.4 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 7.3.0-1004.5 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.3.0-1004.4 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.3.0-1004.4 - Upgrade
Upgrade
ubuntu/linux-raspito a version that resolves this vulnerability.Fixed in 7.3.0-1004.4 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 7.3.0-10.10.1 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.3.0-10.10.1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.117-1Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.117-1~deb12u1 - Compensating control
Move vc4 HDMI Packet RAM enabling and disabling to the Runtime PM hooks.
Event History
Frequently Asked Questions
What condition triggers the warning?
The issue occurs when audio is started by the HDMI hot-plug-detect handler before video has been restored. In that sequence, the audio infoframe can be written while Packet RAM is disabled.
How can I tell whether a system is affected?
Affected systems can emit a kernel warning stating, “Packet RAM has to be on to store the packet,” from vc4_hdmi_write_infoframe(). The supplied trace shows the audio-infoframe path through drm_display_helper and the vc4 driver.
What systems are shown to be exposed?
The reported trace was produced on a Raspberry Pi 4 Model B Rev 1.5 using the vc4 HDMI driver. The provided data does not establish the full set of affected hardware beyond that example.
What should be done to remediate the issue?
Use a Linux kernel release that includes the referenced stable fixes. The fix moves Packet RAM enablement into runtime power management so it is available when the audio infoframe is written.