{"api_version":"1","generated_at":"2026-10-21T03:22:30+00:00","cve":"CVE-2026-98511","urls":{"html":"https://cve.report/CVE-2026-98511","api":"https://cve.report/api/cve/CVE-2026-98511.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98511","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98511"},"summary":{"title":"drm/nouveau: don't bump pin count on failed re-pin in nouveau_bo_pin_locked()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: don't bump pin count on failed re-pin in nouveau_bo_pin_locked()\n\nnouveau_bo_pin_locked() checks whether an already pinned BO is in a\nmemory domain compatible with a new pin request. When the domains are\nincompatible, it sets -EBUSY but still calls ttm_bo_pin() before\nreturning.\n\nCallers treat a failed nouveau_bo_pin() as not having acquired a new pin,\nso the extra pin count is never decreased by a matching unpin.\nThis triggers the warning in ttm_bo_release():\n\n\tWARN_ON_ONCE(bo->pin_count);\n\nFound when fuzzing the nouveau driver with a modified Syzkaller:\n\n\tWARNING: drivers/gpu/drm/ttm/ttm_bo.c:256 at ttm_bo_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm_bo.c:256, CPU#1: syz.3.24/2212\n\tModules linked in:\n\tCPU: 1 UID: 0 PID: 2212 Comm: syz.3.24 Not tainted 7.2.0 #24 PREEMPT(lazy)\n\tnouveau 0000:01:00.0: gsp:msg fn:103 len:0x40/0x20 res:0x19 resp:0x19\n\tHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n\tRIP: 0010:ttm_bo_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm_bo.c:256\n\tCode: 02 00 0f 85 51 01 00 00 48 8b 7b 08 e8 d2 20 01 00 e9 80 fd ff ff e8 d8 15 c0 fe 90 0f 0b 90 e9 e1 f8 ff ff e8 ca 15 c0 fe 90 <0f> 0b 90 e9 a4 f8 ff ff e8 bc 15 c0 fe be 03 00 00 00 4c 89 e7 e8\n\tmsg: 00000000: 05 00 d0 c1 04 00 f0 f1 01 30 00 00 2d 90 00 00  .........0..-...\n\tRSP: 0018:ffffc9000f5cf710 EFLAGS: 00010293\n\tRAX: 0000000000000000 RBX: ffff888018e5d2a8 RCX: ffffffff82bb1b36\n\tRDX: ffff888017b68000 RSI: 0000000000000004 RDI: ffff888018e5d2a8\n\tmsg: 00000010: 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n\tRBP: ffff88801261c720 R08: 0000000000000001 R09: ffffed10031cba55\n\tR10: ffff888018e5d2ab R11: 00000000000000f3 R12: ffff888018e5d290\n\tR13: ffff888018e5d2d4 R14: ffff88801b219c18 R15: dffffc0000000000\n\tFS:  0000000000000000(0000) GS:ffff8880e0f6f000(0000) knlGS:0000000000000000\n\tCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n\tCR2: 0000001b31223ffc CR3: 0000000028e00005 CR4: 0000000000770ef0\n\tPKRU: 80000000\n\tCall Trace:\n\t<TASK>\n\tkref_put include/linux/kref.h:65 [inline]\n\tttm_bo_put drivers/gpu/drm/ttm/ttm_bo.c:325 [inline]\n\tttm_bo_fini+0x55/0x80 drivers/gpu/drm/ttm/ttm_bo.c:330\n\tnouveau_gem_object_del+0xb2/0x1b0 drivers/gpu/drm/nouveau/nouveau_gem.c:90\n\tdrm_gem_object_free+0x5f/0x90 drivers/gpu/drm/drm_gem.c:1165\n\tkref_put include/linux/kref.h:65 [inline]\n\t__drm_gem_object_put include/drm/drm_gem.h:562 [inline]\n\tdrm_gem_object_put include/drm/drm_gem.h:575 [inline]\n\tnouveau_abi16_chan_fini.constprop.0+0x44f/0x5a0 drivers/gpu/drm/nouveau/nouveau_abi16.c:195\n\tnouveau 0000:01:00.0: syz.2.23[2209]: Unknown handle 0x00000000\n\tnouveau_abi16_fini+0x1d0/0x340 drivers/gpu/drm/nouveau/nouveau_abi16.c:225\n\tnouveau_drm_postclose+0x18b/0x3e0 drivers/gpu/drm/nouveau/nouveau_drm.c:1284\n\tnouveau 0000:01:00.0: syz.2.23[2209]: validate_init\n\tdrm_file_free.part.0+0x6d6/0xb60 drivers/gpu/drm/drm_file.c:267\n\tdrm_file_free drivers/gpu/drm/drm_file.c:237 [inline]\n\tdrm_close_helper.isra.0+0x11a/0x160 drivers/gpu/drm/drm_file.c:290\n\tdrm_release+0x1ab/0x330 drivers/gpu/drm/drm_file.c:438\n\t__fput+0x39c/0xa60 fs/file_table.c:512\n\tnouveau 0000:01:00.0: syz.2.23[2209]: validate: -2\n\ttask_work_run+0x15a/0x230 kernel/task_work.c:233\n\texit_task_work include/linux/task_work.h:40 [inline]\n\tdo_exit+0x82b/0x25a0 kernel/exit.c:1009\n\tdo_group_exit+0xc2/0x280 kernel/exit.c:1152\n\tget_signal+0x1d6e/0x1f30 kernel/signal.c:3046\n\tarch_do_signal_or_restart+0x7d/0x6e0 arch/x86/kernel/signal.c:337\n\t__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]\n\texit_to_user_mode_loop+0xdf/0x440 kernel/entry/common.c:101\n\t__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]\n\tsyscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]\n\tsyscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]\n\tdo_syscall_64+0x4f8/0x690 arch/x86/entry/syscall_64.c:100\n\tentry_SYSCALL_64_after_hwframe+0x77/0x7f\n\tRI\n---truncated---","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:02","updated_at":"2026-10-19 10:19:04"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a6e755acf85793a7b4d29ba27b5421af1087263f","name":"https://git.kernel.org/stable/c/a6e755acf85793a7b4d29ba27b5421af1087263f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8","name":"https://git.kernel.org/stable/c/5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee","name":"https://git.kernel.org/stable/c/73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/189ffc7b6cad6390c0695031cb6c7c63472981e8","name":"https://git.kernel.org/stable/c/189ffc7b6cad6390c0695031cb6c7c63472981e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9924c1d64405be8d10b906368dfb1cfe0d0c6bf0","name":"https://git.kernel.org/stable/c/9924c1d64405be8d10b906368dfb1cfe0d0c6bf0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/19f5a5839b308697824ff46e6213a2b4cb677771","name":"https://git.kernel.org/stable/c/19f5a5839b308697824ff46e6213a2b4cb677771","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6a6870d3077faa501ca97760057ddca22b68418d","name":"https://git.kernel.org/stable/c/6a6870d3077faa501ca97760057ddca22b68418d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98511","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98511","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 a6e755acf85793a7b4d29ba27b5421af1087263f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 9924c1d64405be8d10b906368dfb1cfe0d0c6bf0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 19f5a5839b308697824ff46e6213a2b4cb677771 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 189ffc7b6cad6390c0695031cb6c7c63472981e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ad76b3f7c7a0836e74ac0e316e03988ef3c43564 6a6870d3077faa501ca97760057ddca22b68418d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.222 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.189 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.158 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.112 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.55 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/nouveau/nouveau_bo.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a6e755acf85793a7b4d29ba27b5421af1087263f","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"},{"lessThan":"5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"},{"lessThan":"9924c1d64405be8d10b906368dfb1cfe0d0c6bf0","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"},{"lessThan":"73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"},{"lessThan":"19f5a5839b308697824ff46e6213a2b4cb677771","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"},{"lessThan":"189ffc7b6cad6390c0695031cb6c7c63472981e8","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"},{"lessThan":"6a6870d3077faa501ca97760057ddca22b68418d","status":"affected","version":"ad76b3f7c7a0836e74ac0e316e03988ef3c43564","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/nouveau/nouveau_bo.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.19"},{"lessThan":"3.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.222","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.189","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.158","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.112","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.55","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.222","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.189","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.158","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.112","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.55","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.9","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"3.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: don't bump pin count on failed re-pin in nouveau_bo_pin_locked()\n\nnouveau_bo_pin_locked() checks whether an already pinned BO is in a\nmemory domain compatible with a new pin request. When the domains are\nincompatible, it sets -EBUSY but still calls ttm_bo_pin() before\nreturning.\n\nCallers treat a failed nouveau_bo_pin() as not having acquired a new pin,\nso the extra pin count is never decreased by a matching unpin.\nThis triggers the warning in ttm_bo_release():\n\n\tWARN_ON_ONCE(bo->pin_count);\n\nFound when fuzzing the nouveau driver with a modified Syzkaller:\n\n\tWARNING: drivers/gpu/drm/ttm/ttm_bo.c:256 at ttm_bo_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm_bo.c:256, CPU#1: syz.3.24/2212\n\tModules linked in:\n\tCPU: 1 UID: 0 PID: 2212 Comm: syz.3.24 Not tainted 7.2.0 #24 PREEMPT(lazy)\n\tnouveau 0000:01:00.0: gsp:msg fn:103 len:0x40/0x20 res:0x19 resp:0x19\n\tHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n\tRIP: 0010:ttm_bo_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm_bo.c:256\n\tCode: 02 00 0f 85 51 01 00 00 48 8b 7b 08 e8 d2 20 01 00 e9 80 fd ff ff e8 d8 15 c0 fe 90 0f 0b 90 e9 e1 f8 ff ff e8 ca 15 c0 fe 90 <0f> 0b 90 e9 a4 f8 ff ff e8 bc 15 c0 fe be 03 00 00 00 4c 89 e7 e8\n\tmsg: 00000000: 05 00 d0 c1 04 00 f0 f1 01 30 00 00 2d 90 00 00  .........0..-...\n\tRSP: 0018:ffffc9000f5cf710 EFLAGS: 00010293\n\tRAX: 0000000000000000 RBX: ffff888018e5d2a8 RCX: ffffffff82bb1b36\n\tRDX: ffff888017b68000 RSI: 0000000000000004 RDI: ffff888018e5d2a8\n\tmsg: 00000010: 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n\tRBP: ffff88801261c720 R08: 0000000000000001 R09: ffffed10031cba55\n\tR10: ffff888018e5d2ab R11: 00000000000000f3 R12: ffff888018e5d290\n\tR13: ffff888018e5d2d4 R14: ffff88801b219c18 R15: dffffc0000000000\n\tFS:  0000000000000000(0000) GS:ffff8880e0f6f000(0000) knlGS:0000000000000000\n\tCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n\tCR2: 0000001b31223ffc CR3: 0000000028e00005 CR4: 0000000000770ef0\n\tPKRU: 80000000\n\tCall Trace:\n\t<TASK>\n\tkref_put include/linux/kref.h:65 [inline]\n\tttm_bo_put drivers/gpu/drm/ttm/ttm_bo.c:325 [inline]\n\tttm_bo_fini+0x55/0x80 drivers/gpu/drm/ttm/ttm_bo.c:330\n\tnouveau_gem_object_del+0xb2/0x1b0 drivers/gpu/drm/nouveau/nouveau_gem.c:90\n\tdrm_gem_object_free+0x5f/0x90 drivers/gpu/drm/drm_gem.c:1165\n\tkref_put include/linux/kref.h:65 [inline]\n\t__drm_gem_object_put include/drm/drm_gem.h:562 [inline]\n\tdrm_gem_object_put include/drm/drm_gem.h:575 [inline]\n\tnouveau_abi16_chan_fini.constprop.0+0x44f/0x5a0 drivers/gpu/drm/nouveau/nouveau_abi16.c:195\n\tnouveau 0000:01:00.0: syz.2.23[2209]: Unknown handle 0x00000000\n\tnouveau_abi16_fini+0x1d0/0x340 drivers/gpu/drm/nouveau/nouveau_abi16.c:225\n\tnouveau_drm_postclose+0x18b/0x3e0 drivers/gpu/drm/nouveau/nouveau_drm.c:1284\n\tnouveau 0000:01:00.0: syz.2.23[2209]: validate_init\n\tdrm_file_free.part.0+0x6d6/0xb60 drivers/gpu/drm/drm_file.c:267\n\tdrm_file_free drivers/gpu/drm/drm_file.c:237 [inline]\n\tdrm_close_helper.isra.0+0x11a/0x160 drivers/gpu/drm/drm_file.c:290\n\tdrm_release+0x1ab/0x330 drivers/gpu/drm/drm_file.c:438\n\t__fput+0x39c/0xa60 fs/file_table.c:512\n\tnouveau 0000:01:00.0: syz.2.23[2209]: validate: -2\n\ttask_work_run+0x15a/0x230 kernel/task_work.c:233\n\texit_task_work include/linux/task_work.h:40 [inline]\n\tdo_exit+0x82b/0x25a0 kernel/exit.c:1009\n\tdo_group_exit+0xc2/0x280 kernel/exit.c:1152\n\tget_signal+0x1d6e/0x1f30 kernel/signal.c:3046\n\tarch_do_signal_or_restart+0x7d/0x6e0 arch/x86/kernel/signal.c:337\n\t__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]\n\texit_to_user_mode_loop+0xdf/0x440 kernel/entry/common.c:101\n\t__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]\n\tsyscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]\n\tsyscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]\n\tdo_syscall_64+0x4f8/0x690 arch/x86/entry/syscall_64.c:100\n\tentry_SYSCALL_64_after_hwframe+0x77/0x7f\n\tRI\n---truncated---"}],"providerMetadata":{"dateUpdated":"2026-10-19T09:20:50.368Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a6e755acf85793a7b4d29ba27b5421af1087263f"},{"url":"https://git.kernel.org/stable/c/5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8"},{"url":"https://git.kernel.org/stable/c/9924c1d64405be8d10b906368dfb1cfe0d0c6bf0"},{"url":"https://git.kernel.org/stable/c/73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee"},{"url":"https://git.kernel.org/stable/c/19f5a5839b308697824ff46e6213a2b4cb677771"},{"url":"https://git.kernel.org/stable/c/189ffc7b6cad6390c0695031cb6c7c63472981e8"},{"url":"https://git.kernel.org/stable/c/6a6870d3077faa501ca97760057ddca22b68418d"}],"title":"drm/nouveau: don't bump pin count on failed re-pin in nouveau_bo_pin_locked()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98511","datePublished":"2026-10-18T15:17:25.033Z","dateReserved":"2026-09-25T10:25:14.354Z","dateUpdated":"2026-10-19T09:20:50.368Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:02","lastModifiedDate":"2026-10-19 10:19:04","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98511","Ordinal":"1","Title":"drm/nouveau: don't bump pin count on failed re-pin in nouveau_bo","CVE":"CVE-2026-98511","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98511","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: don't bump pin count on failed re-pin in nouveau_bo_pin_locked()\n\nnouveau_bo_pin_locked() checks whether an already pinned BO is in a\nmemory domain compatible with a new pin request. When the domains are\nincompatible, it sets -EBUSY but still calls ttm_bo_pin() before\nreturning.\n\nCallers treat a failed nouveau_bo_pin() as not having acquired a new pin,\nso the extra pin count is never decreased by a matching unpin.\nThis triggers the warning in ttm_bo_release():\n\n\tWARN_ON_ONCE(bo->pin_count);\n\nFound when fuzzing the nouveau driver with a modified Syzkaller:\n\n\tWARNING: drivers/gpu/drm/ttm/ttm_bo.c:256 at ttm_bo_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm_bo.c:256, CPU#1: syz.3.24/2212\n\tModules linked in:\n\tCPU: 1 UID: 0 PID: 2212 Comm: syz.3.24 Not tainted 7.2.0 #24 PREEMPT(lazy)\n\tnouveau 0000:01:00.0: gsp:msg fn:103 len:0x40/0x20 res:0x19 resp:0x19\n\tHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n\tRIP: 0010:ttm_bo_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm_bo.c:256\n\tCode: 02 00 0f 85 51 01 00 00 48 8b 7b 08 e8 d2 20 01 00 e9 80 fd ff ff e8 d8 15 c0 fe 90 0f 0b 90 e9 e1 f8 ff ff e8 ca 15 c0 fe 90 <0f> 0b 90 e9 a4 f8 ff ff e8 bc 15 c0 fe be 03 00 00 00 4c 89 e7 e8\n\tmsg: 00000000: 05 00 d0 c1 04 00 f0 f1 01 30 00 00 2d 90 00 00  .........0..-...\n\tRSP: 0018:ffffc9000f5cf710 EFLAGS: 00010293\n\tRAX: 0000000000000000 RBX: ffff888018e5d2a8 RCX: ffffffff82bb1b36\n\tRDX: ffff888017b68000 RSI: 0000000000000004 RDI: ffff888018e5d2a8\n\tmsg: 00000010: 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n\tRBP: ffff88801261c720 R08: 0000000000000001 R09: ffffed10031cba55\n\tR10: ffff888018e5d2ab R11: 00000000000000f3 R12: ffff888018e5d290\n\tR13: ffff888018e5d2d4 R14: ffff88801b219c18 R15: dffffc0000000000\n\tFS:  0000000000000000(0000) GS:ffff8880e0f6f000(0000) knlGS:0000000000000000\n\tCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n\tCR2: 0000001b31223ffc CR3: 0000000028e00005 CR4: 0000000000770ef0\n\tPKRU: 80000000\n\tCall Trace:\n\t<TASK>\n\tkref_put include/linux/kref.h:65 [inline]\n\tttm_bo_put drivers/gpu/drm/ttm/ttm_bo.c:325 [inline]\n\tttm_bo_fini+0x55/0x80 drivers/gpu/drm/ttm/ttm_bo.c:330\n\tnouveau_gem_object_del+0xb2/0x1b0 drivers/gpu/drm/nouveau/nouveau_gem.c:90\n\tdrm_gem_object_free+0x5f/0x90 drivers/gpu/drm/drm_gem.c:1165\n\tkref_put include/linux/kref.h:65 [inline]\n\t__drm_gem_object_put include/drm/drm_gem.h:562 [inline]\n\tdrm_gem_object_put include/drm/drm_gem.h:575 [inline]\n\tnouveau_abi16_chan_fini.constprop.0+0x44f/0x5a0 drivers/gpu/drm/nouveau/nouveau_abi16.c:195\n\tnouveau 0000:01:00.0: syz.2.23[2209]: Unknown handle 0x00000000\n\tnouveau_abi16_fini+0x1d0/0x340 drivers/gpu/drm/nouveau/nouveau_abi16.c:225\n\tnouveau_drm_postclose+0x18b/0x3e0 drivers/gpu/drm/nouveau/nouveau_drm.c:1284\n\tnouveau 0000:01:00.0: syz.2.23[2209]: validate_init\n\tdrm_file_free.part.0+0x6d6/0xb60 drivers/gpu/drm/drm_file.c:267\n\tdrm_file_free drivers/gpu/drm/drm_file.c:237 [inline]\n\tdrm_close_helper.isra.0+0x11a/0x160 drivers/gpu/drm/drm_file.c:290\n\tdrm_release+0x1ab/0x330 drivers/gpu/drm/drm_file.c:438\n\t__fput+0x39c/0xa60 fs/file_table.c:512\n\tnouveau 0000:01:00.0: syz.2.23[2209]: validate: -2\n\ttask_work_run+0x15a/0x230 kernel/task_work.c:233\n\texit_task_work include/linux/task_work.h:40 [inline]\n\tdo_exit+0x82b/0x25a0 kernel/exit.c:1009\n\tdo_group_exit+0xc2/0x280 kernel/exit.c:1152\n\tget_signal+0x1d6e/0x1f30 kernel/signal.c:3046\n\tarch_do_signal_or_restart+0x7d/0x6e0 arch/x86/kernel/signal.c:337\n\t__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]\n\texit_to_user_mode_loop+0xdf/0x440 kernel/entry/common.c:101\n\t__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]\n\tsyscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]\n\tsyscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]\n\tdo_syscall_64+0x4f8/0x690 arch/x86/entry/syscall_64.c:100\n\tentry_SYSCALL_64_after_hwframe+0x77/0x7f\n\tRI\n---truncated---","Type":"Description","Title":"drm/nouveau: don't bump pin count on failed re-pin in nouveau_bo"}]}}}