# CVE-2021-47449: ice: fix locking for Tx timestamp tracking flush

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2024-05-22T06:19:40.793Z
- **Modified:** 2026-06-17T04:17:29.980Z

## Who should check

- Anyone running Linux \>= 46720ac66c21bf85e08823664b7b314b85e43f26, \< 61616be899975404df44c20ab902464b60882cd7; \>= 4dd0d5c33c3ebf24a07cae6141648aeb7ba56072, \< 4d4a223a86afe658cd878800f09458e8bb54415d
- Anyone running Linux \>= 5.14.4, \< 5.14.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

ice: fix locking for Tx timestamp tracking flush

Commit 4dd0d5c33c3e ("ice: add lock around Tx timestamp tracker flush")
added a lock around the Tx timestamp tracker flow which is used to
cleanup any left over SKBs and prepare for device removal.

This lock is problematic because it is being held around a call to
ice\_clear\_phy\_tstamp. The clear function takes a mutex to send a PHY
write command to firmware. This could lead to a deadlock if the mutex
actually sleeps, and causes the following warning on a kernel with
preemption debugging enabled:

\[  715.419426\] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:573
\[  715.427900\] in\_atomic(): 1, irqs\_disabled(): 0, non\_block: 0, pid: 3100, name: rmmod
\[  715.435652\] INFO: lockdep is turned off.
\[  715.439591\] Preemption disabled at:
\[  715.439594\] \[\<0000000000000000\>\] 0x0
\[  715.446678\] CPU: 52 PID: 3100 Comm: rmmod Tainted: G        W  OE     5.15.0-rc4+ \#42 bdd7ec3018e725f159ca0d372ce8c2c0e784891c
\[  715.458058\] Hardware name: Intel Corporation S2600STQ/S2600STQ, BIOS SE5C620.86B.02.01.0010.010620200716 01/06/2020
\[  715.468483\] Call Trace:
\[  715.470940\]  dump\_stack\_lvl+0x6a/0x9a
\[  715.474613\]  \_\_\_might\_sleep.cold+0x224/0x26a
\[  715.478895\]  \_\_mutex\_lock+0xb3/0x1440
\[  715.482569\]  ? stack\_depot\_save+0x378/0x500
\[  715.486763\]  ? ice\_sq\_send\_cmd+0x78/0x14c0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.494979\]  ? kfree+0xc1/0x520
\[  715.498128\]  ? mutex\_lock\_io\_nested+0x12a0/0x12a0
\[  715.502837\]  ? kasan\_set\_free\_info+0x20/0x30
\[  715.507110\]  ? \_\_kasan\_slab\_free+0x10b/0x140
\[  715.511385\]  ? slab\_free\_freelist\_hook+0xc7/0x220
\[  715.516092\]  ? kfree+0xc1/0x520
\[  715.519235\]  ? ice\_deinit\_lag+0x16c/0x220 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.527359\]  ? ice\_remove+0x1cf/0x6a0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.535133\]  ? pci\_device\_remove+0xab/0x1d0
\[  715.539318\]  ? \_\_device\_release\_driver+0x35b/0x690
\[  715.544110\]  ? driver\_detach+0x214/0x2f0
\[  715.548035\]  ? bus\_remove\_driver+0x11d/0x2f0
\[  715.552309\]  ? pci\_unregister\_driver+0x26/0x250
\[  715.556840\]  ? ice\_module\_exit+0xc/0x2f \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.564799\]  ? \_\_do\_sys\_delete\_module.constprop.0+0x2d8/0x4e0
\[  715.570554\]  ? do\_syscall\_64+0x3b/0x90
\[  715.574303\]  ? entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
\[  715.579529\]  ? start\_flush\_work+0x542/0x8f0
\[  715.583719\]  ? ice\_sq\_send\_cmd+0x78/0x14c0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.591923\]  ice\_sq\_send\_cmd+0x78/0x14c0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.599960\]  ? wait\_for\_completion\_io+0x250/0x250
\[  715.604662\]  ? lock\_acquire+0x196/0x200
\[  715.608504\]  ? do\_raw\_spin\_trylock+0xa5/0x160
\[  715.612864\]  ice\_sbq\_rw\_reg+0x1e6/0x2f0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.620813\]  ? ice\_reset+0x130/0x130 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.628497\]  ? \_\_debug\_check\_no\_obj\_freed+0x1e8/0x3c0
\[  715.633550\]  ? trace\_hardirqs\_on+0x1c/0x130
\[  715.637748\]  ice\_write\_phy\_reg\_e810+0x70/0xf0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.646220\]  ? do\_raw\_spin\_trylock+0xa5/0x160
\[  715.650581\]  ? ice\_ptp\_release+0x910/0x910 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.658797\]  ? ice\_ptp\_release+0x255/0x910 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.667013\]  ice\_clear\_phy\_tstamp+0x2c/0x110 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.675403\]  ice\_ptp\_release+0x408/0x910 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.683440\]  ice\_remove+0x560/0x6a0 \[ice 9a7e1ec00971c89ecd3fe0d4dc7da2b3786a421d\]
\[  715.691037\]  ? \_raw\_spin\_unlock\_irqrestore+0x46/0x73
\[  715.696005\]  pci\_device\_remove+0xab/0x1d0
\[  715.700018\]  \_\_device\_release\_driver+0x35b/0x690
\[  715.704637\]  driver\_detach+0x214/0x2f0
\[  715.708389\]  bus\_remove\_driver+0x11d/0x2f0
\[  715.712489\]  pci\_unregister\_driver+0x26/0x250
\[  71
---truncated---

## Affected and fixed versions

- Linux: \>= 46720ac66c21bf85e08823664b7b314b85e43f26, \< 61616be899975404df44c20ab902464b60882cd7; \>= 4dd0d5c33c3ebf24a07cae6141648aeb7ba56072, \< 4d4a223a86afe658cd878800f09458e8bb54415d (cvelist)
- Linux: \>= 5.14.4, \< 5.14.14 (cvelist)

## Mitigation

- Upgrade Linux to 4d4a223a86afe658cd878800f09458e8bb54415d or later.
- Upgrade Linux to 5.14.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47449. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47449.md
Affected: Linux >= 46720ac66c21bf85e08823664b7b314b85e43f26, < 61616be899975404df44c20ab902464b60882cd7; >= 4dd0d5c33c3ebf24a07cae6141648aeb7ba56072, < 4d4a223a86afe658cd878800f09458e8bb54415d; Linux >= 5.14.4, < 5.14.14
Fixed in: Linux 61616be899975404df44c20ab902464b60882cd7, Linux 4d4a223a86afe658cd878800f09458e8bb54415d, Linux 5.14.14

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47449 being exploited?

There is no confirmed exploitation: CVE-2021-47449 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47449?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47449?

Linux \>= 46720ac66c21bf85e08823664b7b314b85e43f26, \< 61616be899975404df44c20ab902464b60882cd7; \>= 4dd0d5c33c3ebf24a07cae6141648aeb7ba56072, \< 4d4a223a86afe658cd878800f09458e8bb54415d; Linux \>= 5.14.4, \< 5.14.14.

### Is there a fix for CVE-2021-47449?

Yes. Fixed in Linux 61616be899975404df44c20ab902464b60882cd7, Linux 4d4a223a86afe658cd878800f09458e8bb54415d, Linux 5.14.14. Upgrade Linux to 4d4a223a86afe658cd878800f09458e8bb54415d or later. Upgrade Linux to 5.14.14 or later.

### How do I check if I'm affected by CVE-2021-47449?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/61616be899975404df44c20ab902464b60882cd7>
- patch: <https://git.kernel.org/stable/c/4d4a223a86afe658cd878800f09458e8bb54415d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47449>

HTML: <https://flawdb.com/CVE-2021-47449> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47449>
