{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31504","published":"2026-04-22T14:16:49.040000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":["CWE-416","CWE-362"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.1.1","version_end_excluding":"5.10.253"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.203"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.168"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.131"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.80"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"6.19.11"},{"criteria":"cpe:2.3:o:linux:linux_kernel:3.1:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"3.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-31504/","html_en":"/en/cve/CVE-2026-31504/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31504","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31504"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix fanout UAF in packet_release() via NETDEV_UP race\n\n`packet_release()` has a race window where `NETDEV_UP` can re-register a\nsocket into a fanout group's `arr[]` array. The re-registration is not\ncleaned up by `fanout_release()`, leaving a dangling pointer in the fanout\narray.\n`packet_release()` does NOT zero `po->num` in its `bind_lock` section.\nAfter releasing `bind_lock`, `po->num` is still non-zero and `po->ifindex`\nstill matches the bound device. A concurrent `packet_notifier(NETDEV_UP)`\nthat already found the socket in `sklist` can re-register the hook.\nFor fanout sockets, this re-registration calls `__fanout_link(sk, po)`\nwhich adds the socket back into `f->arr[]` and increments `f->num_members`,\nbut does NOT increment `f->sk_ref`.\n\nThe fix sets `po->num` to zero in `packet_release` while `bind_lock` is\nheld to prevent NETDEV_UP from linking, preventing the race window.\n\nThis bug was found following an additional audit with Claude Code based\non CVE-2025-38617.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/1b4c03f8892d955385c202009af7485364731bb9","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/42156f93d123436f2a27c468f18c966b7e5db796","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/42cfd7898eeed290c9fb73f732af1f7d6b0a703e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/654386baef228c2992dbf604c819e4c7c35fc71b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/75fe6db23705a1d55160081f7b37db9665b1880b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ceccbfc6de720ad633519a226715989cfb065af1","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d0c7cdc15fdf8c4f91aca1928e52295d175b6ec6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ee642b1962caa9aa231c01abbd58bc453ae6b66e","tags":["Patch"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-457936","url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","published":"2026-10-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7"}},{"source":"siemens","id":"SSA-019113","url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","published":"2026-07-14T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.6"}},{"source":"suse","id":"SUSE-SU-2026:2195-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262195-1/","published":"2026-07-01T08:17:32+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:2238-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262238-1/","published":"2026-06-30T10:03:11+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:22509-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622509-1/","published":"2026-06-29T15:50:57+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 9 for SUSE Linux Enterprise 16)"}}]}