From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C6DC221726 for ; Fri, 16 Jan 2026 10:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768559204; cv=none; b=bboQgK//63405sR54PSR2zPC50cfLRJOBYrDTfbgxVbfmCzAmu2YAOtULuyY4H4Xtahi0b7rVHYRtJgQBHw7cz4csgKALI6F9xSeUqj8ZalrwBvxo2zNIGFPYYJ4qMQbO5hzpOKXaad2N6FFnwYu+CcdGZPMz8UdXDbLjmaKZvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768559204; c=relaxed/simple; bh=qfp7Ur/bnxqvF2Err/rpfkSDRZZPSrFRxIl4oN/ARLQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Plc/q8mnoX8KYOl/bKhgmPf59yTgJuyBhFJdIBW3CQ7P4MyL1oPvq4N35QHocsDVD+1f5J4TAjsMt7UvoTVcCRgy8ioiVpseoEr2eogkSaKLkx17JkiWbQ8Xu0JDyurFs1DiS/PVqGfrdo1zmV4GXWp6HEkrTe5isNUFOACgqwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UsZann3g; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UsZann3g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A962C116C6; Fri, 16 Jan 2026 10:26:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768559203; bh=qfp7Ur/bnxqvF2Err/rpfkSDRZZPSrFRxIl4oN/ARLQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UsZann3gs/kmfe3qQdwd9i1Q0SKXmANTerW5t2HK8QgbLHMONDuVHT0n5Bnxzst/3 sFUYmPyelHkhcYWBIq8wtcJshSiyx6NOO+Hd7rsDfqUc3c8x1LzG3wndp+NLgBA3w8 aBn/UOT5Mjn7SsplN6lFBk/tphQkML8m3xTF7TZS8+AZo5OtqySHQnYJ6neOS7yBz9 85kny/g6/3Fgts3IUQtFAwQ7tui4RfaGFLBHiJRUvQpZl/5POFgt5rDCgrcAdOX6zt o/tWXXcJyyIDleBGPjBdd96g0WFkTCIC9cWGgxxL70OnsrE7DpsuvetqJuZYfNPx6i 5u1V0MtytQ3iQ== From: Maxime Ripard To: maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Xiao Kan <814091656@qq.com> Cc: Maxime Ripard , w@1wt.eu, security@kernel.org, kanxiao666@gmail.com, xiao.kan@samsung.com Subject: Re: [PATCH v3] drm: Account property blob allocations to memcg Date: Fri, 16 Jan 2026 11:26:34 +0100 Message-ID: <176855919221.1290479.4679401019876597826.b4-ty@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: <20260113-kickass-sensible-basilisk-66d487@houat> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Wed, 14 Jan 2026 08:22:26 -0500, Xiao Kan wrote: > 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. > > [...] Applied to misc/kernel.git (drm-misc-next). Thanks! Maxime