pds_core: fix auxiliary device add/del races
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-68317
PublishedIn the Linux kernel, the following vulnerability has been resolved: pds_core: fix auxiliary device add/del races Two paths add or delete the same slot (pf->vfs[vf_id].padev): a VF's pdsc_reset_done() and the PF's devlink enable_vnet/disable_vnet handler. They serialize on config_lock, but neither guards the slot under it correctly. add() registers and stores a new auxiliary device without first checking the slot, so a second add of an already-populated slot leaks the first device. del() makes that check outside config_lock, so two concurrent dels can both pass it; the first clears the slot, and the second dereferences a NULL pointer. Check and update the slot under config_lock in both paths.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-68317 · CVE overview and exploitation status
cve-program · CVE-2026-68317
- 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
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.