# CVE-2023-2612: shiftfs lock unbalance in Ubuntu-specific kernels

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2023-05-30T23:12:29.867Z
- **Modified:** 2026-06-17T05:53:00.730Z

## Who should check

- Anyone running Canonical Ltd. ubuntu-linux \< 02b47547824b1cd0d55c6744f91886f04de8947e

## Description

Jean-Baptiste Cayrou discovered that the shiftfs file system in the Ubuntu Linux kernel contained a race condition when handling inode locking in some situations. A local attacker could use this to cause a denial of service (kernel deadlock).

## Affected and fixed versions

- Canonical Ltd. ubuntu-linux: \< 02b47547824b1cd0d55c6744f91886f04de8947e (cvelist)

## Mitigation

- Upgrade ubuntu-linux to 02b47547824b1cd0d55c6744f91886f04de8947e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-2612. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-2612.md
Affected: Canonical Ltd. ubuntu-linux < 02b47547824b1cd0d55c6744f91886f04de8947e
Fixed in: Canonical Ltd. ubuntu-linux 02b47547824b1cd0d55c6744f91886f04de8947e

Steps:
1. Search this machine and project for Canonical Ltd. ubuntu-linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-2612 being exploited?

There is no confirmed exploitation: CVE-2023-2612 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-2612?

Medium: CVSS 4.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-2612?

Canonical Ltd. ubuntu-linux \< 02b47547824b1cd0d55c6744f91886f04de8947e.

### Is there a fix for CVE-2023-2612?

Yes. Fixed in Canonical Ltd. ubuntu-linux 02b47547824b1cd0d55c6744f91886f04de8947e. Upgrade ubuntu-linux to 02b47547824b1cd0d55c6744f91886f04de8947e or later.

### How do I check if I'm affected by CVE-2023-2612?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://ubuntu.com/security/CVE-2023-2612>
- vendor: <https://ubuntu.com/security/notices/USN-6122-1>
- vendor: <https://ubuntu.com/security/notices/USN-6123-1>
- vendor: <https://ubuntu.com/security/notices/USN-6124-1>
- vendor: <https://ubuntu.com/security/notices/USN-6127-1>
- patch: <https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/kinetic/commit/?id=02b47547824b1cd0d55c6744f91886f04de8947e>
- exploit: <http://packetstormsecurity.com/files/173087/Kernel-Live-Patch-Security-Notice-LSN-0095-1.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-2612>

HTML: <https://flawdb.com/CVE-2023-2612> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-2612>
