CVE-2024-40916

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-40916
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40916.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-40916
Related
Published
2024-07-12T13:15:14Z
Modified
2024-09-11T05:04:21.756072Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/exynos: hdmi: report safe 640x480 mode as a fallback when no EDID found

When reading EDID fails and driver reports no modes available, the DRM core adds an artificial 1024x786 mode to the connector. Unfortunately some variants of the Exynos HDMI (like the one in Exynos4 SoCs) are not able to drive such mode, so report a safe 640x480 mode instead of nothing in case of the EDID reading failure.

This fixes the following issue observed on Trats2 board since commit 13d5b040363c ("drm/exynos: do not return negative values from .get_modes()"):

[drm] Exynos DRM: using 11c00000.fimd device for DMA mapping operations exynos-drm exynos-drm: bound 11c00000.fimd (ops fimdcomponentops) exynos-drm exynos-drm: bound 12c10000.mixer (ops mixercomponentops) exynos-dsi 11c80000.dsi: [drm:samsungdsimhostattach] Attached s6e8aa0 device (lanes:4 bpp:24 mode-flags:0x10b) exynos-drm exynos-drm: bound 11c80000.dsi (ops exynosdsicomponentops) exynos-drm exynos-drm: bound 12d00000.hdmi (ops hdmicomponentops) [drm] Initialized exynos 1.1.0 20180330 for exynos-drm on minor 1 exynos-hdmi 12d00000.hdmi: [drm:hdmiphyenable.part.0] *ERROR* PLL could not reach steady state panel-samsung-s6e8aa0 11c80000.dsi.0: ID: 0xa2, 0x20, 0x8c exynos-mixer 12c10000.mixer: timeout waiting for VSYNC ------------[ cut here ]------------ WARNING: CPU: 1 PID: 11 at drivers/gpu/drm/drmatomichelper.c:1682 drmatomichelperwaitforvblanks.part.0+0x2b0/0x2b8 [CRTC:70:crtc-1] vblank wait timed out Modules linked in: CPU: 1 PID: 11 Comm: kworker/u16:0 Not tainted 6.9.0-rc5-next-20240424 #14913 Hardware name: Samsung Exynos (Flattened Device Tree) Workqueue: eventsunbound deferredprobeworkfunc Call trace: unwindbacktrace from showstack+0x10/0x14 showstack from dumpstacklvl+0x68/0x88 dumpstacklvl from _warn+0x7c/0x1c4 _warn from warnslowpathfmt+0x11c/0x1a8 warnslowpathfmt from drmatomichelperwaitforvblanks.part.0+0x2b0/0x2b8 drmatomichelperwaitforvblanks.part.0 from drmatomichelpercommittailrpm+0x7c/0x8c drmatomichelpercommittailrpm from committail+0x9c/0x184 committail from drmatomichelpercommit+0x168/0x190 drmatomichelpercommit from drmatomiccommit+0xb4/0xe0 drmatomiccommit from drmclientmodesetcommitatomic+0x23c/0x27c drmclientmodesetcommitatomic from drmclientmodesetcommitlocked+0x60/0x1cc drmclientmodesetcommitlocked from drmclientmodesetcommit+0x24/0x40 drmclientmodesetcommit from _drmfbhelperrestorefbdevmodeunlocked+0x9c/0xc4 _drmfbhelperrestorefbdevmodeunlocked from drmfbhelpersetpar+0x2c/0x3c drmfbhelpersetpar from fbconinit+0x3d8/0x550 fbconinit from visualinit+0xc0/0x108 visualinit from dobindcondriver+0x1b8/0x3a4 dobindcondriver from dotakeoverconsole+0x140/0x1ec dotakeoverconsole from dofbcontakeover+0x70/0xd0 dofbcontakeover from fbconfbregistered+0x19c/0x1ac fbconfbregistered from registerframebuffer+0x190/0x21c registerframebuffer from _drmfbhelperinitialconfigandunlock+0x350/0x574 _drmfbhelperinitialconfigandunlock from exynosdrmfbdevclienthotplug+0x6c/0xb0 exynosdrmfbdevclienthotplug from drmclientregister+0x58/0x94 drmclientregister from exynosdrmbind+0x160/0x190 exynosdrmbind from trytobringupaggregatedevice+0x200/0x2d8 trytobringupaggregatedevice from _componentadd+0xb0/0x170 _componentadd from mixerprobe+0x74/0xcc mixerprobe from platformprobe+0x5c/0xb8 platformprobe from reallyprobe+0xe0/0x3d8 reallyprobe from _driverprobedevice+0x9c/0x1e4 _driverprobedevice from driverprobedevice+0x30/0xc0 driverprobedevice from _deviceattachdriver+0xa8/0x120 _deviceattachdriver from busforeachdrv+0x80/0xcc busforeachdrv from _deviceattach+0xac/0x1fc _deviceattach from busprobedevice+0x8c/0x90 busprobedevice from deferredprobeworkfunc+0 ---truncated---

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.221-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1
5.10.84-1
5.10.92-1~bpo10+1
5.10.92-1
5.10.92-2
5.10.103-1~bpo10+1
5.10.103-1
5.10.106-1
5.10.113-1
5.10.120-1~bpo10+1
5.10.120-1
5.10.127-1
5.10.127-2~bpo10+1
5.10.127-2
5.10.136-1
5.10.140-1
5.10.148-1
5.10.149-1
5.10.149-2
5.10.158-1
5.10.158-2
5.10.162-1
5.10.178-1
5.10.178-2
5.10.178-3
5.10.179-1
5.10.179-2
5.10.179-3
5.10.179-4
5.10.179-5
5.10.191-1
5.10.197-1
5.10.205-1
5.10.205-2
5.10.209-1
5.10.209-2
5.10.216-1
5.10.218-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.99-1

