cve.bz

CVE-2023-31436 linux linux kernel: Out-of-bounds Write

7.8 highEPSS 0.6%Fix available

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

On this page
qfq_change_class in net/sched/sch_qfq.c in the Linux kernel before 6.2.13 allows an out-of-bounds write because lmax can exceed QFQ_MIN_LMAX.

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.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th 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-10-15. 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-787 Out-of-bounds Write
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-31436 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-31436?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-31436?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-31436 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-31436

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-31436](https://cve.bz/cve/badge/CVE-2023-31436.svg)](https://cve.bz/cve/CVE-2023-31436)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 3.7 before 4.14.314
linux:linux_kernelfrom 4.15 before 4.19.282
linux:linux_kernelfrom 4.20 before 5.4.242
linux:linux_kernelfrom 5.5.0 before 5.10.179
linux:linux_kernelfrom 5.11 before 5.15.109
linux:linux_kernelfrom 5.16 before 6.1.26
linux:linux_kernelfrom 6.2 before 6.2.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.179-1~deb10u1DLA-3446-1
Debian11linux5.10.179-1DSA-5402-1
Debian12, 13, 14linux6.1.27-1DEBIAN-CVE-2023-31436
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-31436
Ubuntu18.04:LTSlinux4.15.0-212.223UBUNTU-CVE-2023-31436 USN-6130-1
Ubuntu18.04:LTSlinux-aws4.15.0-1157.170UBUNTU-CVE-2023-31436 USN-6130-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1103.111~18.04.1UBUNTU-CVE-2023-31436 USN-6132-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1166.181UBUNTU-CVE-2023-31436 USN-6130-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1109.115~18.04.1UBUNTU-CVE-2023-31436 USN-6131-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-31436
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1151.167UBUNTU-CVE-2023-31436 USN-6130-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1106.115~18.04.1UBUNTU-CVE-2023-31436 USN-6131-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-150.167~18.04.1UBUNTU-CVE-2023-31436 USN-6131-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1050.55~18.04.1UBUNTU-CVE-2023-31436 USN-6131-1
Ubuntu18.04:LTSlinux-kvm4.15.0-1141.146UBUNTU-CVE-2023-31436 USN-6130-1
149 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.105.1.el7RHSA-2023:7423
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.105.1.el7RHSA-2023:7423
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.105.1.el7RHSA-2023:7423
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatrhel_aus:7.6::serverperf, kernel, bpftool and 15 more0:3.10.0-957.109.1.el7RHSA-2024:0261
31 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.154.1.150200.9.75.1SUSE-SU-2023:2651-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs5.3.18-150200.24.154.2SUSE-SU-2023:2651-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-syms, kernel-source, kernel-default and 2 more5.3.18-150200.24.154.1SUSE-SU-2023:2651-1
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.124.1SUSE-SU-2023:2611-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.124.1.150300.18.72.1SUSE-SU-2023:2611-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.128.1SUSE-SU-2023:2537-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.162.1SUSE-SU-2023:2538-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.148.1SUSE-SU-2023:2534-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.154.1SUSE-SU-2023:2651-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.124.1SUSE-SU-2023:2611-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.66.1SUSE-SU-2023:2653-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
74 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.124.1SUSE-SU-2023:2611-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-syms and 7 more5.14.21-150400.24.66.1SUSE-SU-2023:2653-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.52.1SUSE-SU-2023:2500-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.148.1SUSE-SU-2023:2534-1
openSUSELeap 15.4kernel-docs5.14.21-150400.24.66.2SUSE-SU-2023:2653-1
openSUSELeap 15.4kernel-rt, kernel-rt_debug5.14.21-150400.15.37.2SUSE-SU-2023:2782-1
openSUSELeap 15.4kernel-syms-rt, kernel-source-rt5.14.21-150400.15.37.1SUSE-SU-2023:2782-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

To mitigate this issue, prevent the module, sch_qfq from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically.

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-0:3.10.0-1160.105.1.el7Fixed 2023-11-21RHSA-2023:7423
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.109.1.el7Fixed 2024-01-16RHSA-2024:0261
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.82.1.el7Fixed 2024-01-16RHSA-2024:0262
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.5.1.rt7.307.el8_9Fixed 2023-11-14RHSA-2023:6901
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.5.1.el8_9Fixed 2023-11-14RHSA-2023:7077
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.125.1.el8_4Fixed 2024-03-19RHSA-2024:1367
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.125.1.rt7.201.el8_4Fixed 2024-03-19RHSA-2024:1382
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.125.1.el8_4Fixed 2024-03-19RHSA-2024:1367
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.125.1.el8_4Fixed 2024-03-19RHSA-2024:1367
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2024-03-19RHSA-2024:1377
Red Hat Enterprise Linux 7kernel-rtAffected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
5 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-31436.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 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