cve.bz

CVE-2023-1118 linux linux kernel: Use After Free

7.8 highEPSS 0.3%Fix available

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

On this page
A flaw use after free in the Linux kernel integrated infrared receiver/transceiver driver was found in the way user detaching rc device. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.

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.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. 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 2025-04-23. 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-1118 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1118?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1118?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-1118 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 2.6.36 before 4.14.308
linux:linux_kernelfrom 4.15 before 4.19.276
linux:linux_kernelfrom 4.20 before 5.4.235
linux:linux_kernelfrom 5.5 before 5.10.173
linux:linux_kernelfrom 5.11 before 5.15.99
linux:linux_kernelfrom 5.16 before 6.1.16
linux:linux_kernelfrom 6.2 before 6.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.178-3~deb10u1DLA-3404-1
Debian12, 13, 14linux6.1.20-1DEBIAN-CVE-2023-1118
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1118
Ubuntu18.04:LTSlinux4.15.0-211.222UBUNTU-CVE-2023-1118 USN-6081-1
Ubuntu18.04:LTSlinux-aws4.15.0-1156.169UBUNTU-CVE-2023-1118 USN-6081-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1103.111~18.04.1UBUNTU-CVE-2023-1118 USN-6132-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1165.180UBUNTU-CVE-2023-1118 USN-6092-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1108.114~18.04.1UBUNTU-CVE-2023-1118 USN-6094-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-1118
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1150.166UBUNTU-CVE-2023-1118 USN-6084-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1105.114~18.04.1UBUNTU-CVE-2023-1118 USN-6094-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-149.166~18.04.1UBUNTU-CVE-2023-1118 USN-6094-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1049.54~18.04.1UBUNTU-CVE-2023-1118 USN-6094-1
Ubuntu18.04:LTSlinux-kvm4.15.0-1140.145UBUNTU-CVE-2023-1118 USN-6081-1
76 more for Ubuntu in the JSON and on Ubuntu's page.
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_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.98.1.el8_6RHSA-2024:1653
Red Hatrhel_eus:8.6::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.98.1.el8_6RHSA-2024:1653
Red Hatrhel_eus:8.8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Red Hatrhel_eus:8.8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.58.1.el8_8RHSA-2024:3810
Red Hatrhev_hypervisor:4.4::el8perf, kernel-devel, perf-debuginfo and 6 more0:4.18.0-372.98.1.el8_6RHSA-2024:1653
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.145.1.150200.9.69.1SUSE-SU-2023:0778-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.145.1SUSE-SU-2023:0778-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-source and 3 more5.3.18-150300.59.115.2SUSE-SU-2023:0780-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.115.2.150300.18.66.1SUSE-SU-2023:0780-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morekernel-syms5.3.18-150300.59.115.1SUSE-SU-2023:0780-1
SUSELinux Enterprise High Availability Extension 12 SP4drbd9.0.14+git.62f906cf-4.26.2SUSE-SU-2023:2232-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.125.1SUSE-SU-2023:2232-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.153.1SUSE-SU-2023:0770-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.137.2SUSE-SU-2023:0768-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.145.1SUSE-SU-2023:0778-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.115.2SUSE-SU-2023:0780-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 4 morekernel-default5.14.21-150400.24.55.3SUSE-SU-2023:1710-1
69 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.115.1SUSE-SU-2023:0780-1
openSUSELeap 15.4dtb-aarch64, kernel-docs, kernel-syms and 1 more5.14.21-150400.24.55.1SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-64kb, kernel-source, kernel-zfcpdump5.14.21-150400.24.55.2SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.37.1SUSE-SU-2023:0774-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.40.1SUSE-SU-2023:1608-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-kvmsmall and 1 more5.14.21-150400.24.55.3SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.137.2SUSE-SU-2023:0768-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.18.1SUSE-SU-2023:1609-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.55.3.150400.24.22.7SUSE-SU-2023:1710-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.3.1SUSE-SU-2023:2646-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.7.1.150500.6.2.5SUSE-SU-2023:2871-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-513.5.1.el8_9ALSA-2023:7077
Azure Linux2kernel5.15.102.1-1AZL-25352

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. 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 Moderate.

Red Hat's statement

Because this vulnerability requires an attacker to either have physical access to a system with infrared receiver/transceiver hardware or requires a remote authenticated user to have knowledge about such hardware attached to the system and when it is disconnected, Red Hat assesses the impact of this vulnerability as Moderate.

This bug stems from an error in drivers/media/rc/ene_ir.c. This is no longer being built, as CONFIG_IR_ENE is no longer enabled in Red Hat Enterprise Linux 9.

Red Hat's mitigation

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

ProductPackageStateAdvisory
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.6 Extended Update Supportkernel-0:4.18.0-372.98.1.el8_6Fixed 2024-04-03RHSA-2024:1653
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.58.1.el8_8Fixed 2024-06-11RHSA-2024:3810
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.98.1.el8_6Fixed 2024-04-03RHSA-2024:1653
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 9kernelWill not fix
Red Hat Enterprise Linux 9kernel-rtWill not fix

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-1118.

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

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