net: wwan: iosm: validate msg_head before indexing msg_ring
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
net: wwan: iosm: validate msg_head before indexing msg_ring
ipc_protocol_free_msg_get() reads msg_head from shared memory and uses it directly as an index into msg_ring[]. If the head is out of range, the subsequent memset() writes beyond the message ring.
Validate head against IPC_MEM_MSG_ENTRIES before using it as an index. The ring is a circular buffer, so a value outside the valid range indicates a corrupted head pointer; report the error and fail the allocation instead of writing out of bounds.
| Product | Versions |
|---|---|
| Linux Linux | 64516f633bfd2f576f3a18fe72184595367d11bf to before 849c7dd9265b4b9c368e55b22a914a5d9d1dd9ee Affected64516f633bfd2f576f3a18fe72184595367d11bf to before 6375485ab416c504bc4ed0c29ec09a2427bebe39 Affected64516f633bfd2f576f3a18fe72184595367d11bf to before c8391d2e89b809d07c980680a385efed54d90f9a Affected64516f633bfd2f576f3a18fe72184595367d11bf to before e2730951db372af27810e7506121b3715459910f Affected64516f633bfd2f576f3a18fe72184595367d11bf to before 7511c1c4baa944dd73f724566bf78abf15944502 Affected64516f633bfd2f576f3a18fe72184595367d11bf to before 3f57fc88f13d89e1e7a24af5a46c0e6ab680ce56 Affected64516f633bfd2f576f3a18fe72184595367d11bf to before 46cbf85155e5451b6682ea0c17bc62ec564aec36 Affected |
| Linux Linux | 5.14 Affectedbefore 5.14 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/849c7dd9265b4b9c368e55b22a914a5d9d1dd9ee
- https://git.kernel.org/stable/c/6375485ab416c504bc4ed0c29ec09a2427bebe39
- https://git.kernel.org/stable/c/c8391d2e89b809d07c980680a385efed54d90f9a
- https://git.kernel.org/stable/c/e2730951db372af27810e7506121b3715459910f
- https://git.kernel.org/stable/c/7511c1c4baa944dd73f724566bf78abf15944502
- https://git.kernel.org/stable/c/3f57fc88f13d89e1e7a24af5a46c0e6ab680ce56
- https://git.kernel.org/stable/c/46cbf85155e5451b6682ea0c17bc62ec564aec36
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.