cve.bz

CVE-2023-52699 Improper Locking

5.3 mediumEPSS 1.0%Fix available

Medium (5.3). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: sysv: don't call sb_bread() with pointers_lock held syzbot is reporting sleep in atomic context in SysV filesystem [1], for sb_bread() is called with rw_spinlock held. A "write_lock(&pointers_lock) => read_lock(&pointers_lock) deadlock" bug and a "sb_bread() with write_lock(&pointers_lock)" bug were introduced by "Replace BKL for chain locking with sysvfs-private rwlock" in Linux 2.5.12. Then, "[PATCH] err1-40: sysvfs locking fix" in Linux 2.6.8 fixed the former bug by moving pointers_lock lock to the callers, but instead introduced a "sb_bread() with read_lock(&pointers_lock)" bug (which made this problem easier to hit). Al Viro suggested that why not to do like get_branch()/get_block()/ find_shared() in Minix filesystem does. And doing like that is almost a revert of "[PATCH] err1-40: sysvfs locking fix" except that get_branch() from with find_shared() is called without write_lock(&pointers_lock).

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd 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: partial, assessed 2024-05-21. 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-52699 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52699?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52699?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-52699 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
Linux2.6.12 and later

Fixed in

ProductRelease lineFixed in
Linux4.194.19.312
Linux5.45.4.274
Linux5.105.10.215
Linux5.155.15.155
Linux6.16.1.86
Linux6.66.6.27
Linux6.86.8.6
Linuxlater releases6.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.316-1DLA-3840-1
Debian10linux-5.105.10.216-1~deb10u1DLA-3842-1
Debian12linux6.1.90-1DEBIAN-CVE-2023-52699
Debian13, 14linux6.8.9-1DEBIAN-CVE-2023-52699
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-52699
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-52699
Ubuntu20.04:LTSlinux5.4.0-189.209UBUNTU-CVE-2023-52699 USN-6896-1
Ubuntu20.04:LTSlinux-aws5.4.0-1128.138UBUNTU-CVE-2023-52699 USN-6896-5
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1065.71~20.04.1UBUNTU-CVE-2023-52699 USN-6898-4
Ubuntu20.04:LTSlinux-azure5.4.0-1133.140UBUNTU-CVE-2023-52699 USN-6896-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1068.77~20.04.1UBUNTU-CVE-2023-52699 USN-6917-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1068.77~20.04.1.1USN-6917-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1088.95UBUNTU-CVE-2023-52699 USN-6896-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1132.141UBUNTU-CVE-2023-52699 USN-6896-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1065.73~20.04.1UBUNTU-CVE-2023-52699 USN-6927-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-52699
69 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.14.2SUSE-SU-2024:2571-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_161-150500.11.3.1SUSE-SU-2024:2008-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_151-150500.11.3.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_11-150600.1.5.1SUSE-SU-2024:2973-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_21-150600.13.3.2SUSE-SU-2024:2571-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.58.1SUSE-SU-2024:2008-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.68.1.150500.6.31.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb6.4.0-150600.23.14.1SUSE-SU-2024:2571-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.14.2.150600.12.4.3SUSE-SU-2024:2571-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-source, kernel-default, kernel-zfcpdump6.4.0-150600.23.14.2SUSE-SU-2024:2571-1
10 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.68.1SUSE-SU-2024:2190-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.57.1SUSE-SU-2024:2019-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.68.1.150500.6.31.1SUSE-SU-2024:2190-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.58.1SUSE-SU-2024:2008-1
openSUSELeap 15.6dtb-aarch64, kernel-64kb6.4.0-150600.23.14.1SUSE-SU-2024:2571-1
openSUSELeap 15.6kernel-azure, kernel-source-azure6.4.0-150600.8.8.2SUSE-SU-2024:2896-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.14.2.150600.12.4.3SUSE-SU-2024:2571-1
openSUSELeap 15.6kernel-docs, kernel-syms, kernel-debug and 6 more6.4.0-150600.23.14.2SUSE-SU-2024:2571-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.5.1SUSE-SU-2024:2973-1
openSUSELeap 15.6kernel-syms-azure6.4.0-150600.8.8.1SUSE-SU-2024:2896-1
Alpaquita23linux-lts6.1.89-r0BELL-CVE-2023-52699
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2023-52699

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux is not vulnerable to this CVE, as it does not affect the versions or configurations of the Linux kernel used in its distributions.

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 6kernelOut of support scope
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-52699.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
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

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

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