CVE-2025-68340
- Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
- kernel.org (opens in new tab)
- Published
- Last modified
- NVD statusWhether NVD has reviewed the record. Until it has, scores and product data come from the reporting organization alone. About NVD's statuses
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved:
team: Move team device type change at the end of team_port_add
Attempting to add a port device that is already up will expectedly fail,
but not before modifying the team device header_ops.
In the case of the syzbot reproducer the gre0 device is
already in state UP when it attempts to add it as a
port device of team0, this fails but before that
header_ops->create of team0 is changed from eth_header to ipgre_header
in the call to team_dev_type_check_change.
Later when we end up in ipgre_header() struct ip_tunnel* points to nonsense
as the private data of the device still holds a struct team.
Example sequence of iproute2 commands to reproduce the hang/BUG():
ip link add dev team0 type team
ip link add dev gre0 type gre
ip link set dev gre0 up
ip link set dev gre0 master team0
ip link set dev team0 up
ping -I team0 1.1.1.1
Move team_dev_type_check_change down where all other checks have passed
as it changes the dev type with no way to restore it in case
one of the checks that follow it fail.
Also make sure to preserve the origial mtu assignment:
- If port_dev is not the same type as dev, dev takes mtu from port_dev
- If port_dev is the same type as dev, port_dev takes mtu from dev
This is done by adding a conditional before the call to dev_set_mtu
to prevent it from assigning port_dev->mtu = dev->mtu and instead
letting team_dev_type_check_change assign dev->mtu = port_dev->mtu.
The conditional is needed because the patch moves the call to
team_dev_type_check_change past dev_set_mtu.
Testing:
- team device driver in-tree selftests
- Add/remove various devices as slaves of team device
- syzbot
Exploitation
Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.
CISA SSVC assessmentAbout SSVC (opens in new tab)
CISA's assessment of whether it's exploited, whether attacks can be automated and how much control an attacker gains.
- ExploitationWhether CISA has seen exploit code or attacks for this vulnerability.
- None known
- AutomatableWhether attackers can exploit it at scale without manual steps.
- No
- Technical impactHow much control of the affected system an attacker gains.
- Full control
- Assessed
FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)
FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.
- Probability of exploitationIt predicts attempts, not success, and is updated daily.
- 0.16%
- Compared with other CVEs
- At or above 5.144% of scored CVEs
- Scored
Affected products
The products and versions with the vulnerability.
Listed by CNA
The products and versions affected, according to the organization that published this CVE.
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux |
7 commit ranges Not affected: < 3.7, 5.10.259, 5.15.199, 6.1.162, 6.6.123, 6.12.61, 6.17.11, 6.18 |
Recommended actions
How to fix the vulnerability, or reduce the risk until you can.
Severity
How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).
- 5.5 MediumCVSS 3.1 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
- Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
- Local
- Attack complexityWhether the attack depends on conditions the attacker doesn't control.
- Low
- Privileges requiredThe access the attacker needs before attacking.
- Low
- User interactionWhether someone other than the attacker has to do something, like open a link.
- None
- ScopeWhether the attack can reach beyond the vulnerable component.
- Unchanged
- ConfidentialityHow much data the attacker can read.
- None
- IntegrityHow much data the attacker can change.
- None
- AvailabilityHow much the attacker can disrupt the system or service.
- High
CVSS:3.1/View in FIRST's calculator (opens in new tab)AV:L/ AC:L/ PR:L/ UI:N/ S:U/ C:N/ I:N/ A:H - 7.8 HighCVSS 3.1 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by kernel.org (opens in new tab)
- Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
- Local
- Attack complexityWhether the attack depends on conditions the attacker doesn't control.
- Low
- Privileges requiredThe access the attacker needs before attacking.
- Low
- User interactionWhether someone other than the attacker has to do something, like open a link.
- None
- ScopeWhether the attack can reach beyond the vulnerable component.
- Unchanged
- ConfidentialityHow much data the attacker can read.
- High
- IntegrityHow much data the attacker can change.
- High
- AvailabilityHow much the attacker can disrupt the system or service.
- High
CVSS:3.1/View in FIRST's calculator (opens in new tab)AV:L/ AC:L/ PR:L/ UI:N/ S:U/ C:H/ I:H/ A:H
References
Advisories, patches, exploits and more about this vulnerability.
- Patch
- Patch
- Patch
- Patch
- Patch
- Patch
- View on NVD (opens in new tab)Last changed
- View on CVE.org (opens in new tab)Last changed
This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data