cve.bz

CVE-2023-4921 Use After Free

7.8 highExploit referenceEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free vulnerability in the Linux kernel's net/sched: sch_qfq component can be exploited to achieve local privilege escalation. When the plug qdisc is used as a class of the qfq qdisc, sending network packets triggers use-after-free in qfq_dequeue() due to the incorrect .peek handler of sch_plug and lack of error checking in agg_dequeue(). We recommend upgrading past commit 8fc134fee27f2263988ae38920bc03da416b03d8.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-05-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-4921 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4921?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4921?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4921 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-4921

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-4921](https://cve.bz/cve/badge/CVE-2023-4921.svg)](https://cve.bz/cve/CVE-2023-4921)

HTML:

<a href="https://cve.bz/cve/CVE-2023-4921"><img src="https://cve.bz/cve/badge/CVE-2023-4921.svg" alt="CVE-2023-4921"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernelfrom 3.8 before 6.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.304-1DLA-3710-1
Debian10linux-5.105.10.197-1~deb10u1DLA-3623-1
Debian12linux6.1.55-1DEBIAN-CVE-2023-4921
Debian13, 14linux6.5.6-1DEBIAN-CVE-2023-4921
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-4921
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-4921
Ubuntu20.04:LTSlinux5.4.0-165.182UBUNTU-CVE-2023-4921 USN-6441-1
Ubuntu20.04:LTSlinux-aws5.4.0-1112.121UBUNTU-CVE-2023-4921 USN-6441-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1048.53~20.04.1UBUNTU-CVE-2023-4921 USN-6446-1
Ubuntu20.04:LTSlinux-azure5.4.0-1118.125UBUNTU-CVE-2023-4921 USN-6441-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1050.57~20.04.1UBUNTU-CVE-2023-4921 USN-6446-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1050.57~20.04.1.1USN-6446-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1073.79UBUNTU-CVE-2023-4921 USN-6442-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1116.125UBUNTU-CVE-2023-4921 USN-6441-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1045.53~20.04.2UBUNTU-CVE-2023-4921 USN-6446-2
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-4921
80 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.114.2.el7RHSA-2024:1249
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.114.2.el7RHSA-2024:1249
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_102_1, kpatch-patch-3_10_0-1160_102_1-debuginfo0:1-3.el7RHSA-2024:1323
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_105_1, kpatch-patch-3_10_0-1160_105_1-debuginfo0:1-2.el7RHSA-2024:1323
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_108_1, kpatch-patch-3_10_0-1160_108_1-debuginfo0:1-1.el7RHSA-2024:1323
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_99_1, kpatch-patch-3_10_0-1160_99_1-debuginfo0:1-4.el7RHSA-2024:1323
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.114.2.el7RHSA-2024:1249
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_11_1, kpatch-patch-4_18_0-513_11_1-debuginfo, kpatch-patch-4_18_0-513_11_1-debugsource0:1-1.el8_9RHSA-2024:0876
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_5_1, kpatch-patch-4_18_0-513_5_1-debuginfo, kpatch-patch-4_18_0-513_5_1-debugsource0:1-3.el8_9RHSA-2024:0876
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_9_1, kpatch-patch-4_18_0-513_9_1-debuginfo, kpatch-patch-4_18_0-513_9_1-debugsource0:1-2.el8_9RHSA-2024:0876
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.18.1.el8_9RHSA-2024:0897
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.18.1.el8_9RHSA-2024:0897
35 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.138.1SUSE-SU-2023:4095-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morekernel-default-base5.3.18-150300.59.138.1.150300.18.80.2SUSE-SU-2023:4095-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.150.1SUSE-SU-2024:0474-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.150.1.150300.18.88.1SUSE-SU-2024:0474-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.179.1SUSE-SU-2023:4031-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.160.1SUSE-SU-2023:4347-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.166.1SUSE-SU-2023:4030-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.178.1SUSE-SU-2024:0478-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.138.1SUSE-SU-2023:4095-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.150.1SUSE-SU-2024:0474-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.108.1SUSE-SU-2024:0515-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.92.1SUSE-SU-2023:4072-1
71 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.92.1SUSE-SU-2023:4072-2
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.69.1SUSE-SU-2023:4057-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.160.1SUSE-SU-2023:4347-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.92.1.150400.24.42.1SUSE-SU-2023:4072-2
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.31.1SUSE-SU-2023:4071-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.49.1SUSE-SU-2024:0516-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.20.1SUSE-SU-2023:4058-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.34.1SUSE-SU-2024:0514-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.31.1.150500.6.13.1SUSE-SU-2023:4071-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.49.1.150500.6.21.2SUSE-SU-2024:0516-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.21.1SUSE-SU-2023:4035-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.35.1SUSE-SU-2024:0469-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.18.1.el8_9ALSA-2024:0897
Azure Linux2kernel5.15.133.1-1AZL-28779
Alpaquitastreamlinux-lts6.1.54-r0BELL-CVE-2023-4921

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is to skip loading the affected module sch_qfq onto the system until we have a fix available. This can be done by a blacklist mechanism and will ensure the driver is not loaded at the boot time.

~~~

How do I blacklist a kernel module to prevent it from loading automatically?

https://access.redhat.com/solutions/41278

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportkernel-0:2.6.32-754.53.1.el6Fixed 2024-04-16RHSA-2024:1831
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.114.2.rt56.1266.el7Fixed 2024-03-14RHSA-2024:1332
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.114.2.el7Fixed 2024-03-12RHSA-2024:1249
Red Hat Enterprise Linux 7kpatch-patchFixed 2024-03-13RHSA-2024:1323
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.111.1.el7Fixed 2024-02-26RHSA-2024:0980
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.85.1.el7Fixed 2024-02-27RHSA-2024:0999
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.18.1.rt7.320.el8_9Fixed 2024-02-20RHSA-2024:0881
Red Hat Enterprise Linux 8kpatch-patchFixed 2024-02-20RHSA-2024:0876
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.18.1.el8_9Fixed 2024-02-20RHSA-2024:0897
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.128.1.el8_2Fixed 2024-03-12RHSA-2024:1268
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.128.1.rt13.179.el8_2Fixed 2024-03-12RHSA-2024:1269
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.128.1.el8_2Fixed 2024-03-12RHSA-2024:1268
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.128.1.el8_2Fixed 2024-03-12RHSA-2024:1268
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2024-03-12RHSA-2024:1278
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.120.1.rt7.196.el8_4Fixed 2024-01-30RHSA-2024:0563
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4921.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON