# CVE-2026-52923: ipc: limit next\_id allocation to the valid ID range

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-401, CWE-20, CWE-825
- **Published:** 2026-06-24T07:14:17.849Z
- **Modified:** 2026-10-19T20:18:46.883Z

## Who should check

- Anyone running Linux \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 3bbe2bb9111ce6967a951bfac79af142d816fae5; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< af24e202b543ded8a34f1d5d3db54eb916173f04; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 157ce2c6836ce0ff19108a819f38df061345425f; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 41058d4c3f63ab64901560a704882e0565f4e456; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< a3cc795129e5ec0f8948653a3bf471e7d8852f5e; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< bd4be70669af55b974860d13680348cfdf50bbed; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139
- Anyone running Linux 3.8

## Description

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

ipc: limit next\_id allocation to the valid ID range

The checkpoint/restore sysctl path can request the next SysV IPC id
through ids-\>next\_id.  ipc\_idr\_alloc() currently forwards that request to
idr\_alloc() with an open-ended upper bound.

If the valid tail of the SysV IPC id space is full, the allocation can
spill beyond ipc\_mni.  The returned SysV IPC id still uses the normal
index encoding, so later lookup and removal can target the wrong slot. 
This leaves the real IDR entry behind and breaks the IDR state for the
object.

The bug is in ipc\_idr\_alloc() in the checkpoint/restore path.

1. ids-\>next\_id is passed to:

       idr\_alloc(&ids-\>ipcs\_idr, new, ipcid\_to\_idx(next\_id), 0, ...)

2. The zero upper bound makes the allocation effectively open-ended.
   Once the valid SysV IPC tail is occupied, idr\_alloc() can spill past
   ipc\_mni and allocate an entry beyond the valid IPC id range.

3. The new object id is still encoded with the narrower SysV IPC index
   width:

       new-\>id = (new-\>seq \<\< ipcmni\_seq\_shift()) + idx

4. Later removal goes through ipc\_rmid(), which uses:

       ipcid\_to\_idx(ipcp-\>id)

   That truncates the real IDR index. An object actually stored at a
   high index can then be removed as if it lived at a low in-range
   index.

5. For shared memory, shm\_destroy() frees the current object anyway, but
   the real high IDR slot is left behind as a dangling pointer.

6. A subsequent walk of /proc/sysvipc/shm reaches the stale IDR entry
   and dereferences freed memory.

Prevent this by bounding the requested allocation to ipc\_mni so the
checkpoint/restore path fails once the valid range is exhausted.

## Affected and fixed versions

- Linux: \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 3bbe2bb9111ce6967a951bfac79af142d816fae5; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< af24e202b543ded8a34f1d5d3db54eb916173f04; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 157ce2c6836ce0ff19108a819f38df061345425f; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 41058d4c3f63ab64901560a704882e0565f4e456; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< a3cc795129e5ec0f8948653a3bf471e7d8852f5e; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< bd4be70669af55b974860d13680348cfdf50bbed; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139 (cvelist)
- Linux: 3.8 (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-2026-52923. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52923.md
Affected: Linux >= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, < 3bbe2bb9111ce6967a951bfac79af142d816fae5; >= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, < 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef; >= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, < af24e202b543ded8a34f1d5d3db54eb916173f04; >= 03f595668017f1a1fb971c0…
Fixed in: Linux 3bbe2bb9111ce6967a951bfac79af142d816fae5, Linux 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef, Linux 157ce2c6836ce0ff19108a819f38df061345425f, Linux 41058d4c3f63ab64901560a704882e0565f4e456

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

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

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

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

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

Linux \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 3bbe2bb9111ce6967a951bfac79af142d816fae5; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< af24e202b543ded8a34f1d5d3db54eb916173f04; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 157ce2c6836ce0ff19108a819f38df061345425f; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< 41058d4c3f63ab64901560a704882e0565f4e456; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< a3cc795129e5ec0f8948653a3bf471e7d8852f5e; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< bd4be70669af55b974860d13680348cfdf50bbed; \>= 03f595668017f1a1fb971c02fc37140bc6e7bb1c, \< fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139; Linux 3.8.

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

Yes. Fixed in Linux 3bbe2bb9111ce6967a951bfac79af142d816fae5, Linux 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef, Linux 157ce2c6836ce0ff19108a819f38df061345425f, Linux 41058d4c3f63ab64901560a704882e0565f4e456. No fix listed yet: follow the vendor advisory.

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

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://access.redhat.com/errata/RHSA-2026:61692>
- vendor: <https://access.redhat.com/errata/RHSA-2026:63189>
- vendor: <https://access.redhat.com/errata/RHSA-2026:52764>
- vendor: <https://access.redhat.com/errata/RHSA-2026:53330>
- vendor: <https://access.redhat.com/errata/RHSA-2026:51603>
- vendor: <https://access.redhat.com/errata/RHSA-2026:48386>
- vendor: <https://access.redhat.com/errata/RHSA-2026:49031>
- vendor: <https://access.redhat.com/errata/RHSA-2026:49212>
- vendor: <https://access.redhat.com/errata/RHSA-2026:49857>
- vendor: <https://access.redhat.com/errata/RHSA-2026:47248>
- vendor: <https://access.redhat.com/errata/RHSA-2026:52649>
- vendor: <https://access.redhat.com/errata/RHSA-2026:49851>
- vendor: <https://access.redhat.com/errata/RHSA-2026:51604>
- patch: <https://git.kernel.org/stable/c/3bbe2bb9111ce6967a951bfac79af142d816fae5>
- patch: <https://git.kernel.org/stable/c/8c58a92849175f5e2ab7bc2734b3b89afe79f6ef>
- patch: <https://git.kernel.org/stable/c/af24e202b543ded8a34f1d5d3db54eb916173f04>
- patch: <https://git.kernel.org/stable/c/157ce2c6836ce0ff19108a819f38df061345425f>
- patch: <https://git.kernel.org/stable/c/41058d4c3f63ab64901560a704882e0565f4e456>
- patch: <https://git.kernel.org/stable/c/a3cc795129e5ec0f8948653a3bf471e7d8852f5e>
- patch: <https://git.kernel.org/stable/c/bd4be70669af55b974860d13680348cfdf50bbed>
- patch: <https://git.kernel.org/stable/c/fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139>
- other: <https://access.redhat.com/security/cve/CVE-2026-52923>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2492094>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52923.json>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.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-2026-52923>

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