CVE-2026-52923
ipc: limit next_id allocation to the valid ID range
Check your servers for CVE-2026-52923
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52923 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before 3bbe2bb9111ce6967a951bfac79af142d816fae5 affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before af24e202b543ded8a34f1d5d3db54eb916173f04 affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before 157ce2c6836ce0ff19108a819f38df061345425f affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before 41058d4c3f63ab64901560a704882e0565f4e456 affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before a3cc795129e5ec0f8948653a3bf471e7d8852f5e affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before bd4be70669af55b974860d13680348cfdf50bbed affected from 03f595668017f1a1fb971c02fc37140bc6e7bb1c, before fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 5.10.259 up to and including 5.10.* unaffected from 5.15.210 up to and including 5.15.* unaffected from 6.1.176 up to and including 6.1.* unaffected from 6.6.143 up to and including 6.6.* unaffected from 6.12.93 up to and including 6.12.* unaffected from 6.18.35 up to and including 6.18.* unaffected from 7.0.12 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52923 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52923
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-52923
trivy image --scanners vuln IMAGE | grep CVE-2026-52923
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2026-52923 access.redhat.com · vdb entry
- RHBZ#2492094 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:61692 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:63189 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:52764 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:53330 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:51603 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:48386 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:49031 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:49212 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:49857 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:47248 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:52649 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:49851 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:51604 access.redhat.com · vendor advisory
Other references
- https://git.kernel.org/stable/c/3bbe2bb9111ce6967a951bfac79af142d816fae5 git.kernel.org
- https://git.kernel.org/stable/c/8c58a92849175f5e2ab7bc2734b3b89afe79f6ef git.kernel.org
- https://git.kernel.org/stable/c/af24e202b543ded8a34f1d5d3db54eb916173f04 git.kernel.org
- https://git.kernel.org/stable/c/157ce2c6836ce0ff19108a819f38df061345425f git.kernel.org
- https://git.kernel.org/stable/c/41058d4c3f63ab64901560a704882e0565f4e456 git.kernel.org
- https://git.kernel.org/stable/c/a3cc795129e5ec0f8948653a3bf471e7d8852f5e git.kernel.org
- https://git.kernel.org/stable/c/bd4be70669af55b974860d13680348cfdf50bbed git.kernel.org
- https://git.kernel.org/stable/c/fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139 git.kernel.org
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52923.json security.access.redhat.com
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-52923 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse