CVSS 3.1
Вероятност да бъде експлоатирана в следващите 30 дни (EPSS)
Атакува се
Време до експлоатация
Атакува се локално, без особени условия, с обикновен потребителски вход и без действие от потребителя.
- Експлоатация: няма данни за експлоатация
- Атаката не може да се автоматизира
Описание
Оригинално описание
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.
Засегнати продукти
- Linux Linux: 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди 3bbe2bb9111ce6967a951bfac79af142d816fae5; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди 8c58a92849175f5e2ab7bc2734b3b89afe79f6ef; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди af24e202b543ded8a34f1d5d3db54eb916173f04; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди 157ce2c6836ce0ff19108a819f38df061345425f; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди 41058d4c3f63ab64901560a704882e0565f4e456; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди a3cc795129e5ec0f8948653a3bf471e7d8852f5e; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди bd4be70669af55b974860d13680348cfdf50bbed; 03f595668017f1a1fb971c02fc37140bc6e7bb1c преди fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139
- Linux Linux: 3.8; преди 3.8; 5.10.259 до 5.10.*; 5.15.210 до 5.15.*; 6.1.176 до 6.1.*; 6.6.143 до 6.6.*; 6.12.93 до 6.12.*; 6.18.35 до 6.18.*; 7.0.12 до 7.0.*; от 7.1 нататък
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: всички версии
Red Hat: още 13 продукта, добавени от Red Hat
Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat Enterprise Linux 6
Вид слабост
История
- 24 юни 2026 Публикувано
Други уязвимости в Linux Linux
Първоизточници
- https://www.cve.org/CVERecord?id=CVE-2026-52923
- https://nvd.nist.gov/vuln/detail/CVE-2026-52923
- https://git.kernel.org/stable/c/3bbe2bb9111ce6967a951bfac79af142d816fae5
- https://git.kernel.org/stable/c/8c58a92849175f5e2ab7bc2734b3b89afe79f6ef
- https://git.kernel.org/stable/c/af24e202b543ded8a34f1d5d3db54eb916173f04
- https://git.kernel.org/stable/c/157ce2c6836ce0ff19108a819f38df061345425f
- https://git.kernel.org/stable/c/41058d4c3f63ab64901560a704882e0565f4e456
- https://git.kernel.org/stable/c/a3cc795129e5ec0f8948653a3bf471e7d8852f5e
- https://git.kernel.org/stable/c/bd4be70669af55b974860d13680348cfdf50bbed
- https://git.kernel.org/stable/c/fa0b9b2b7ae3539908d69c2b9ac0d144d9bc5139
- https://access.redhat.com/security/cve/CVE-2026-52923
- https://bugzilla.redhat.com/show_bug.cgi?id=2492094
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52923.json
- https://access.redhat.com/errata/RHSA-2026:61692
- https://access.redhat.com/errata/RHSA-2026:63189
- https://access.redhat.com/errata/RHSA-2026:52764
- https://access.redhat.com/errata/RHSA-2026:53330
- https://access.redhat.com/errata/RHSA-2026:51603
- https://access.redhat.com/errata/RHSA-2026:48386
- https://access.redhat.com/errata/RHSA-2026:49031
- https://access.redhat.com/errata/RHSA-2026:49212
- https://access.redhat.com/errata/RHSA-2026:49857
- https://access.redhat.com/errata/RHSA-2026:47248
- https://access.redhat.com/errata/RHSA-2026:52649
- https://access.redhat.com/errata/RHSA-2026:49851
- https://access.redhat.com/errata/RHSA-2026:51604
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html