CVE-2026-23177 in Batch products
In the Linux kernel, the following vulnerability has been resolved: mm, shmem: prevent infinite loop on truncate race When truncating a large swap entry, shmem_free_swap() returns 0 when the entry's index doesn't match the given index due to lookup alignment. The failure fallback path checks if the entry crosses ...
Affects 0 products from 5 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: mm, shmem: prevent infinite loop on truncate race When truncating a large swap entry, shmem_free_swap() returns 0 when the entry's index doesn't match the given index due to lookup alignment. The failure fallback path checks if the entry crosses the end border and aborts when it happens, so truncate won't erase an unexpected entry or range. But one scenario was ignored. When `index` points to the middle of a large swap entry, and the large swap entry doesn't go across the end border, find_get_entries() will return that large swap entry as the first item in the batch with `indices[0]` equal to `index`. The entry's base index will be smaller than `indices[0]`, so shmem_free_swap() will fail and return 0 due to the "base < index" check. The code will then call shmem_confirm_swap(), get the order, check if it crosses the END boundary (which it doesn't), and retry with the same index. The next iteration will find the same entry again at the same index with same indices, leading to an infinite loop. Fix this by retrying with a round-down index, and abort if the index is smaller than the truncate range.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-23177 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-275504-I |
| Published | 2026-02-14 |
| Last modified | 2026-04-15 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's memory management (mm) and shared memory (shmem) subsystem could potentially lead to an infinite loop during a truncate operation if a race condition occurs with swap entries.
The vulnerability arises when truncating a large swap entry, where shmem_free_swap() returns 0 if the entry's index does not match the given index due to lookup alignment. The fallback path checks if the entry crosses the end border and aborts the operation, but under certain race conditions, this check might not prevent an infinite loop.
Questions
What is CVE-2026-23177?
A vulnerability in the Linux kernel's memory management (mm) and shared memory (shmem) subsystem could potentially lead to an infinite loop during a truncate operation if a race condition occurs with swap entries.
Is CVE-2026-23177 actively exploited?
No confirmed active exploitation of CVE-2026-23177 as of 2026-05-30.
How do I remediate CVE-2026-23177?
Priority: MEDIUM.
What systems are affected by CVE-2026-23177?
CVE-2026-23177 affects Batch; Infinite; Kernel; Linux; Lookup.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Batch","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.