# CVE-2024-36936: efi/unaccepted: touch soft lockup during memory accept

> 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 8, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2024-05-30T15:29:25.767Z
- **Modified:** 2026-06-17T07:37:24.083Z

## Who should check

- Anyone running Linux \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< e115c1b5de55a105c75aba8eb08301c075fa4ef4; \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< 781e34b736014188ba9e46a71535237313dcda81; \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< 1c5a1627f48105cbab81d25ec2f72232bfaa8185; b583bfcc5a36dbd1db1984dbfcfd23ba64d23604; \>= 6.5.9, \< 6.6
- Anyone running Linux 6.6

## Description

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

efi/unaccepted: touch soft lockup during memory accept

Commit 50e782a86c98 ("efi/unaccepted: Fix soft lockups caused by
parallel memory acceptance") has released the spinlock so other CPUs can
do memory acceptance in parallel and not triggers softlockup on other
CPUs.

However the softlock up was intermittent shown up if the memory of the
TD guest is large, and the timeout of softlockup is set to 1 second:

 RIP: 0010:\_raw\_spin\_unlock\_irqrestore
 Call Trace:
 ? \_\_hrtimer\_run\_queues
 \<IRQ\>
 ? hrtimer\_interrupt
 ? watchdog\_timer\_fn
 ? \_\_sysvec\_apic\_timer\_interrupt
 ? \_\_pfx\_watchdog\_timer\_fn
 ? sysvec\_apic\_timer\_interrupt
 \</IRQ\>
 ? \_\_hrtimer\_run\_queues
 \<TASK\>
 ? hrtimer\_interrupt
 ? asm\_sysvec\_apic\_timer\_interrupt
 ? \_raw\_spin\_unlock\_irqrestore
 ? \_\_sysvec\_apic\_timer\_interrupt
 ? sysvec\_apic\_timer\_interrupt
 accept\_memory
 try\_to\_accept\_memory
 do\_huge\_pmd\_anonymous\_page
 get\_page\_from\_freelist
 \_\_handle\_mm\_fault
 \_\_alloc\_pages
 \_\_folio\_alloc
 ? \_\_tdx\_hypercall
 handle\_mm\_fault
 vma\_alloc\_folio
 do\_user\_addr\_fault
 do\_huge\_pmd\_anonymous\_page
 exc\_page\_fault
 ? \_\_do\_huge\_pmd\_anonymous\_page
 asm\_exc\_page\_fault
 \_\_handle\_mm\_fault

When the local irq is enabled at the end of accept\_memory(), the
softlockup detects that the watchdog on single CPU has not been fed for
a while. That is to say, even other CPUs will not be blocked by
spinlock, the current CPU might be stunk with local irq disabled for a
while, which hurts not only nmi watchdog but also softlockup.

Chao Gao pointed out that the memory accept could be time costly and
there was similar report before. Thus to avoid any softlocup detection
during this stage, give the softlockup a flag to skip the timeout check
at the end of accept\_memory(), by invoking touch\_softlockup\_watchdog().

## Affected and fixed versions

- Linux: \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< e115c1b5de55a105c75aba8eb08301c075fa4ef4; \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< 781e34b736014188ba9e46a71535237313dcda81; \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< 1c5a1627f48105cbab81d25ec2f72232bfaa8185; b583bfcc5a36dbd1db1984dbfcfd23ba64d23604; \>= 6.5.9, \< 6.6 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 6.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-36936.md
Affected: Linux >= 50e782a86c980d4f8292ef82ed8139282ca07a98, < e115c1b5de55a105c75aba8eb08301c075fa4ef4; >= 50e782a86c980d4f8292ef82ed8139282ca07a98, < 781e34b736014188ba9e46a71535237313dcda81; >= 50e782a86c980d4f8292ef82ed8139282ca07a98, < 1c5a1627f48105cbab81d25ec2f72232bfaa8185; b583bfcc5a36dbd1db1984dbfc…
Fixed in: Linux 781e34b736014188ba9e46a71535237313dcda81, Linux 1c5a1627f48105cbab81d25ec2f72232bfaa8185, Linux 6.6

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-36936 being exploited?

There is no confirmed exploitation: CVE-2024-36936 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-28).

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

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

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

Linux \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< e115c1b5de55a105c75aba8eb08301c075fa4ef4; \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< 781e34b736014188ba9e46a71535237313dcda81; \>= 50e782a86c980d4f8292ef82ed8139282ca07a98, \< 1c5a1627f48105cbab81d25ec2f72232bfaa8185; b583bfcc5a36dbd1db1984dbfcfd23ba64d23604; \>= 6.5.9, \< 6.6; Linux 6.6.

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

Yes. Fixed in Linux 781e34b736014188ba9e46a71535237313dcda81, Linux 1c5a1627f48105cbab81d25ec2f72232bfaa8185, Linux 6.6. Upgrade Linux to 6.6 or later.

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

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/e115c1b5de55a105c75aba8eb08301c075fa4ef4>
- patch: <https://git.kernel.org/stable/c/781e34b736014188ba9e46a71535237313dcda81>
- patch: <https://git.kernel.org/stable/c/1c5a1627f48105cbab81d25ec2f72232bfaa8185>

## 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-36936>

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