liveupdate: fix TOCTOU race in luo_session_retrieve()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Original description
In the Linux kernel, the following vulnerability has been resolved:
liveupdate: fix TOCTOU race in luo_session_retrieve()
Extend the scope of the rwsem_read lock in luo_session_retrieve() to overlap with the acquisition of the session mutex. This prevents a concurrent thread from releasing and freeing the session between the lookup and the mutex lock.
From the CVE record · Linux
References
- git.kernel.org/stable/c/d944170607b872a1f93713c555ad3f0efde3a9b8
- git.kernel.org/stable/c/d3ae9e7fddb4036f50003d7fa1ef52801fdb961b
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74370.json
- nvd.nist.gov/vuln/detail/CVE-2026-74370
- git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git