CVE-2026-74370: liveupdate: fix TOCTOU race in luo_session_retrieve()
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081503-CVE-2026-74370-29f3@gregkh> |
From: Greg Kroah-Hartman <[email protected]> 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. The Linux kernel CVE team has assigned CVE-2026-74370 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 0153094d03df5a2e834a19c59b255649a258ae46 and fixed in 7.1.5 with commit d944170607b872a1f93713c555ad3f0efde3a9b8 Issue introduced in 6.19 with commit 0153094d03df5a2e834a19c59b255649a258ae46 and fixed in 7.2-rc1 with commit d3ae9e7fddb4036f50003d7fa1ef52801fdb961b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-74370 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: kernel/liveupdate/luo_session.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d944170607b872a1f93713c555ad3f0efde3a9b8 https://git.kernel.org/stable/c/d3ae9e7fddb4036f50003d7fa1ef52801fdb961b