cve.bz

CVE-2023-52903 linux linux kernel: Improper Locking

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: io_uring: lock overflowing for IOPOLL syzbot reports an issue with overflow filling for IOPOLL: WARNING: CPU: 0 PID: 28 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 CPU: 0 PID: 28 Comm: kworker/u4:1 Not tainted 6.2.0-rc3-syzkaller-16369-g358a161a6a9e #0 Workqueue: events_unbound io_ring_exit_work Call trace:  io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734  io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773  io_fill_cqe_req io_uring/io_uring.h:168 [inline]  io_do_iopoll+0x474/0x62c io_uring/rw.c:1065  io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513  io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056  io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869  process_one_work+0x2d8/0x504 kernel/workqueue.c:2289  worker_thread+0x340/0x610 kernel/workqueue.c:2436  kthread+0x12c/0x158 kernel/kthread.c:376  ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 There is no real problem for normal IOPOLL as flush is also called with uring_lock taken, but it's getting more complicated for IOPOLL|SQPOLL, for which __io_cqring_overflow_flush() happens from the CQ waiting path.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-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-667 Improper Locking
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-52903 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52903?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52903?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-52903 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 CNA's record in the CVE List.

ProductAffected
Linux5.1 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.165
Linux5.155.15.89
Linux6.16.1.7
Linuxlater releases6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.7-1DEBIAN-CVE-2023-52903
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-52903
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1034.38~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1036.43~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1032.40~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 25 moreno fix listedUBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1018.23~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-70.77~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1030.35~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1014.14~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1033.39~20.04.1UBUNTU-CVE-2023-52903
Ubuntu20.04:LTSlinux-riscv-5.155.15.0-1031.35~20.04.1UBUNTU-CVE-2023-52903
20 more for Ubuntu in the JSON and on Ubuntu's page.
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-52903

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A MODERATE severity denial of service vulnerability was found in the Linux kernel's io_uring subsystem. When an io_uring instance is configured to use both IOPOLL and SQPOLL, the completion queue ring overflow flush (__io_cqring_overflow_flush()) can be invoked from the CQ waiting path without the required locking, triggering a kernel WARNING and crashing the system. Exploiting this flaw requires local access and the ability to submit I/O through an io_uring ring that uses the IOPOLL and SQPOLL features together, and the consequence is limited to system availability. Red Hat Product Security rates this issue as MODERATE (CVSS 5.3, attack vector local, high attack complexity, privileges required), which differs from the upstream CVE record's IMPORTANT rating (CVSS 7.8) because that score assumes high confidentiality and integrity impacts that are not supported by the technical evidence of a locking error causing a kernel warning and crash; the NIST analysis similarly concludes availability-only impact (CVSS 5.5). Based on Red Hat's assessment, Red Hat Enterprise Linux 6, 7, and 8, Fedora, and Red Hat's hosted OpenShift offerings are not affected by this flaw. The remaining Red Hat Enterprise Linux 9 kernel and kernel-rt affects were delegated to the kernel maintenance team, whose assessment resolved them as not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

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

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON