CVE-2026-74666

Source
https://cve.org/CVERecord?id=CVE-2026-74666
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74666.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74666
Downstream
Published
2026-08-22T15:32:38.098Z
Modified
2026-08-24T11:47:18.949078926Z
Summary
packet: synchronize pressure clearing with ring reconfiguration
Details

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

packet: synchronize pressure clearing with ring reconfiguration

packetsetring() updates the RX ring state under skreceivequeue.lock, but used to publish the tpacket receive mode through po->prothook.func after releasing that lock. packetpoll() and packetrecvmsg() can then run the pressure clearing path after the ring has been cleared while still seeing tpacketrcv, causing _packetrcvhasroom() to dereference stale or NULL ring storage.

Move the existing receive hook assignment into the same skreceivequeue.lock section as the ring state update. Keep the assignment otherwise unchanged, including on TX ring reconfiguration, to avoid adding behavior changes that are not required for the fix.

Serialize packetrecvmsg() pressure clearing with the same queue lock only after PACKETSOCKPRESSURE has been observed. If the flag is clear and the socket has moved away from tpacketrcv, packetsetring() has already detached the socket and waited for synchronize_net(), so no new packet input can set the flag again.

packetpoll() already holds skreceive_queue.lock, so it uses the new unlocked helper directly.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74666.json"
}
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
2ccdbaa6d55b0656244ba57c4b56765a0af76c0a
Fixed
cf8189b82bb93f219ab740e0346c919ad65ada62
Fixed
ad740b4990347521f0db260d381f9f74e7b340ba
Fixed
2c7b5eb87b2b288cdbde825f21d2b83b2f5da747
Fixed
a08196c3cc105947746ec21309edfbb60275fcdb
Fixed
1a35da325cac4d5bcad76a2aa943408a6f1d9000

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
6.6.152
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.104
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.45
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.9

Database specific

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