# CVE-2024-26775: aoe: avoid potential deadlock at set\_capacity

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 9, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-04-03T17:01:01.299Z
- **Modified:** 2026-06-17T07:18:18.850Z

## Who should check

- Anyone running Linux \>= a782483cc1f875355690625d8253a232f2581418, \< 2499fa286fb010ceb289950050199f33c26667b9; \>= a782483cc1f875355690625d8253a232f2581418, \< 2d623c94fbba3554f4446ba6f3c764994e8b0d26; \>= a782483cc1f875355690625d8253a232f2581418, \< 673629018ba04906899dcb631beec34d871f709c; \>= a782483cc1f875355690625d8253a232f2581418, \< 19a77b27163820f793b4d022979ffdca8f659b77; \>= a782483cc1f875355690625d8253a232f2581418, \< e169bd4fb2b36c4b2bee63c35c740c85daeb2e86
- Anyone running Linux 5.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

aoe: avoid potential deadlock at set\_capacity

Move set\_capacity() outside of the section procected by (&d-\>lock).
To avoid possible interrupt unsafe locking scenario:

        CPU0                    CPU1
        ----                    ----
\[1\] lock(&bdev-\>bd\_size\_lock);
                                local\_irq\_disable();
                            \[2\] lock(&d-\>lock);
                            \[3\] lock(&bdev-\>bd\_size\_lock);
   \<Interrupt\>
\[4\]  lock(&d-\>lock);

  \*\*\* DEADLOCK \*\*\*

Where \[1\](&bdev-\>bd\_size\_lock) hold by zram\_add()-\>set\_capacity().
\[2\]lock(&d-\>lock) hold by aoeblk\_gdalloc(). And aoeblk\_gdalloc()
is trying to acquire \[3\](&bdev-\>bd\_size\_lock) at set\_capacity() call.
In this situation an attempt to acquire \[4\]lock(&d-\>lock) from
aoecmd\_cfg\_rsp() will lead to deadlock.

So the simplest solution is breaking lock dependency
\[2\](&d-\>lock) -\> \[3\](&bdev-\>bd\_size\_lock) by moving set\_capacity()
outside.

## Affected and fixed versions

- Linux: \>= a782483cc1f875355690625d8253a232f2581418, \< 2499fa286fb010ceb289950050199f33c26667b9; \>= a782483cc1f875355690625d8253a232f2581418, \< 2d623c94fbba3554f4446ba6f3c764994e8b0d26; \>= a782483cc1f875355690625d8253a232f2581418, \< 673629018ba04906899dcb631beec34d871f709c; \>= a782483cc1f875355690625d8253a232f2581418, \< 19a77b27163820f793b4d022979ffdca8f659b77; \>= a782483cc1f875355690625d8253a232f2581418, \< e169bd4fb2b36c4b2bee63c35c740c85daeb2e86 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26775.md
Affected: Linux >= a782483cc1f875355690625d8253a232f2581418, < 2499fa286fb010ceb289950050199f33c26667b9; >= a782483cc1f875355690625d8253a232f2581418, < 2d623c94fbba3554f4446ba6f3c764994e8b0d26; >= a782483cc1f875355690625d8253a232f2581418, < 673629018ba04906899dcb631beec34d871f709c; >= a782483cc1f875355690625…
Fixed in: Linux 2499fa286fb010ceb289950050199f33c26667b9, Linux 2d623c94fbba3554f4446ba6f3c764994e8b0d26, Linux 673629018ba04906899dcb631beec34d871f709c, Linux 19a77b27163820f793b4d022979ffdca8f659b77

Steps:
1. Search this machine and project for 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-2024-26775 being exploited?

There is no confirmed exploitation: CVE-2024-26775 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26775?

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

### Which versions are affected by CVE-2024-26775?

Linux \>= a782483cc1f875355690625d8253a232f2581418, \< 2499fa286fb010ceb289950050199f33c26667b9; \>= a782483cc1f875355690625d8253a232f2581418, \< 2d623c94fbba3554f4446ba6f3c764994e8b0d26; \>= a782483cc1f875355690625d8253a232f2581418, \< 673629018ba04906899dcb631beec34d871f709c; \>= a782483cc1f875355690625d8253a232f2581418, \< 19a77b27163820f793b4d022979ffdca8f659b77; \>= a782483cc1f875355690625d8253a232f2581418, \< e169bd4fb2b36c4b2bee63c35c740c85daeb2e86; Linux 5.11.

### Is there a fix for CVE-2024-26775?

Yes. Fixed in Linux 2499fa286fb010ceb289950050199f33c26667b9, Linux 2d623c94fbba3554f4446ba6f3c764994e8b0d26, Linux 673629018ba04906899dcb631beec34d871f709c, Linux 19a77b27163820f793b4d022979ffdca8f659b77. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26775?

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

- patch: <https://git.kernel.org/stable/c/2d623c94fbba3554f4446ba6f3c764994e8b0d26>
- patch: <https://git.kernel.org/stable/c/673629018ba04906899dcb631beec34d871f709c>
- patch: <https://git.kernel.org/stable/c/19a77b27163820f793b4d022979ffdca8f659b77>
- patch: <https://git.kernel.org/stable/c/e169bd4fb2b36c4b2bee63c35c740c85daeb2e86>
- other: <https://git.kernel.org/stable/c/2499fa286fb010ceb289950050199f33c26667b9>

## 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-2024-26775>

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