The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: syzbot <syzbot+efe2810681f1b065d3a8@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: WARNING in drm_plane_create_rotation_property
Date: Thu, 20 Aug 2026 12:14:00 -0700	[thread overview]
Message-ID: <6a8751f8.ae6ddae5.3da009.001f.GAE@google.com> (raw)
In-Reply-To: <6a870395.ae6ddae5.3da009.001b.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: WARNING in drm_plane_create_rotation_property
Author: sajal2005gupta@gmail.com

#syz test

diff --git a/drivers/gpu/drm/gud/gud_drv.c b/drivers/gpu/drm/gud/gud_drv.c
index 89bd6ca36003..3a1b9e2a2eaa 100644
--- a/drivers/gpu/drm/gud/gud_drv.c
+++ b/drivers/gpu/drm/gud/gud_drv.c
@@ -289,6 +289,8 @@ static int gud_plane_add_properties(struct gud_device *gdrm)
                         * but mask out any additions on future devices.
                         */
                        val &= GUD_ROTATION_MASK;
+                       if (!(val & GUD_ROTATION_0))
+                               continue;
                        ret = drm_plane_create_rotation_property(&gdrm->plane,

DRM_MODE_ROTATE_0, val);
                        break;

  reply	other threads:[~2026-08-20 19:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20 13:39 [syzbot] [dri?] [usb?] WARNING in drm_plane_create_rotation_property syzbot
2026-08-20 19:14 ` syzbot [this message]
2026-08-20 19:46 ` Forwarded: " syzbot
2026-08-20 19:49 ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a8751f8.ae6ddae5.3da009.001f.GAE@google.com \
    --to=syzbot+efe2810681f1b065d3a8@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox