{"id":"CVE-2026-74666","revision":"3562690a71a84ac782871d7b8b1680e4","records":[{"revision":"3562690a71a84ac782871d7b8b1680e4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74666","aliases":[],"title":"packet: synchronize pressure clearing with ring reconfiguration","description":"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.","state":0,"publishedAt":"2026-08-22T15:32:38.098+00:00","modifiedAt":"2026-10-16T19:16:08.102+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/packet/af_packet.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"bf3c8e86bc8ad111be3f3136125e255344bcb3da\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"8cfb2e71926a682f36c4240067d424074dd8f70f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"f015c9de92b731814059a343b765c60c0196225c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"cf8189b82bb93f219ab740e0346c919ad65ada62\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"ad740b4990347521f0db260d381f9f74e7b340ba\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"2c7b5eb87b2b288cdbde825f21d2b83b2f5da747\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"a08196c3cc105947746ec21309edfbb60275fcdb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2ccdbaa6d55b0656244ba57c4b56765a0af76c0a\",\n                            \"lessThan\": \"1a35da325cac4d5bcad76a2aa943408a6f1d9000\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/packet/af_packet.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.267\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.218\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.185\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.152\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.104\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.45\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.9\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/bf3c8e86bc8ad111be3f3136125e255344bcb3da","https://git.kernel.org/stable/c/8cfb2e71926a682f36c4240067d424074dd8f70f","https://git.kernel.org/stable/c/f015c9de92b731814059a343b765c60c0196225c","https://git.kernel.org/stable/c/cf8189b82bb93f219ab740e0346c919ad65ada62","https://git.kernel.org/stable/c/ad740b4990347521f0db260d381f9f74e7b340ba","https://git.kernel.org/stable/c/2c7b5eb87b2b288cdbde825f21d2b83b2f5da747","https://git.kernel.org/stable/c/a08196c3cc105947746ec21309edfbb60275fcdb","https://git.kernel.org/stable/c/1a35da325cac4d5bcad76a2aa943408a6f1d9000"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74666","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74666","identifiers":["CVE-2026-74666"]},"retained":false,"historicalAffected":[]}],"coverage":[]}