Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-52486

published high CVSS 3.1 · 7.8

drm: Don't unref the same fb many times by mistake due to deadlock handling

Published
29 Feb 2024, 15:52:06 UTC
Updated
05 Aug 2026, 09:10:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux29dc0d1de18239cf3ef8bab578b8321ed340d81c to < 376e21a9e4c2c63ee5d8d3aa74be5082c3882229 · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < 9dd334a8245011ace45e53298175c7b659edb3e7 · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < f55261469be87c55df13db76dc945f6bcd825105 · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < b4af63da9d94986c529d74499fdfe44289acd551 · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < 62f2e79cf9f4f47cc9dea9cebdf58d9f7b5695e0 · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < d7afdf360f4ac142832b098b4de974e867cc063c · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < bfd0feb1b109cb63b87fdcd00122603787c75a1a · 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < cb4daf271302d71a6b9a7c01bd0b6d76febd8f0c · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.12 (affected) · 0 to < 4.12 (unaffected · semver) · 4.19.307 through 4.19.* (unaffected · semver) · 5.4.269 through 5.4.* (unaffected · semver) · 5.10.210 through 5.10.* (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.76 through 6.1.* (unaffected · semver) · 6.6.15 through 6.6.* (unaffected · semver) · 6.7.3 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2024-2549 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-053 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-039 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-062 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian bullseye linux Advisory build 5.10.216-1 DSA-5681-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-517 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian buster linux Advisory build 4.19.316-1 DLA-3840-1
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-372.115.1.el8_6 RHSA-2024:5065
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-477.70.1.el8_8 RHSA-2024:6206

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: drm: Don't unref the same fb many times by mistake due to deadlock handling If we get a deadlock after the fb lookup in drm_mode_page_flip_ioctl() we proceed to unref the fb and then retry the whole thing from the top. But we forget to reset the fb pointer back to NULL, and so if we then get another error during the retry, before the fb lookup, we proceed the unref the same fb again without having gotten another reference. The end result is that the fb will (eventually) end up being freed while it's still in use. Reset fb to NULL once we've unreffed it to avoid doing it again until we've done another fb lookup. This turned out to be pretty easy to hit on a DG2 when doing async flips (and CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y). The first symptom I saw that drm_closefb() simply got stuck in a busy loop while walking the framebuffer list. Fortunately I was able to convince it to oops instead, and from there it was easier to track down the culprit.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

59

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is in drm_mode_page_flip_ioctl(), reached only via the local DRM_IOCTL_MODE_PAGE_FLIP ioctl on a primary DRM node (/dev/dri/card*), not via network packet processing. AC:L - A DRM master can reliably induce the required ww_mutex -EDEADLK path by issuing concurrent modeset ioctls (PAGE_FLIP/ATOMIC/SETCRTC/SETPLANE) from multiple threads, controlling both sides of the lock contention; CONFIG_DEBUG_WW_MUTEX_SLOWPATH only makes this easier, it is not required. PR:L - The ioctl is gated by DRM_MASTER, not CAP_SYS_ADMIN/DRM_ROOT_ONLY; an unprivileged seat/video-group user or compositor becomes master on first open or via logind/lease and can invoke page flips. UI:N - The attacker triggers the vulnerability directly with their own DRM ioctls; no separate victim action is required. S:U - The use-after-free corrupts kernel memory in the same OS/security authority (local privilege escalation / kernel compromise), with no VM/IOMMU boundary crossing. C:H - The double drm_framebuffer_put() frees a still-in-use drm_framebuffer, yielding a classic kernel heap UAF that can be sprayed and abused for arbitrary reads of kernel memory. I:H - The same framebuffer UAF enables heap reuse and write primitives against kernel objects, supporting control-flow hijacking or arbitrary kernel writes. A:H - The premature free of an in-use framebuffer causes kernel oopses, hangs (e.g. drm_closefb busy-loop), or other crashes as observed in the fix commit.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 29dc0d1de18239cf3ef8bab578b8321ed340d81c to < 376e21a9e4c2c63ee5d8d3aa74be5082c3882229 (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < 9dd334a8245011ace45e53298175c7b659edb3e7 (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < f55261469be87c55df13db76dc945f6bcd825105 (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < b4af63da9d94986c529d74499fdfe44289acd551 (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < 62f2e79cf9f4f47cc9dea9cebdf58d9f7b5695e0 (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < d7afdf360f4ac142832b098b4de974e867cc063c (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < bfd0feb1b109cb63b87fdcd00122603787c75a1a (affected · git)29dc0d1de18239cf3ef8bab578b8321ed340d81c to < cb4daf271302d71a6b9a7c01bd0b6d76febd8f0c (affected · git)Default: unaffected Linux · cna
Linux Linux 4.12 (affected)0 to < 4.12 (unaffected · semver)4.19.307 through 4.19.* (unaffected · semver)5.4.269 through 5.4.* (unaffected · semver)5.10.210 through 5.10.* (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.76 through 6.1.* (unaffected · semver)6.6.15 through 6.6.* (unaffected · semver)6.7.3 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

3

Linux · cna

drm: Don't unref the same fb many times by mistake due to deadlock handling

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
a8ec60e7418fe102a0d845700dcb0cfa1afae0d631dc26f859ab477a15d6e5b4
Ingested
23 Sep 2026, 08:14:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected