{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/v3d: Disable preemption while updating GPU stats\n\nWe forgot to disable preemption around the write_seqcount_begin/end() pair\nwhile updating GPU stats:\n\n  [ ] WARNING: CPU: 2 PID: 12 at include/linux/seqlock.h:221 __seqprop_assert.isra.0+0x128/0x150 [v3d]\n  [ ] Workqueue: v3d_bin drm_sched_run_job_work [gpu_sched]\n <...snip...>\n  [ ] Call trace:\n  [ ]  __seqprop_assert.isra.0+0x128/0x150 [v3d]\n  [ ]  v3d_job_start_stats.isra.0+0x90/0x218 [v3d]\n  [ ]  v3d_bin_job_run+0x23c/0x388 [v3d]\n  [ ]  drm_sched_run_job_work+0x520/0x6d0 [gpu_sched]\n  [ ]  process_one_work+0x62c/0xb48\n  [ ]  worker_thread+0x468/0x5b0\n  [ ]  kthread+0x1c4/0x1e0\n  [ ]  ret_from_fork+0x10/0x20\n\nFix it."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/gpu/drm/v3d/v3d_sched.c"
               ],
               "versions": [
                  {
                     "version": "6abe93b621ab",
                     "lessThan": "1e93467ef203",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "6abe93b621ab",
                     "lessThan": "9d824c7fce58",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/gpu/drm/v3d/v3d_sched.c"
               ],
               "versions": [
                  {
                     "version": "6.10",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "6.10",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.10.8",
                     "lessThanOrEqual": "6.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.11",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/1e93467ef20308da5a94cde548ee17d523e8ba7b"
            },
            {
               "url": "https://git.kernel.org/stable/c/9d824c7fce58f59982228aa85b0376b113cdfa35"
            }
         ],
         "title": "drm/v3d: Disable preemption while updating GPU stats",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-46699",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
