{"id":"CVE-2026-143090","state":"PUBLISHED","title":"xen/pvcalls: unwind pvcalls_new_active_socket() step by step","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen/pvcalls: unwind pvcalls_new_active_socket() step by step\n\nEvery error path in pvcalls_new_active_socket() jumps to one shared label\nthat does list_del(&map->list) and then hands map to\npvcalls_back_release_active().  But map comes from kzalloc() and its\nlist_head is only published at the very end of the function, after the last\nof those jumps:\n\n\tdown(&fedata->socket_lock);\n\tlist_add_tail(&map->list, &fedata->socket_mappings);\n\tup(&fedata->socket_lock);\n\nso on the error path map->list is still {NULL, NULL} and __list_del()\nwrites through a NULL pointer.\n\nA frontend gets there with one value it owns: the ring_order field of the\npage it granted.  Anything above MAX_RING_ORDER takes the second goto, and\nnothing else in the function has run by then.\n\nThe result is an oops in whichever context handled the request - the\npvcalls-back threaded IRQ handler for PVCALLS_CONNECT, mappass->wq for\nPVCALLS_ACCEPT - and because it happens after down(&fedata->socket_lock)\nthat semaphore is never released, so every later operation on the frontend\nblocks on it and the backend never completes backend_disconnect().  (With\nCONFIG_DEBUG_LIST the list_del() only reports and returns, and\npvcalls_back_release_active() then runs on a map whose irq is still 0 and\nwhose bytes, ioworker.wq and saved_data_ready are all NULL.)\n\nA frontend asking for ring_order 5, on a dom0 built with KASAN\n(the request was issued by a test-only change to the frontend):\n\n[  133.728877] pvcalls_new_active_socket frontend requested ring_order 5, which is > MAX (4)\n[  133.732868] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI\n[  133.737910] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\n[  133.741666] CPU: 0 UID: 0 PID: 133 Comm: irq/39-pvcalls- Not tainted 7.3.0-kCTLblk2-15482-g21a7f44fd076-dirty #1 PREEMPT(full)\n[  133.746986] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n[  133.751512] RIP: 0010:pvcalls_new_active_socket+0x821/0xb90\n[  133.754237] Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 f6 01 00 00 48 8d 79 08 4c 8b 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 14 02 00 00 4c 89 ea 4c 89 69 08 48 b8 00 00 00\n[  133.763126] RSP: 0018:ffffc900004afb38 EFLAGS: 00010202\n[  133.765861] RAX: dffffc0000000000 RBX: ffff88810886c900 RCX: 0000000000000000\n[  133.769348] RDX: 0000000000000001 RSI: 0000000000000246 RDI: 0000000000000008\n[  133.772787] RBP: 1ffff92000095f6b R08: 0000000000000001 R09: fffff52000095f58\n[  133.776260] R10: 0000000000000003 R11: ffff888100077320 R12: ffff88810858b410\n[  133.779823] R13: 0000000000000000 R14: ffff88810858b460 R15: ffff88810858b400\n[  133.783382] FS:  0000000000000000(0000) GS:ffff8881b034c000(0000) knlGS:0000000000000000\n[  133.787351] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[  133.790308] CR2: 00000000006042c0 CR3: 0000000108400001 CR4: 0000000000770ef0\n[  133.793822] PKRU: 55555554\n[  133.795347] Call Trace:\n[  133.796778]  <TASK>\n[  133.798082]  ? __pfx_pvcalls_new_active_socket+0x10/0x10\n[  133.800801]  ? security_socket_post_create+0x4d/0x60\n[  133.803275]  ? release_sock+0x1a/0x1d0\n[  133.805182]  pvcalls_back_event+0x1b09/0x23e0\n[  133.807431]  ? __pfx_pvcalls_back_event+0x10/0x10\n[  133.809814]  ? __pfx__raw_spin_lock_irqsave+0x10/0x10\n[  133.812251]  ? __pfx_pvcalls_back_event+0x10/0x10\n[  133.814554]  irq_thread_fn+0x86/0x150\n[  133.816468]  irq_thread+0x2da/0x580\n[  133.818363]  ? __pfx_irq_thread_fn+0x10/0x10\n[  133.820586]  ? __pfx_irq_thread+0x10/0x10\n[  133.822670]  ? __kthread_parkme+0x88/0x170\n[  133.824803]  ? __pfx_irq_thread+0x10/0x10\n[  133.827153]  ? __pfx_irq_thread+0x10/0x10\n[  133.829304]  kthread+0x2c8/0x3b0\n[  133.831176]  ? recalc_sigpending+0x15c/0x1e0\n[  133.833570]  ? __pfx_kthread+0x10/0x10\n[  133.835572]  ret_from_fork+0x373/0x5b0\n[  133.837581]\n---truncated---","publishedAt":"2026-12-03T09:19:12.785Z","updatedAt":"2026-12-03T09:19:12.785Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"c8538c47656f400fa8d654409d270e0c4f7eb6e5","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"270cd152d1dea5356f8c9a1a7c633965600632b3","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"c9890f71bd693c50cf66b51dccd2bcfd06ea7164","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"8b7e3d38d9d81e9bda8df64ec039cb582bb09dcf","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"702ba3c80a8736898813a2c7484d695278aa114d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/pvcalls-back.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/pvcalls-back.c"]}],"references":["https://git.kernel.org/stable/c/c8538c47656f400fa8d654409d270e0c4f7eb6e5","https://git.kernel.org/stable/c/270cd152d1dea5356f8c9a1a7c633965600632b3","https://git.kernel.org/stable/c/c9890f71bd693c50cf66b51dccd2bcfd06ea7164","https://git.kernel.org/stable/c/8b7e3d38d9d81e9bda8df64ec039cb582bb09dcf","https://git.kernel.org/stable/c/702ba3c80a8736898813a2c7484d695278aa114d"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143090.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143090","state":"PUBLISHED","datePublished":"2026-12-03T09:19:12.785Z","dateUpdated":"2026-12-03T09:19:12.785Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.347Z"},"containers":{"cna":{"title":"xen/pvcalls: unwind pvcalls_new_active_socket() step by step","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen/pvcalls: unwind pvcalls_new_active_socket() step by step\n\nEvery error path in pvcalls_new_active_socket() jumps to one shared label\nthat does list_del(&map->list) and then hands map to\npvcalls_back_release_active().  But map comes from kzalloc() and its\nlist_head is only published at the very end of the function, after the last\nof those jumps:\n\n\tdown(&fedata->socket_lock);\n\tlist_add_tail(&map->list, &fedata->socket_mappings);\n\tup(&fedata->socket_lock);\n\nso on the error path map->list is still {NULL, NULL} and __list_del()\nwrites through a NULL pointer.\n\nA frontend gets there with one value it owns: the ring_order field of the\npage it granted.  Anything above MAX_RING_ORDER takes the second goto, and\nnothing else in the function has run by then.\n\nThe result is an oops in whichever context handled the request - the\npvcalls-back threaded IRQ handler for PVCALLS_CONNECT, mappass->wq for\nPVCALLS_ACCEPT - and because it happens after down(&fedata->socket_lock)\nthat semaphore is never released, so every later operation on the frontend\nblocks on it and the backend never completes backend_disconnect().  (With\nCONFIG_DEBUG_LIST the list_del() only reports and returns, and\npvcalls_back_release_active() then runs on a map whose irq is still 0 and\nwhose bytes, ioworker.wq and saved_data_ready are all NULL.)\n\nA frontend asking for ring_order 5, on a dom0 built with KASAN\n(the request was issued by a test-only change to the frontend):\n\n[  133.728877] pvcalls_new_active_socket frontend requested ring_order 5, which is > MAX (4)\n[  133.732868] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI\n[  133.737910] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\n[  133.741666] CPU: 0 UID: 0 PID: 133 Comm: irq/39-pvcalls- Not tainted 7.3.0-kCTLblk2-15482-g21a7f44fd076-dirty #1 PREEMPT(full)\n[  133.746986] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n[  133.751512] RIP: 0010:pvcalls_new_active_socket+0x821/0xb90\n[  133.754237] Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 f6 01 00 00 48 8d 79 08 4c 8b 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 14 02 00 00 4c 89 ea 4c 89 69 08 48 b8 00 00 00\n[  133.763126] RSP: 0018:ffffc900004afb38 EFLAGS: 00010202\n[  133.765861] RAX: dffffc0000000000 RBX: ffff88810886c900 RCX: 0000000000000000\n[  133.769348] RDX: 0000000000000001 RSI: 0000000000000246 RDI: 0000000000000008\n[  133.772787] RBP: 1ffff92000095f6b R08: 0000000000000001 R09: fffff52000095f58\n[  133.776260] R10: 0000000000000003 R11: ffff888100077320 R12: ffff88810858b410\n[  133.779823] R13: 0000000000000000 R14: ffff88810858b460 R15: ffff88810858b400\n[  133.783382] FS:  0000000000000000(0000) GS:ffff8881b034c000(0000) knlGS:0000000000000000\n[  133.787351] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[  133.790308] CR2: 00000000006042c0 CR3: 0000000108400001 CR4: 0000000000770ef0\n[  133.793822] PKRU: 55555554\n[  133.795347] Call Trace:\n[  133.796778]  <TASK>\n[  133.798082]  ? __pfx_pvcalls_new_active_socket+0x10/0x10\n[  133.800801]  ? security_socket_post_create+0x4d/0x60\n[  133.803275]  ? release_sock+0x1a/0x1d0\n[  133.805182]  pvcalls_back_event+0x1b09/0x23e0\n[  133.807431]  ? __pfx_pvcalls_back_event+0x10/0x10\n[  133.809814]  ? __pfx__raw_spin_lock_irqsave+0x10/0x10\n[  133.812251]  ? __pfx_pvcalls_back_event+0x10/0x10\n[  133.814554]  irq_thread_fn+0x86/0x150\n[  133.816468]  irq_thread+0x2da/0x580\n[  133.818363]  ? __pfx_irq_thread_fn+0x10/0x10\n[  133.820586]  ? __pfx_irq_thread+0x10/0x10\n[  133.822670]  ? __kthread_parkme+0x88/0x170\n[  133.824803]  ? __pfx_irq_thread+0x10/0x10\n[  133.827153]  ? __pfx_irq_thread+0x10/0x10\n[  133.829304]  kthread+0x2c8/0x3b0\n[  133.831176]  ? recalc_sigpending+0x15c/0x1e0\n[  133.833570]  ? __pfx_kthread+0x10/0x10\n[  133.835572]  ret_from_fork+0x373/0x5b0\n[  133.837581]\n---truncated---"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"c8538c47656f400fa8d654409d270e0c4f7eb6e5","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"270cd152d1dea5356f8c9a1a7c633965600632b3","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"c9890f71bd693c50cf66b51dccd2bcfd06ea7164","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"8b7e3d38d9d81e9bda8df64ec039cb582bb09dcf","versionType":"git"},{"version":"5db4d286a8ef88a04247a005df9cdd4bce3c7673","status":"affected","lessThan":"702ba3c80a8736898813a2c7484d695278aa114d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/pvcalls-back.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/pvcalls-back.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c8538c47656f400fa8d654409d270e0c4f7eb6e5"},{"url":"https://git.kernel.org/stable/c/270cd152d1dea5356f8c9a1a7c633965600632b3"},{"url":"https://git.kernel.org/stable/c/c9890f71bd693c50cf66b51dccd2bcfd06ea7164"},{"url":"https://git.kernel.org/stable/c/8b7e3d38d9d81e9bda8df64ec039cb582bb09dcf"},{"url":"https://git.kernel.org/stable/c/702ba3c80a8736898813a2c7484d695278aa114d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:12.785Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}