CVE-2021-47147
published medium CVSS 3.1 · 6.2ptp: ocp: Fix a resource leak in an error handling path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa7e1abad13f3f0366ee625831fecda2b603cdc17 to < 0e38e702f1152479e6afac34f151dbfd99417f99 · a7e1abad13f3f0366ee625831fecda2b603cdc17 to < 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.12.9 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ptp: ocp: Fix a resource leak in an error handling path If an error occurs after a successful 'pci_ioremap_bar()' call, it must be undone by a corresponding 'pci_iounmap()' call, as already done in the remove function.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a7e1abad13f3f0366ee625831fecda2b603cdc17 to < 0e38e702f1152479e6afac34f151dbfd99417f99 (affected · git)a7e1abad13f3f0366ee625831fecda2b603cdc17 to < 9c1bb37f8cad5e2ee1933fa1da9a6baa7876a8e4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.12.9 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
3Linux · cna
ptp: ocp: Fix a resource leak in an error handling path
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ae4e406dc584b49cd7b7733b9a94fdcee2cecc5d1d214f704b0da50947c60e88
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record