Affected versions

6.*

6.1.27-1
6.1.37-1
6.1.38-1
6.1.38-2~bpo11+1
6.1.38-2
6.1.38-3
6.1.38-4~bpo11+1
6.1.38-4
6.1.52-1
6.1.55-1~bpo11+1
6.1.55-1
6.1.64-1
6.1.66-1
6.1.67-1
6.1.69-1~bpo11+1
6.1.69-1
6.1.76-1~bpo11+1
6.1.76-1
6.1.82-1
6.1.85-1
6.1.90-1~bpo11+1
6.1.90-1
6.1.94-1~bpo11+1
6.1.94-1
6.1.98-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.9.7-1

Affected versions

6.*

6.1.27-1
6.1.37-1
6.1.38-1
6.1.38-2~bpo11+1
6.1.38-2
6.1.38-3
6.1.38-4~bpo11+1
6.1.38-4
6.1.52-1
6.1.55-1~bpo11+1
6.1.55-1
6.1.64-1
6.1.66-1
6.1.67-1
6.1.69-1~bpo11+1
6.1.69-1
6.1.76-1~bpo11+1
6.1.76-1
6.1.82-1
6.1.85-1
6.1.90-1~bpo11+1
6.1.90-1
6.1.94-1~bpo11+1
6.1.94-1
6.1.98-1
6.1.99-1
6.1.106-1
6.1.106-2
6.1.106-3
6.3.1-1~exp1
6.3.2-1~exp1
6.3.4-1~exp1
6.3.5-1~exp1
6.3.7-1~bpo12+1
6.3.7-1
6.3.11-1
6.4~rc6-1~exp1
6.4~rc7-1~exp1
6.4.1-1~exp1
6.4.4-1~bpo12+1
6.4.4-1
6.4.4-2
6.4.4-3~bpo12+1
6.4.4-3
6.4.11-1
6.4.13-1
6.5~rc4-1~exp1
6.5~rc6-1~exp1
6.5~rc7-1~exp1
6.5.1-1~exp1
6.5.3-1~bpo12+1
6.5.3-1
6.5.6-1
6.5.8-1
6.5.10-1~bpo12+1
6.5.10-1
6.5.13-1
6.6.3-1~exp1
6.6.4-1~exp1
6.6.7-1~exp1
6.6.8-1
6.6.9-1
6.6.11-1
6.6.13-1~bpo12+1
6.6.13-1
6.6.15-1
6.6.15-2
6.7-1~exp1
6.7.1-1~exp1
6.7.4-1~exp1
6.7.7-1
6.7.9-1
6.7.9-2
6.7.12-1~bpo12+1
6.7.12-1
6.8.9-1
6.8.11-1
6.8.12-1~bpo12+1
6.8.12-1
6.9.2-1~exp1
6.9.7-1~bpo12+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}