VDB

CVE-2025-38617

CVE-2025-38617 PUBLISHED CVSS 7.8 HIGH

net/packet: fix a race in packet_set_ring() and packet_notifier()

Reported by linux · Published August 22, 2025

In the Linux kernel, the following vulnerability has been resolved: net/packet: fix a race in packet_set_ring() and packet_notifier() When packet_set_ring() releases po->bind_lock, another thread can run packet_notifier() and process an NETDEV_UP event. This race and the fix are both similar to that of commit 15fe076edea7 ("net/packet: fix a race in packet_bind() and packet_notifier()"). There too the packet_notifier NETDEV_UP event managed to run while a po->bind_lock critical section had to be temporarily released. And the fix was similarly to temporarily set po->num to zero to keep the socket unhooked until the lock is retaken. The po->bind_lock in packet_set_ring and packet_notifier precede the introduction of git history.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux1:6.1.148-173.267.amzn2023
kernel-toolsAmazon Linux1:6.1.148-173.267.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.46-66.121.amzn2023
perf6.12Amazon Linux1:6.12.46-66.121.amzn2023
linux_kernellinux6.16.1, 6.15.10, 6.12.42, 6.6.102, 6.1.148, 5.15.190, 5.10.241, 5.4.297

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.4.297
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.120
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023bpftool0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel-devel0
amazon:2023kernel6.120
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools0

…and 12 more

Timeline

  • Apr 28, 2025 PoC Published (16 in total, the first dated here)
  • Aug 22, 2025 CVE Published
  • Aug 23, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 20, 2026 Distribution Patch (259 in total, the first dated here)
  • Apr 20, 2026 Security Advisory (313 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Oct 12, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38617
vulnetix vdb fixes CVE-2025-38617

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38617/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›