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-2021-47338

published high CVSS 3.1 · 7.8

fbmem: Do not delete the mode that is still in use

Published
21 May 2024, 14:35:47 UTC
Updated
05 Aug 2026, 08:47:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux13ff178ccd6d3b8074c542a911300b79c4eec255 to < 359311b85ebec7c07c3a08ae2f3def946cad33fa · 13ff178ccd6d3b8074c542a911300b79c4eec255 to < 087bff9acd2ec6db3f61aceb3224bde90fe0f7f8 · 13ff178ccd6d3b8074c542a911300b79c4eec255 to < f193509afc7ff37a46862610c93b896044d5b693 · 13ff178ccd6d3b8074c542a911300b79c4eec255 to < d6e76469157d8f240e5dec6f8411aa8d306b1126 · 13ff178ccd6d3b8074c542a911300b79c4eec255 to < 0af778269a522c988ef0b4188556aba97fb420cc · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 5.4.134 through 5.4.* (unaffected · semver) · 5.10.52 through 5.10.* (unaffected · semver) · 5.12.19 through 5.12.* (unaffected · semver) · 5.13.4 through 5.13.* (unaffected · semver) · 5.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-004 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-006 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
AlmaLinux 8 kernel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000

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

Description

In the Linux kernel, the following vulnerability has been resolved: fbmem: Do not delete the mode that is still in use The execution of fb_delete_videomode() is not based on the result of the previous fbcon_mode_deleted(). As a result, the mode is directly deleted, regardless of whether it is still in use, which may cause UAF. ================================================================== BUG: KASAN: use-after-free in fb_mode_is_equal+0x36e/0x5e0 \ drivers/video/fbdev/core/modedb.c:924 Read of size 4 at addr ffff88807e0ddb1c by task syz-executor.0/18962 CPU: 2 PID: 18962 Comm: syz-executor.0 Not tainted 5.10.45-rc1+ #3 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ... Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:118 print_address_description+0x6c/0x640 mm/kasan/report.c:385 __kasan_report mm/kasan/report.c:545 [inline] kasan_report+0x13d/0x1e0 mm/kasan/report.c:562 fb_mode_is_equal+0x36e/0x5e0 drivers/video/fbdev/core/modedb.c:924 fbcon_mode_deleted+0x16a/0x220 drivers/video/fbdev/core/fbcon.c:2746 fb_set_var+0x1e1/0xdb0 drivers/video/fbdev/core/fbmem.c:975 do_fb_ioctl+0x4d9/0x6e0 drivers/video/fbdev/core/fbmem.c:1108 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 18960: kasan_save_stack mm/kasan/common.c:48 [inline] kasan_set_track+0x3d/0x70 mm/kasan/common.c:56 kasan_set_free_info+0x17/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0x108/0x140 mm/kasan/common.c:422 slab_free_hook mm/slub.c:1541 [inline] slab_free_freelist_hook+0xd6/0x1a0 mm/slub.c:1574 slab_free mm/slub.c:3139 [inline] kfree+0xca/0x3d0 mm/slub.c:4121 fb_delete_videomode+0x56a/0x820 drivers/video/fbdev/core/modedb.c:1104 fb_set_var+0x1f3/0xdb0 drivers/video/fbdev/core/fbmem.c:978 do_fb_ioctl+0x4d9/0x6e0 drivers/video/fbdev/core/fbmem.c:1108 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

13

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 - Triggered via local ioctl(FBIOPUT_VSCREENINFO) on /dev/fbN through do_fb_ioctl → fb_set_var; there is no network or adjacent-protocol path into fbmem/fbcon. AC:L - The attacker fully controls mode setup and FB_ACTIVATE_INV_MODE deletion; ignoring fbcon_mode_deleted()'s in-use result deterministically frees a modelist entry while fb_display[].mode still points at it, with no attacker-independent race or layout requirement. PR:L - do_fb_ioctl/FBIOPUT_VSCREENINFO performs no capability check; access is only DAC on /dev/fbN, which seated users, video-group members, and embedded/Android graphics processes commonly have without init-namespace root. UI:N - The attacker opens the framebuffer device and issues the ioctl sequence directly; no separate victim action is required. S:U - Impact is kernel heap use-after-free and potential privilege escalation within the same host security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - This is a use-after-free of a groomable kmalloc fb_modelist object whose dangling mode pointer is later read (e.g. fb_mode_is_equal/display_to_var), enabling heap disclosure per UAF scoring guidance. I:H - UAF of a sprayable slab object allows reclaim/type confusion and corruption of kernel state through subsequent fbcon/fb_set_var paths, enabling write primitives and control-flow hijack. A:H - The syzkaller/KASAN report is a slab use-after-free that oopses in fb_mode_is_equal(); dereferencing the dangling pointer after reclaim or page return can panic the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 13ff178ccd6d3b8074c542a911300b79c4eec255 to < 359311b85ebec7c07c3a08ae2f3def946cad33fa (affected · git)13ff178ccd6d3b8074c542a911300b79c4eec255 to < 087bff9acd2ec6db3f61aceb3224bde90fe0f7f8 (affected · git)13ff178ccd6d3b8074c542a911300b79c4eec255 to < f193509afc7ff37a46862610c93b896044d5b693 (affected · git)13ff178ccd6d3b8074c542a911300b79c4eec255 to < d6e76469157d8f240e5dec6f8411aa8d306b1126 (affected · git)13ff178ccd6d3b8074c542a911300b79c4eec255 to < 0af778269a522c988ef0b4188556aba97fb420cc (affected · git)Default: unaffected Linux · cna
Linux Linux 5.3 (affected)0 to < 5.3 (unaffected · semver)5.4.134 through 5.4.* (unaffected · semver)5.10.52 through 5.10.* (unaffected · semver)5.12.19 through 5.12.* (unaffected · semver)5.13.4 through 5.13.* (unaffected · semver)5.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

fbmem: Do not delete the mode that is still in use

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
77bc02223a39f8d27c3682fbf44fa8182685132469ecd78a1aa1c94ff43c2563
Ingested
23 Sep 2026, 07:57:11 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