CVE-2026-74405

Source
https://cve.org/CVERecord?id=CVE-2026-74405
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74405.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74405
Downstream
Published
2026-08-15T05:59:14.719Z
Modified
2026-08-16T03:48:50.671151113Z
Summary
OPP: Fix race between OPP addition and lookup
Details

In the Linux kernel, the following vulnerability has been resolved:

OPP: Fix race between OPP addition and lookup

A race exists between devpmoppadddynamic() and devpmoppfindfreq_exact():

CPU0 (add) CPU1 (lookup) ------------------------------- ------------------------------ oppadd() mutexlock() listadd(&newopp->node, head) mutexunlock() opptablefindkey() mutexlock() devpmoppget(opp) krefget() mutexunlock() krefinit(&newopp->kref) devpmoppput() krefput_mutex()

The newly added OPP is inserted into the list before its kref is initialized. A concurrent lookup can find this OPP and increment its reference count while it is still uninitialized, leading to refcount corruption and a potential premature free.

Fix this by initializing ->kref and ->opptable before making the OPP visible via listadd(). This ensures any concurrent lookup observes a fully initialized object.

[ Viresh: Updated commit log ]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74405.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7034764a1e4a6edbb60914e89aad8384e3fe5d17
Fixed
46696b0b2123475d7f95909435c09808fc5ffd23
Fixed
bb75bd7d9ae7672034f73ce67a57e6ac89bb39e5
Fixed
f5e1cc9a284bff2510981643a5bca4bc4c21b81a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74405.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74405.json"