{"id":"CVE-2026-74666","aliases":["CVE-2026-74666"],"related":[],"kind":"vulnerability","state":"published","title":"packet: synchronize pressure clearing with ring reconfiguration","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npacket: synchronize pressure clearing with ring reconfiguration\n\npacket_set_ring() updates the RX ring state under sk_receive_queue.lock,\nbut used to publish the tpacket receive mode through po->prot_hook.func\nafter releasing that lock. packet_poll() and packet_recvmsg() can then\nrun the pressure clearing path after the ring has been cleared while\nstill seeing tpacket_rcv, causing __packet_rcv_has_room() to dereference\nstale or NULL ring storage.\n\nMove the existing receive hook assignment into the same\nsk_receive_queue.lock section as the ring state update. Keep the\nassignment otherwise unchanged, including on TX ring reconfiguration, to\navoid adding behavior changes that are not required for the fix.\n\nSerialize packet_recvmsg() pressure clearing with the same queue lock\nonly after PACKET_SOCK_PRESSURE has been observed. If the flag is clear\nand the socket has moved away from tpacket_rcv, packet_set_ring() has\nalready detached the socket and waited for synchronize_net(), so no new\npacket input can set the flag again.\n\npacket_poll() already holds sk_receive_queue.lock, so it uses the new\nunlocked helper directly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npacket: synchronize pressure clearing with ring reconfiguration\n\npacket_set_ring() updates the RX ring state under sk_receive_queue.lock,\nbut used to publish the tpacket receive mode through po->prot_hook.func\nafter releasing that lock. packet_poll() and packet_recvmsg() can then\nrun the pressure clearing path after the ring has been cleared while\nstill seeing tpacket_rcv, causing __packet_rcv_has_room() to dereference\nstale or NULL ring storage.\n\nMove the existing receive hook assignment into the same\nsk_receive_queue.lock section as the ring state update. Keep the\nassignment otherwise unchanged, including on TX ring reconfiguration, to\navoid adding behavior changes that are not required for the fix.\n\nSerialize packet_recvmsg() pressure clearing with the same queue lock\nonly after PACKET_SOCK_PRESSURE has been observed. If the flag is clear\nand the socket has moved away from tpacket_rcv, packet_set_ring() has\nalready detached the socket and waited for synchronize_net(), so no new\npacket input can set the flag again.\n\npacket_poll() already holds sk_receive_queue.lock, so it uses the new\nunlocked helper directly.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\npacket: sincronizar la limpieza de presión con la reconfiguración del anillo\n\npacket_set_ring() actualiza el estado del anillo RX bajo sk_receive_queue.lock, pero solía publicar el modo de recepción tpacket a través de po -> prot_hook.func después de liberar ese bloqueo. packet_poll() y packet_recvmsg() pueden entonces ejecutar la ruta de limpieza de presión después de que el anillo ha sido limpiado mientras aún ven tpacket_rcv, causando que __packet_rcv_has_room() desreferencie almacenamiento de anillo obsoleto o NULL.\n\nMover la asignación de gancho de recepción existente a la misma sección sk_receive_queue.lock que la actualización del estado del anillo. Mantener la asignación sin cambios de otra manera, incluyendo en la reconfiguración del anillo TX, para evitar añadir cambios de comportamiento que no son necesarios para la corrección.\n\nSerializar la limpieza de presión de packet_recvmsg() con el mismo bloqueo de cola solo después de que PACKET_SOCK_PRESSURE ha sido observado. Si el indicador está claro y el socket se ha alejado de tpacket_rcv, packet_set_ring() ya ha desvinculado el socket y esperado por synchronize_net(), por lo que ninguna nueva entrada de paquete puede establecer el indicador de nuevo.\n\npacket_poll() ya mantiene sk_receive_queue.lock, por lo que utiliza el nuevo ayudante desbloqueado directamente.","source":"nvd"}],"published":"2026-08-22T15:32:38.098Z","modified":"2026-10-16T20:17:50.573Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"bf3c8e86bc8ad111be3f3136125e255344bcb3da","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"8cfb2e71926a682f36c4240067d424074dd8f70f","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"f015c9de92b731814059a343b765c60c0196225c","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"cf8189b82bb93f219ab740e0346c919ad65ada62","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"ad740b4990347521f0db260d381f9f74e7b340ba","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"2c7b5eb87b2b288cdbde825f21d2b83b2f5da747","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"a08196c3cc105947746ec21309edfbb60275fcdb","status":"affected"},{"type":"git","introduced":"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a","fixed":"1a35da325cac4d5bcad76a2aa943408a6f1d9000","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.267","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.218","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.185","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bf3c8e86bc8ad111be3f3136125e255344bcb3da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8cfb2e71926a682f36c4240067d424074dd8f70f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f015c9de92b731814059a343b765c60c0196225c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf8189b82bb93f219ab740e0346c919ad65ada62","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad740b4990347521f0db260d381f9f74e7b340ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c7b5eb87b2b288cdbde825f21d2b83b2f5da747","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a08196c3cc105947746ec21309edfbb60275fcdb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a35da325cac4d5bcad76a2aa943408a6f1d9000","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:14:12.266Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74666","url":"https://www.cve.org/CVERecord?id=CVE-2026-74666","licence":"CVE Terms of Use","modified":"2026-10-16T19:16:08.102Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74666","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74666","licence":"Public domain","modified":"2026-10-16T20:17:50.573Z"}],"updatedAt":"2026-11-25T22:59:34.924Z","epss":{"score":0.00129,"percentile":0.02776,"date":"2026-12-01T12:00:22.000Z"}}