CVE-2026-46211
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
drm/msm/gem: fix error handling in msm_ioctl_gem_info_get_metadata()
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. Patchwork: https://patchwork.freedesktop.org/patch/714478/
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 9902cb999e4e913d98e8afe4b36c08e4a793e1ce | affected | git | 697e1a9559f6962f999cc4c748c2ffffcc0a7a7a | Unavailable | None listed |
| 9902cb999e4e913d98e8afe4b36c08e4a793e1ce | affected | git | c57c861956b89f2e2528e6384d51e2dedd915809 | Unavailable | None listed |
| 9902cb999e4e913d98e8afe4b36c08e4a793e1ce | affected | git | b079e85c91f446f29e808d8291189e897f1884ff | Unavailable | None listed |
| 9902cb999e4e913d98e8afe4b36c08e4a793e1ce | affected | git | 47cbfe2608314b833ad61a65827d8fb363bc2d2d | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.8 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.8 | Unavailable | None listed |
| 6.12.90 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.32 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.0.9 | unaffected | semver | Unavailable | 7.0.* | None listed |
| 7.1 | unaffected | original_commit_for_fix | Unavailable | * | None listed |