CVE-2022-49532 (GCVE-0-2022-49532)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:13 – Updated: 2025-12-23 13:24
VLAI?
Title
drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes drm_cvt_mode may return NULL and we should check it. This bug is found by syzkaller: FAULT_INJECTION stacktrace: [ 168.567394] FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 [ 168.567403] CPU: 1 PID: 6425 Comm: syz Kdump: loaded Not tainted 4.19.90-vhulk2201.1.0.h1035.kasan.eulerosv2r10.aarch64 #1 [ 168.567406] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 [ 168.567408] Call trace: [ 168.567414] dump_backtrace+0x0/0x310 [ 168.567418] show_stack+0x28/0x38 [ 168.567423] dump_stack+0xec/0x15c [ 168.567427] should_fail+0x3ac/0x3d0 [ 168.567437] __should_failslab+0xb8/0x120 [ 168.567441] should_failslab+0x28/0xc0 [ 168.567445] kmem_cache_alloc_trace+0x50/0x640 [ 168.567454] drm_mode_create+0x40/0x90 [ 168.567458] drm_cvt_mode+0x48/0xc78 [ 168.567477] virtio_gpu_conn_get_modes+0xa8/0x140 [virtio_gpu] [ 168.567485] drm_helper_probe_single_connector_modes+0x3a4/0xd80 [ 168.567492] drm_mode_getconnector+0x2e0/0xa70 [ 168.567496] drm_ioctl_kernel+0x11c/0x1d8 [ 168.567514] drm_ioctl+0x558/0x6d0 [ 168.567522] do_vfs_ioctl+0x160/0xf30 [ 168.567525] ksys_ioctl+0x98/0xd8 [ 168.567530] __arm64_sys_ioctl+0x50/0xc8 [ 168.567536] el0_svc_common+0xc8/0x320 [ 168.567540] el0_svc_handler+0xf8/0x160 [ 168.567544] el0_svc+0x10/0x218 KASAN stacktrace: [ 168.567561] BUG: KASAN: null-ptr-deref in virtio_gpu_conn_get_modes+0xb4/0x140 [virtio_gpu] [ 168.567565] Read of size 4 at addr 0000000000000054 by task syz/6425 [ 168.567566] [ 168.567571] CPU: 1 PID: 6425 Comm: syz Kdump: loaded Not tainted 4.19.90-vhulk2201.1.0.h1035.kasan.eulerosv2r10.aarch64 #1 [ 168.567573] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 [ 168.567575] Call trace: [ 168.567578] dump_backtrace+0x0/0x310 [ 168.567582] show_stack+0x28/0x38 [ 168.567586] dump_stack+0xec/0x15c [ 168.567591] kasan_report+0x244/0x2f0 [ 168.567594] __asan_load4+0x58/0xb0 [ 168.567607] virtio_gpu_conn_get_modes+0xb4/0x140 [virtio_gpu] [ 168.567612] drm_helper_probe_single_connector_modes+0x3a4/0xd80 [ 168.567617] drm_mode_getconnector+0x2e0/0xa70 [ 168.567621] drm_ioctl_kernel+0x11c/0x1d8 [ 168.567624] drm_ioctl+0x558/0x6d0 [ 168.567628] do_vfs_ioctl+0x160/0xf30 [ 168.567632] ksys_ioctl+0x98/0xd8 [ 168.567636] __arm64_sys_ioctl+0x50/0xc8 [ 168.567641] el0_svc_common+0xc8/0x320 [ 168.567645] el0_svc_handler+0xf8/0x160 [ 168.567649] el0_svc+0x10/0x218
CWE
  • CWE-476 - NULL Pointer Dereference
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < e0828456578cc8ba0a69147f7ae3428392eec287 (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < 848dd072744ea662ab3097e3c8282bee552df218 (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < edafcad84c4134ebec4bc24b29ca4497a1184eea (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < f85cb059fad03a3b33a50023be91e944bb065ae8 (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < fadc626cae99aaa1325094edc6a9e2b883f3e562 (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < 32e10aabc287f09a148ff759bb9ce70b01b0012c (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < c51d00472fa54b9b05c17789ed665c17adf3a25d (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < 0f8bc147a963686b7351aa35d1701124ffacac08 (git)
Affected: dc5698e80cf724770283e10414054662bdf6ccfa , < 194d250cdc4a40ccbd179afd522a9e9846957402 (git)
Create a notification for this product.
    Linux Linux Affected: 4.2
Unaffected: 0 , < 4.2 (semver)
Unaffected: 4.9.318 , ≤ 4.9.* (semver)
Unaffected: 4.14.283 , ≤ 4.14.* (semver)
Unaffected: 4.19.247 , ≤ 4.19.* (semver)
Unaffected: 5.4.198 , ≤ 5.4.* (semver)
Unaffected: 5.10.121 , ≤ 5.10.* (semver)
Unaffected: 5.15.46 , ≤ 5.15.* (semver)
Unaffected: 5.17.14 , ≤ 5.17.* (semver)
Unaffected: 5.18.3 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49532",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T19:37:52.324584Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-476",
                "description": "CWE-476 NULL Pointer Dereference",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T19:46:41.000Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/virtio/virtgpu_display.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e0828456578cc8ba0a69147f7ae3428392eec287",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "848dd072744ea662ab3097e3c8282bee552df218",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "edafcad84c4134ebec4bc24b29ca4497a1184eea",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "f85cb059fad03a3b33a50023be91e944bb065ae8",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "fadc626cae99aaa1325094edc6a9e2b883f3e562",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "32e10aabc287f09a148ff759bb9ce70b01b0012c",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "c51d00472fa54b9b05c17789ed665c17adf3a25d",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "0f8bc147a963686b7351aa35d1701124ffacac08",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            },
            {
              "lessThan": "194d250cdc4a40ccbd179afd522a9e9846957402",
              "status": "affected",
              "version": "dc5698e80cf724770283e10414054662bdf6ccfa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/virtio/virtgpu_display.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.318",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.283",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.318",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.283",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.247",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.121",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.46",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.14",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes\n\ndrm_cvt_mode may return NULL and we should check it.\n\nThis bug is found by syzkaller:\n\nFAULT_INJECTION stacktrace:\n[  168.567394] FAULT_INJECTION: forcing a failure.\nname failslab, interval 1, probability 0, space 0, times 1\n[  168.567403] CPU: 1 PID: 6425 Comm: syz Kdump: loaded Not tainted 4.19.90-vhulk2201.1.0.h1035.kasan.eulerosv2r10.aarch64 #1\n[  168.567406] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015\n[  168.567408] Call trace:\n[  168.567414]  dump_backtrace+0x0/0x310\n[  168.567418]  show_stack+0x28/0x38\n[  168.567423]  dump_stack+0xec/0x15c\n[  168.567427]  should_fail+0x3ac/0x3d0\n[  168.567437]  __should_failslab+0xb8/0x120\n[  168.567441]  should_failslab+0x28/0xc0\n[  168.567445]  kmem_cache_alloc_trace+0x50/0x640\n[  168.567454]  drm_mode_create+0x40/0x90\n[  168.567458]  drm_cvt_mode+0x48/0xc78\n[  168.567477]  virtio_gpu_conn_get_modes+0xa8/0x140 [virtio_gpu]\n[  168.567485]  drm_helper_probe_single_connector_modes+0x3a4/0xd80\n[  168.567492]  drm_mode_getconnector+0x2e0/0xa70\n[  168.567496]  drm_ioctl_kernel+0x11c/0x1d8\n[  168.567514]  drm_ioctl+0x558/0x6d0\n[  168.567522]  do_vfs_ioctl+0x160/0xf30\n[  168.567525]  ksys_ioctl+0x98/0xd8\n[  168.567530]  __arm64_sys_ioctl+0x50/0xc8\n[  168.567536]  el0_svc_common+0xc8/0x320\n[  168.567540]  el0_svc_handler+0xf8/0x160\n[  168.567544]  el0_svc+0x10/0x218\n\nKASAN stacktrace:\n[  168.567561] BUG: KASAN: null-ptr-deref in virtio_gpu_conn_get_modes+0xb4/0x140 [virtio_gpu]\n[  168.567565] Read of size 4 at addr 0000000000000054 by task syz/6425\n[  168.567566]\n[  168.567571] CPU: 1 PID: 6425 Comm: syz Kdump: loaded Not tainted 4.19.90-vhulk2201.1.0.h1035.kasan.eulerosv2r10.aarch64 #1\n[  168.567573] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015\n[  168.567575] Call trace:\n[  168.567578]  dump_backtrace+0x0/0x310\n[  168.567582]  show_stack+0x28/0x38\n[  168.567586]  dump_stack+0xec/0x15c\n[  168.567591]  kasan_report+0x244/0x2f0\n[  168.567594]  __asan_load4+0x58/0xb0\n[  168.567607]  virtio_gpu_conn_get_modes+0xb4/0x140 [virtio_gpu]\n[  168.567612]  drm_helper_probe_single_connector_modes+0x3a4/0xd80\n[  168.567617]  drm_mode_getconnector+0x2e0/0xa70\n[  168.567621]  drm_ioctl_kernel+0x11c/0x1d8\n[  168.567624]  drm_ioctl+0x558/0x6d0\n[  168.567628]  do_vfs_ioctl+0x160/0xf30\n[  168.567632]  ksys_ioctl+0x98/0xd8\n[  168.567636]  __arm64_sys_ioctl+0x50/0xc8\n[  168.567641]  el0_svc_common+0xc8/0x320\n[  168.567645]  el0_svc_handler+0xf8/0x160\n[  168.567649]  el0_svc+0x10/0x218"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:24:26.833Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e0828456578cc8ba0a69147f7ae3428392eec287"
        },
        {
          "url": "https://git.kernel.org/stable/c/848dd072744ea662ab3097e3c8282bee552df218"
        },
        {
          "url": "https://git.kernel.org/stable/c/edafcad84c4134ebec4bc24b29ca4497a1184eea"
        },
        {
          "url": "https://git.kernel.org/stable/c/f85cb059fad03a3b33a50023be91e944bb065ae8"
        },
        {
          "url": "https://git.kernel.org/stable/c/fadc626cae99aaa1325094edc6a9e2b883f3e562"
        },
        {
          "url": "https://git.kernel.org/stable/c/32e10aabc287f09a148ff759bb9ce70b01b0012c"
        },
        {
          "url": "https://git.kernel.org/stable/c/c51d00472fa54b9b05c17789ed665c17adf3a25d"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f8bc147a963686b7351aa35d1701124ffacac08"
        },
        {
          "url": "https://git.kernel.org/stable/c/194d250cdc4a40ccbd179afd522a9e9846957402"
        }
      ],
      "title": "drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49532",
    "datePublished": "2025-02-26T02:13:52.013Z",
    "dateReserved": "2025-02-26T02:08:31.589Z",
    "dateUpdated": "2025-12-23T13:24:26.833Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49532\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-10-01T19:37:52.324584Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL Pointer Dereference\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-10-01T16:49:34.329Z\"}}], \"cna\": {\"title\": \"drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"e0828456578cc8ba0a69147f7ae3428392eec287\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"848dd072744ea662ab3097e3c8282bee552df218\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"edafcad84c4134ebec4bc24b29ca4497a1184eea\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"f85cb059fad03a3b33a50023be91e944bb065ae8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"fadc626cae99aaa1325094edc6a9e2b883f3e562\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"32e10aabc287f09a148ff759bb9ce70b01b0012c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"c51d00472fa54b9b05c17789ed665c17adf3a25d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"0f8bc147a963686b7351aa35d1701124ffacac08\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dc5698e80cf724770283e10414054662bdf6ccfa\", \"lessThan\": \"194d250cdc4a40ccbd179afd522a9e9846957402\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/virtio/virtgpu_display.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.2\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.2\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.9.318\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.283\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.247\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.198\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.121\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.46\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.14\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.18.*\"}, {\"status\": \"unaffected\", \"version\": \"5.19\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/virtio/virtgpu_display.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/e0828456578cc8ba0a69147f7ae3428392eec287\"}, {\"url\": \"https://git.kernel.org/stable/c/848dd072744ea662ab3097e3c8282bee552df218\"}, {\"url\": \"https://git.kernel.org/stable/c/edafcad84c4134ebec4bc24b29ca4497a1184eea\"}, {\"url\": \"https://git.kernel.org/stable/c/f85cb059fad03a3b33a50023be91e944bb065ae8\"}, {\"url\": \"https://git.kernel.org/stable/c/fadc626cae99aaa1325094edc6a9e2b883f3e562\"}, {\"url\": \"https://git.kernel.org/stable/c/32e10aabc287f09a148ff759bb9ce70b01b0012c\"}, {\"url\": \"https://git.kernel.org/stable/c/c51d00472fa54b9b05c17789ed665c17adf3a25d\"}, {\"url\": \"https://git.kernel.org/stable/c/0f8bc147a963686b7351aa35d1701124ffacac08\"}, {\"url\": \"https://git.kernel.org/stable/c/194d250cdc4a40ccbd179afd522a9e9846957402\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes\\n\\ndrm_cvt_mode may return NULL and we should check it.\\n\\nThis bug is found by syzkaller:\\n\\nFAULT_INJECTION stacktrace:\\n[  168.567394] FAULT_INJECTION: forcing a failure.\\nname failslab, interval 1, probability 0, space 0, times 1\\n[  168.567403] CPU: 1 PID: 6425 Comm: syz Kdump: loaded Not tainted 4.19.90-vhulk2201.1.0.h1035.kasan.eulerosv2r10.aarch64 #1\\n[  168.567406] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015\\n[  168.567408] Call trace:\\n[  168.567414]  dump_backtrace+0x0/0x310\\n[  168.567418]  show_stack+0x28/0x38\\n[  168.567423]  dump_stack+0xec/0x15c\\n[  168.567427]  should_fail+0x3ac/0x3d0\\n[  168.567437]  __should_failslab+0xb8/0x120\\n[  168.567441]  should_failslab+0x28/0xc0\\n[  168.567445]  kmem_cache_alloc_trace+0x50/0x640\\n[  168.567454]  drm_mode_create+0x40/0x90\\n[  168.567458]  drm_cvt_mode+0x48/0xc78\\n[  168.567477]  virtio_gpu_conn_get_modes+0xa8/0x140 [virtio_gpu]\\n[  168.567485]  drm_helper_probe_single_connector_modes+0x3a4/0xd80\\n[  168.567492]  drm_mode_getconnector+0x2e0/0xa70\\n[  168.567496]  drm_ioctl_kernel+0x11c/0x1d8\\n[  168.567514]  drm_ioctl+0x558/0x6d0\\n[  168.567522]  do_vfs_ioctl+0x160/0xf30\\n[  168.567525]  ksys_ioctl+0x98/0xd8\\n[  168.567530]  __arm64_sys_ioctl+0x50/0xc8\\n[  168.567536]  el0_svc_common+0xc8/0x320\\n[  168.567540]  el0_svc_handler+0xf8/0x160\\n[  168.567544]  el0_svc+0x10/0x218\\n\\nKASAN stacktrace:\\n[  168.567561] BUG: KASAN: null-ptr-deref in virtio_gpu_conn_get_modes+0xb4/0x140 [virtio_gpu]\\n[  168.567565] Read of size 4 at addr 0000000000000054 by task syz/6425\\n[  168.567566]\\n[  168.567571] CPU: 1 PID: 6425 Comm: syz Kdump: loaded Not tainted 4.19.90-vhulk2201.1.0.h1035.kasan.eulerosv2r10.aarch64 #1\\n[  168.567573] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015\\n[  168.567575] Call trace:\\n[  168.567578]  dump_backtrace+0x0/0x310\\n[  168.567582]  show_stack+0x28/0x38\\n[  168.567586]  dump_stack+0xec/0x15c\\n[  168.567591]  kasan_report+0x244/0x2f0\\n[  168.567594]  __asan_load4+0x58/0xb0\\n[  168.567607]  virtio_gpu_conn_get_modes+0xb4/0x140 [virtio_gpu]\\n[  168.567612]  drm_helper_probe_single_connector_modes+0x3a4/0xd80\\n[  168.567617]  drm_mode_getconnector+0x2e0/0xa70\\n[  168.567621]  drm_ioctl_kernel+0x11c/0x1d8\\n[  168.567624]  drm_ioctl+0x558/0x6d0\\n[  168.567628]  do_vfs_ioctl+0x160/0xf30\\n[  168.567632]  ksys_ioctl+0x98/0xd8\\n[  168.567636]  __arm64_sys_ioctl+0x50/0xc8\\n[  168.567641]  el0_svc_common+0xc8/0x320\\n[  168.567645]  el0_svc_handler+0xf8/0x160\\n[  168.567649]  el0_svc+0x10/0x218\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.318\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.283\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.247\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.198\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.121\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.46\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.14\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18.3\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.19\", \"versionStartIncluding\": \"4.2\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-12-23T13:24:26.833Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49532\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-12-23T13:24:26.833Z\", \"dateReserved\": \"2025-02-26T02:08:31.589Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T02:13:52.013Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…