drm: Account property blob allocations to memcg
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.252, Kernel 5.15.202, Kernel 6.1.165 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: drm: Account property blob allocations to memcg DRM_IOCTL_MODE_CREATEPROPBLOB allows userspace to allocate arbitrary-sized property blobs backed by kernel memory. Currently, the blob data allocation is not accounted to the allocating process's memory cgroup, allowing unprivileged users to trigger unbounded kernel memory consumption and potentially cause system-wide OOM. Mark the property blob data allocation with GFP_KERNEL_ACCOUNT so that the memory is properly charged to the caller's memcg. This ensures existing cgroup memory limits apply and prevents uncontrolled kernel memory growth without introducing additional policy or per-file limits.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.2 <5.10.252, >=5.11 <5.15.202, >=5.16 <6.1.165, >=6.13 <6.18.16, >=6.19 <6.19.6, >=6.2 <6.6.128, >=6.7 <6.12.75, =7.0, >=e2f5d2ea479b9b2619965d43db70939589afe43a <405fd652d8fedff219a8f48daf8f20e881e303ab, >=e2f5d2ea479b9b2619965d43db70939589afe43a <815fa29cab3c67bebb9d0b5f41145cdd3a14d04d, >=e2f5d2ea479b9b2619965d43db70939589afe43a <866e0c1a9e7244d58ed74853cb22b81e1900cfdd, >=e2f5d2ea479b9b2619965d43db70939589afe43a <8e1664b9ee43608eb973d357ae5d858d30cbc9ca, >=e2f5d2ea479b9b2619965d43db70939589afe43a <b6117210ed349356f8e6027ff020b4d620bca42b, >=e2f5d2ea479b9b2619965d43db70939589afe43a <bbfaa5761f589a81031b493cb01275a990d6fb25, >=e2f5d2ea479b9b2619965d43db70939589afe43a <cb8b9a1755fe9f38e4fb7f287486d7e7fab3dba4, =4.2, >=e2f5d2ea479b9b2619965d43db70939589afe43a <26b4309a3ab82a0697751cde52eb336c29c19035 | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75, 405fd652d8fedff219a8f48daf8f20e881e303ab, 815fa29cab3c67bebb9d0b5f41145cdd3a14d04d, 866e0c1a9e7244d58ed74853cb22b81e1900cfdd, 8e1664b9ee43608eb973d357ae5d858d30cbc9ca, b6117210ed349356f8e6027ff020b4d620bca42b, bbfaa5761f589a81031b493cb01275a990d6fb25, cb8b9a1755fe9f38e4fb7f287486d7e7fab3dba4, 26b4309a3ab82a0697751cde52eb336c29c19035 |
| linux-kernel: Kernel | >=4.2.0 <5.10.252, >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=6.13.0 <6.18.16, >=6.19.0 <6.19.6, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket