Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2025-38617

Summary
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At-22 Aug, 2025 | 13:01
Updated At-22 Aug, 2025 | 13:01
Rejected At-
Credits

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

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:Linux
Assigner Org ID:416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At:22 Aug, 2025 | 13:01
Updated At:22 Aug, 2025 | 13:01
Rejected At:
▼CVE Numbering Authority (CNA)
net/packet: fix a race in packet_set_ring() and packet_notifier()

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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • net/packet/af_packet.c
Default Status
unaffected
Versions
Affected
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7de07705007c7e34995a5599aaab1d23e762d7ca (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 88caf46db8239e6471413d28aabaa6b8bd552805 (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f2e8fcfd2b1bc754920108b7f2cd75082c5a18df (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e50ccfaca9e3c671cae917dcb994831a859cf588 (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f1791fd7b845bea0ce9674fcf2febee7bc87a893 (git)
  • From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 01d3c8417b9c1b884a8a981a3b886da556512f36 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • net/packet/af_packet.c
Default Status
affected
Versions
Affected
  • 2.6.12
Unaffected
  • From 0 before 2.6.12 (semver)
  • From 6.1.148 through 6.1.* (semver)
  • From 6.6.102 through 6.6.* (semver)
  • From 6.12.42 through 6.12.* (semver)
  • From 6.15.10 through 6.15.* (semver)
  • From 6.16.1 through 6.16.* (semver)
  • From 6.17-rc1 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca
N/A
https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805
N/A
https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df
N/A
https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588
N/A
https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893
N/A
https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36
N/A
Hyperlink: https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36
Resource: N/A
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published At:22 Aug, 2025 | 14:15
Updated At:22 Aug, 2025 | 18:08

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
CPE Matches

Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df416baaa9-dc9f-4396-8d5f-8c081fb06d67
N/A
Hyperlink: https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found