{"id":"CVE-2026-97983","state":"PUBLISHED","title":"vduse: return compat ioctl results directly","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvduse: return compat ioctl results directly\n\nThe compat handler handles VDUSE_IOTLB_GET_FD and VDUSE_VQ_GET_INFO, but\nthen calls the native handler. Their different command sizes make native\ndispatch return -ENOIOCTLCMD.\n\nFor GET_FD, this overwrites receive_fd()'s return value after the\ndescriptor is installed, leaking one fd per call. Return handled compat\nresults directly and use native dispatch only for other commands.","publishedAt":"2026-09-25T10:23:18.940Z","updatedAt":"2026-10-19T09:11:50.328Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"455a2a1af92651764e9eb42cec0d95ac142afc28","status":"affected","lessThan":"135ac58097fa5fc707bf392c5cececf59e4080c0","versionType":"git"},{"version":"455a2a1af92651764e9eb42cec0d95ac142afc28","status":"affected","lessThan":"48a4ee65e677559776349128e6a81a6041986c99","versionType":"git"},{"version":"7dd28904c42ee3b0728c0692dd3332c2c83e8f33","status":"affected","versionType":"git"},{"version":"7.1.5","status":"affected","lessThan":"7.2","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa_user/vduse_dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa_user/vduse_dev.c"]}],"references":["https://git.kernel.org/stable/c/135ac58097fa5fc707bf392c5cececf59e4080c0","https://git.kernel.org/stable/c/48a4ee65e677559776349128e6a81a6041986c99"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97983.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97983","state":"PUBLISHED","datePublished":"2026-09-25T10:23:18.940Z","dateUpdated":"2026-10-19T09:11:50.328Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:18:58.208Z"},"containers":{"cna":{"title":"vduse: return compat ioctl results directly","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvduse: return compat ioctl results directly\n\nThe compat handler handles VDUSE_IOTLB_GET_FD and VDUSE_VQ_GET_INFO, but\nthen calls the native handler. Their different command sizes make native\ndispatch return -ENOIOCTLCMD.\n\nFor GET_FD, this overwrites receive_fd()'s return value after the\ndescriptor is installed, leaking one fd per call. Return handled compat\nresults directly and use native dispatch only for other commands."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"455a2a1af92651764e9eb42cec0d95ac142afc28","status":"affected","lessThan":"135ac58097fa5fc707bf392c5cececf59e4080c0","versionType":"git"},{"version":"455a2a1af92651764e9eb42cec0d95ac142afc28","status":"affected","lessThan":"48a4ee65e677559776349128e6a81a6041986c99","versionType":"git"},{"version":"7dd28904c42ee3b0728c0692dd3332c2c83e8f33","status":"affected","versionType":"git"},{"version":"7.1.5","status":"affected","lessThan":"7.2","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa_user/vduse_dev.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa_user/vduse_dev.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/135ac58097fa5fc707bf392c5cececf59e4080c0"},{"url":"https://git.kernel.org/stable/c/48a4ee65e677559776349128e6a81a6041986c99"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:11:50.328Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}