PT-2026-44334 · Linux · Linux

Published

2026-05-28

·

Updated

2026-05-28

·

CVE-2026-46211

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/gem: fix error handling in msm ioctl gem info get metadata()
msm ioctl gem info get metadata() always returns 0 regardless of errors. When copy to user() fails or the user buffer is too small, the error code stored in ret is ignored because the function unconditionally returns 0. This causes userspace to believe the ioctl succeeded when it did not.
Additionally, kmemdup() can return NULL on allocation failure, but the return value is not checked. This leads to a NULL pointer dereference in the subsequent copy to user() call.
Add the missing NULL check for kmemdup() and return ret instead of 0.
Note that the SET counterpart (msm ioctl gem info set metadata) correctly returns ret.

Related Identifiers

CVE-2026-46211

Affected Products

Linux