{"id":"CVE-2025-40217","state":"PUBLISHED","title":"pidfs: validate extensible ioctls","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npidfs: validate extensible ioctls\n\nValidate extensible ioctls stricter than we do now.","publishedAt":"2025-12-04T14:50:40.664Z","updatedAt":"2026-05-11T21:45:02.158Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b08bd408534bfb3a7cf5778da5b27d4e4fffe12","status":"affected","lessThan":"bf0fbf5e8b0aff8a4a0fb35e32b10083baa83c04","versionType":"git"},{"version":"5b08bd408534bfb3a7cf5778da5b27d4e4fffe12","status":"affected","lessThan":"3c17001b21b9f168c957ced9384abe969019b609","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/pidfs.c","include/linux/fs.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.17.4","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/pidfs.c","include/linux/fs.h"]}],"references":["https://git.kernel.org/stable/c/bf0fbf5e8b0aff8a4a0fb35e32b10083baa83c04","https://git.kernel.org/stable/c/3c17001b21b9f168c957ced9384abe969019b609"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40217.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40217","state":"PUBLISHED","datePublished":"2025-12-04T14:50:40.664Z","dateUpdated":"2026-05-11T21:45:02.158Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.179Z"},"containers":{"cna":{"title":"pidfs: validate extensible ioctls","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npidfs: validate extensible ioctls\n\nValidate extensible ioctls stricter than we do now."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b08bd408534bfb3a7cf5778da5b27d4e4fffe12","status":"affected","lessThan":"bf0fbf5e8b0aff8a4a0fb35e32b10083baa83c04","versionType":"git"},{"version":"5b08bd408534bfb3a7cf5778da5b27d4e4fffe12","status":"affected","lessThan":"3c17001b21b9f168c957ced9384abe969019b609","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/pidfs.c","include/linux/fs.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.17.4","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/pidfs.c","include/linux/fs.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/bf0fbf5e8b0aff8a4a0fb35e32b10083baa83c04"},{"url":"https://git.kernel.org/stable/c/3c17001b21b9f168c957ced9384abe969019b609"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:45:02.158Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.17.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}