{"id":"CVE-2026-68317","state":"PUBLISHED","title":"pds_core: fix auxiliary device add/del races","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npds_core: fix auxiliary device add/del races\n\nTwo paths add or delete the same slot (pf->vfs[vf_id].padev): a VF's\npdsc_reset_done() and the PF's devlink enable_vnet/disable_vnet handler.\nThey serialize on config_lock, but neither guards the slot under it\ncorrectly.\n\nadd() registers and stores a new auxiliary device without first checking\nthe slot, so a second add of an already-populated slot leaks the first\ndevice. del() makes that check outside config_lock, so two concurrent\ndels can both pass it; the first clears the slot, and the second\ndereferences a NULL pointer.\n\nCheck and update the slot under config_lock in both paths.","publishedAt":"2026-08-10T12:02:52.185Z","updatedAt":"2026-08-17T05:03:14.295Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0861fccd43b8bafb533d97308862d20b7db3a2ad","status":"affected","lessThan":"646b58b543f3bb1641e9123b75ff7799fe7b42f1","versionType":"git"},{"version":"f41e27b746241e57d968d1d61c008322338ca258","status":"affected","lessThan":"ef194751fed50cf3452017b63f00142a0ab40c70","versionType":"git"},{"version":"b699bdc720c0255d1bb76cecba7382c1f2107af5","status":"affected","lessThan":"cf0ed2ba202f5c3b300ec1bf7ff0b5d555f7d518","versionType":"git"},{"version":"b699bdc720c0255d1bb76cecba7382c1f2107af5","status":"affected","lessThan":"bdeab32a7a91acd295d52a2d4ab1cc3f2da5e454","versionType":"git"},{"version":"b699bdc720c0255d1bb76cecba7382c1f2107af5","status":"affected","lessThan":"bfa33cd513c7ceb93c5a4c30e5662acd73c0a916","versionType":"git"},{"version":"fec5f7af1d5f64a38f9224cd27b274d1af55a7ed","status":"affected","versionType":"git"},{"version":"6.6.90","status":"affected","lessThan":"6.6.148","versionType":"semver"},{"version":"6.12.28","status":"affected","lessThan":"6.12.101","versionType":"semver"},{"version":"6.14.6","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/auxbus.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/auxbus.c"]}],"references":["https://git.kernel.org/stable/c/646b58b543f3bb1641e9123b75ff7799fe7b42f1","https://git.kernel.org/stable/c/ef194751fed50cf3452017b63f00142a0ab40c70","https://git.kernel.org/stable/c/cf0ed2ba202f5c3b300ec1bf7ff0b5d555f7d518","https://git.kernel.org/stable/c/bdeab32a7a91acd295d52a2d4ab1cc3f2da5e454","https://git.kernel.org/stable/c/bfa33cd513c7ceb93c5a4c30e5662acd73c0a916"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68317.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68317","state":"PUBLISHED","datePublished":"2026-08-10T12:02:52.185Z","dateUpdated":"2026-08-17T05:03:14.295Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.382Z"},"containers":{"cna":{"title":"pds_core: fix auxiliary device add/del races","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npds_core: fix auxiliary device add/del races\n\nTwo paths add or delete the same slot (pf->vfs[vf_id].padev): a VF's\npdsc_reset_done() and the PF's devlink enable_vnet/disable_vnet handler.\nThey serialize on config_lock, but neither guards the slot under it\ncorrectly.\n\nadd() registers and stores a new auxiliary device without first checking\nthe slot, so a second add of an already-populated slot leaks the first\ndevice. del() makes that check outside config_lock, so two concurrent\ndels can both pass it; the first clears the slot, and the second\ndereferences a NULL pointer.\n\nCheck and update the slot under config_lock in both paths."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0861fccd43b8bafb533d97308862d20b7db3a2ad","status":"affected","lessThan":"646b58b543f3bb1641e9123b75ff7799fe7b42f1","versionType":"git"},{"version":"f41e27b746241e57d968d1d61c008322338ca258","status":"affected","lessThan":"ef194751fed50cf3452017b63f00142a0ab40c70","versionType":"git"},{"version":"b699bdc720c0255d1bb76cecba7382c1f2107af5","status":"affected","lessThan":"cf0ed2ba202f5c3b300ec1bf7ff0b5d555f7d518","versionType":"git"},{"version":"b699bdc720c0255d1bb76cecba7382c1f2107af5","status":"affected","lessThan":"bdeab32a7a91acd295d52a2d4ab1cc3f2da5e454","versionType":"git"},{"version":"b699bdc720c0255d1bb76cecba7382c1f2107af5","status":"affected","lessThan":"bfa33cd513c7ceb93c5a4c30e5662acd73c0a916","versionType":"git"},{"version":"fec5f7af1d5f64a38f9224cd27b274d1af55a7ed","status":"affected","versionType":"git"},{"version":"6.6.90","status":"affected","lessThan":"6.6.148","versionType":"semver"},{"version":"6.12.28","status":"affected","lessThan":"6.12.101","versionType":"semver"},{"version":"6.14.6","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/auxbus.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/auxbus.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/646b58b543f3bb1641e9123b75ff7799fe7b42f1"},{"url":"https://git.kernel.org/stable/c/ef194751fed50cf3452017b63f00142a0ab40c70"},{"url":"https://git.kernel.org/stable/c/cf0ed2ba202f5c3b300ec1bf7ff0b5d555f7d518"},{"url":"https://git.kernel.org/stable/c/bdeab32a7a91acd295d52a2d4ab1cc3f2da5e454"},{"url":"https://git.kernel.org/stable/c/bfa33cd513c7ceb93c5a4c30e5662acd73c0a916"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:03:14.295Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.90","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.28","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}