CVE-2026-74666

packet: synchronize pressure clearing with ring reconfiguration

State
Published
Severity
7.8 High
Published
Aug 22, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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

packet: synchronize pressure clearing with ring reconfiguration

packet_set_ring() updates the RX ring state under sk_receive_queue.lock, but used to publish the tpacket receive mode through po->prot_hook.func after releasing that lock. packet_poll() and packet_recvmsg() can then run the pressure clearing path after the ring has been cleared while still seeing tpacket_rcv, causing __packet_rcv_has_room() to dereference stale or NULL ring storage.

Move the existing receive hook assignment into the same sk_receive_queue.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 packet_recvmsg() pressure clearing with the same queue lock only after PACKET_SOCK_PRESSURE has been observed. If the flag is clear and the socket has moved away from tpacket_rcv, packet_set_ring() has already detached the socket and waited for synchronize_net(), so no new packet input can set the flag again.

packet_poll() already holds sk_receive_queue.lock, so it uses the new unlocked helper directly.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before bf3c8e86bc8ad111be3f3136125e255344bcb3daAffected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before 8cfb2e71926a682f36c4240067d424074dd8f70fAffected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before f015c9de92b731814059a343b765c60c0196225cAffected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before cf8189b82bb93f219ab740e0346c919ad65ada62Affected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before ad740b4990347521f0db260d381f9f74e7b340baAffected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before 2c7b5eb87b2b288cdbde825f21d2b83b2f5da747Affected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before a08196c3cc105947746ec21309edfbb60275fcdbAffected
  • 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a to before 1a35da325cac4d5bcad76a2aa943408a6f1d9000Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 5.10.267 through 5.10.*Not affected
  • 5.15.218 through 5.15.*Not affected
  • 6.1.185 through 6.1.*Not affected
  • 6.6.152 through 6.6.*Not affected
  • 6.12.104 through 6.12.*Not affected
  • 6.18.45 through 6.18.*Not affected
  • 7.1.9 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.