Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49532

MEDIUM 5.5EPSS 18%

drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes

Mitigation

  • Upgrade Linux to 194d250cdc4a40ccbd179afd522a9e9846957402 or later.

Who should check

  • Anyone running Linux >= dc5698e80cf724770283e10414054662bdf6ccfa, < e0828456578cc8ba0a69147f7ae3428392eec287; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 848dd072744ea662ab3097e3c8282bee552df218; >= dc5698e80cf724770283e10414054662bdf6ccfa, < edafcad84c4134ebec4bc24b29ca4497a1184eea; >= dc5698e80cf724770283e10414054662bdf6ccfa, < f85cb059fad03a3b33a50023be91e944bb065ae8; >= dc5698e80cf724770283e10414054662bdf6ccfa, < fadc626cae99aaa1325094edc6a9e2b883f3e562; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 32e10aabc287f09a148ff759bb9ce70b01b0012c; >= dc5698e80cf724770283e10414054662bdf6ccfa, < c51d00472fa54b9b05c17789ed665c17adf3a25d; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 0f8bc147a963686b7351aa35d1701124ffacac08; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 194d250cdc4a40ccbd179afd522a9e9846957402
  • Anyone running Linux 4.2

Vulnerability facts

Affected
Linux >= dc5698e80cf724770283e10414054662bdf6ccfa, < e0828456578cc8ba0a69147f7ae3428392eec287; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 848dd072744ea662ab3097e3c8282bee552df218; >= dc5698e80cf724770283e10414054662bdf6ccfa, < edafcad84c4134ebec4bc24b29ca4497a1184eea; >= dc5698e80cf724770283e10414054662bdf6ccfa, < f85cb059fad03a3b33a50023be91e944bb065ae8; >= dc5698e80cf724770283e10414054662bdf6ccfa, < fadc626cae99aaa1325094edc6a9e2b883f3e562; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 32e10aabc287f09a148ff759bb9ce70b01b0012c; >= dc5698e80cf724770283e10414054662bdf6ccfa, < c51d00472fa54b9b05c17789ed665c17adf3a25d; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 0f8bc147a963686b7351aa35d1701124ffacac08; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 194d250cdc4a40ccbd179afd522a9e9846957402; Linux 4.2
Fixed in
Linux 848dd072744ea662ab3097e3c8282bee552df218, Linux 32e10aabc287f09a148ff759bb9ce70b01b0012c, Linux 0f8bc147a963686b7351aa35d1701124ffacac08, Linux 194d250cdc4a40ccbd179afd522a9e9846957402
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= dc5698e80cf724770283e10414054662bdf6ccfa, < e0828456578cc8ba0a69147f7ae3428392eec287; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 848dd072744ea662ab3097e3c8282bee552df218; >= dc5698e80cf724770283e10414054662bdf6ccfa, < edafcad84c4134ebec4bc24b29ca4497a1184eea; >= dc5698e80cf724770283e10414054662bdf6ccfa, < f85cb059fad03a3b33a50023be91e944bb065ae8; >= dc5698e80cf724770283e10414054662bdf6ccfa, < fadc626cae99aaa1325094edc6a9e2b883f3e562; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 32e10aabc287f09a148ff759bb9ce70b01b0012c; >= dc5698e80cf724770283e10414054662bdf6ccfa, < c51d00472fa54b9b05c17789ed665c17adf3a25d; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 0f8bc147a963686b7351aa35d1701124ffacac08; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 194d250cdc4a40ccbd179afd522a9e9846957402—cvelist
Linux4.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-49532. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49532.md
Affected: Linux >= dc5698e80cf724770283e10414054662bdf6ccfa, < e0828456578cc8ba0a69147f7ae3428392eec287; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 848dd072744ea662ab3097e3c8282bee552df218; >= dc5698e80cf724770283e10414054662bdf6ccfa, < edafcad84c4134ebec4bc24b29ca4497a1184eea; >= dc5698e80cf724770283e10…
Fixed in: Linux 848dd072744ea662ab3097e3c8282bee552df218, Linux 32e10aabc287f09a148ff759bb9ce70b01b0012c, Linux 0f8bc147a963686b7351aa35d1701124ffacac08, Linux 194d250cdc4a40ccbd179afd522a9e9846957402

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-49532 being exploited?

There is no confirmed exploitation: CVE-2022-49532 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-49532?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-49532?

Linux >= dc5698e80cf724770283e10414054662bdf6ccfa, < e0828456578cc8ba0a69147f7ae3428392eec287; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 848dd072744ea662ab3097e3c8282bee552df218; >= dc5698e80cf724770283e10414054662bdf6ccfa, < edafcad84c4134ebec4bc24b29ca4497a1184eea; >= dc5698e80cf724770283e10414054662bdf6ccfa, < f85cb059fad03a3b33a50023be91e944bb065ae8; >= dc5698e80cf724770283e10414054662bdf6ccfa, < fadc626cae99aaa1325094edc6a9e2b883f3e562; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 32e10aabc287f09a148ff759bb9ce70b01b0012c; >= dc5698e80cf724770283e10414054662bdf6ccfa, < c51d00472fa54b9b05c17789ed665c17adf3a25d; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 0f8bc147a963686b7351aa35d1701124ffacac08; >= dc5698e80cf724770283e10414054662bdf6ccfa, < 194d250cdc4a40ccbd179afd522a9e9846957402; Linux 4.2.

Is there a fix for CVE-2022-49532?

Yes. Fixed in Linux 848dd072744ea662ab3097e3c8282bee552df218, Linux 32e10aabc287f09a148ff759bb9ce70b01b0012c, Linux 0f8bc147a963686b7351aa35d1701124ffacac08, Linux 194d250cdc4a40ccbd179afd522a9e9846957402. Upgrade Linux to 194d250cdc4a40ccbd179afd522a9e9846957402 or later.

How do I check if I'm affected by CVE-2022-49532?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors