PT-2025-44099 · Linux+2 · Linux Kernel+2
Published
2025-09-22
·
Updated
2026-05-07
·
CVE-2025-40031
CVSS v2.0
6.0
Medium
| Vector | AV:L/AC:H/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a flaw in the
register shm helper() function related to incorrect error handling during a call to iov iter extract pages(). Specifically, a missing case exists where iov iter extract pages() returns a value greater than zero but less than the requested amount of pages. This can lead to a potential NULL pointer dereference when processing input from the TEE IOC SHM REGISTER ioctl call, where portions of the buffer are not mapped.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu