CVE-2024-35950: Linux kernel · drm/client: Fully protect modes[] with dev->mode_config.mutex
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1128.138~18.04.1 : patch Linux kernel soon.
Data as of 6 Nov 2026, 15:17 UTC
- Patch
- Available – fixed in 5.4.0-1128.138~18.04.1, 5.4.0-1133.140~18.04.1, 5.4.0-1132.141~18.04.1 +68
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-4 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple updated Linux kernel versions, including those for Ubuntu Azure and other distributions. Users should apply the official kernel updates provided by their vendor and reboot the system to ensure the fix is applied. No additional mitigations are required beyond applying the official fixes.
Description
CVE-2024-35950 is a vulnerability in the Linux kernel's Direct Rendering Manager (DRM) client code where the modes[] array is not fully protected by the dev->mode_config.mutex. This can lead to use-after-free conditions as the pointers in modes[] may reference freed or reused memory. The issue has been fixed in multiple patched Linux kernel versions.
References
- ubuntu.com/security/CVE-2024-35950 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-35950 (opens in a new tab)
- git.kernel.org/linus/3eadd887dbac1df8f25f701e5d404d1b90fd0fea (opens in a new tab)
- git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e (opens in a new tab)
- git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0 (opens in a new tab)
- git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949 (opens in a new tab)
- git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055 (opens in a new tab)
- git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984 (opens in a new tab)
- git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764 (opens in a new tab)
- git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6896-5 (opens in a new tab)