# CVE-2026-90342: bpf: Fix mmap\_lock deadlock on arena lock failure

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-17T16:08:53.010Z
- **Modified:** 2026-10-19T09:19:28.250Z

## Who should check

- Anyone running Linux \>= b8467290edab4bafae352bf3f317055669a1a458, \< af8087f16714f7620c4db3e732baaa1b2337948f; \>= b8467290edab4bafae352bf3f317055669a1a458, \< 0b10b945479c954393d62ee3229d2f224a4ca91c
- Anyone running Linux 7.0

## Description

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

bpf: Fix mmap\_lock deadlock on arena lock failure

Reported by the Sashiko AI review.

arena\_vm\_fault() returns VM\_FAULT\_RETRY when it can't take
arena-\>spinlock, but it never took mmap\_lock. The fault path assumes a
VM\_FAULT\_RETRY handler already dropped mmap\_lock and re-takes it on the
retry, so mmap\_lock gets taken twice and can deadlock:

	do\_user\_addr\_fault()
	{
		fault = handle\_mm\_fault(...);   // calls arena\_vm\_fault()
		if (fault & VM\_FAULT\_RETRY)
			goto retry;   // re-locks mmap\_lock
		mmap\_read\_unlock(mm);
	}

Return VM\_FAULT\_SIGBUS instead, for two reasons:

1. We could keep VM\_FAULT\_RETRY, but then we'd have to drop the fault
   lock first and cap the retry ourselves, the way \_\_folio\_lock\_or\_retry()
   does.

2. A failed raw\_res\_spin\_lock\_irqsave() already means a possible deadlock
   was detected, so retrying just hits the same lock again.

So returning VM\_FAULT\_RETRY here is overkill.

## Affected and fixed versions

- Linux: \>= b8467290edab4bafae352bf3f317055669a1a458, \< af8087f16714f7620c4db3e732baaa1b2337948f; \>= b8467290edab4bafae352bf3f317055669a1a458, \< 0b10b945479c954393d62ee3229d2f224a4ca91c (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- Upgrade Linux to 0b10b945479c954393d62ee3229d2f224a4ca91c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-90342.md
Affected: Linux >= b8467290edab4bafae352bf3f317055669a1a458, < af8087f16714f7620c4db3e732baaa1b2337948f; >= b8467290edab4bafae352bf3f317055669a1a458, < 0b10b945479c954393d62ee3229d2f224a4ca91c; Linux 7.0
Fixed in: Linux 0b10b945479c954393d62ee3229d2f224a4ca91c

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-2026-90342 being exploited?

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

### How serious is CVE-2026-90342?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90342?

Linux \>= b8467290edab4bafae352bf3f317055669a1a458, \< af8087f16714f7620c4db3e732baaa1b2337948f; \>= b8467290edab4bafae352bf3f317055669a1a458, \< 0b10b945479c954393d62ee3229d2f224a4ca91c; Linux 7.0.

### Is there a fix for CVE-2026-90342?

Yes. Fixed in Linux 0b10b945479c954393d62ee3229d2f224a4ca91c. Upgrade Linux to 0b10b945479c954393d62ee3229d2f224a4ca91c or later.

### How do I check if I'm affected by CVE-2026-90342?

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

- other: <https://git.kernel.org/stable/c/af8087f16714f7620c4db3e732baaa1b2337948f>
- other: <https://git.kernel.org/stable/c/0b10b945479c954393d62ee3229d2f224a4ca91c>

## 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-2026-90342>

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