Process ids again
Process ids again
Posted Jun 9, 2025 12:14 UTC (Mon) by bluca (subscriber, #118303)In reply to: Process ids again by snajpa
Parent article: Slowing the flow of core-dump-related CVEs
> Start time of the process can't be changed by the process itself AFAIK. Just that along with the pid could do the trick, IMHO.
It very much doesn't, so-much-so that relying on that combination for uniqueness caused several CVEs in the past. The start time is not granular enough, and attackers are able to cause a PID + start time clash at their leisure. This is why PIDFDs exist, and we use them when we need to uniquely identify processes for any security-relevant reason (and also more and more non-security-relevant too)
