CVE-2022-49047
published high CVSS 3.1 · 7.8ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9645ccc7bd7a16cd73c3be9dee70cd702b03be37 to < 0f12166872da46c6b57ba2f1314bbf310b3bf017 · 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 to < 3b68b08885217abd9c57ff9b3bb3eb173eee02a9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 5.17.4 through 5.17.* (unaffected · semver) · 5.18 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: ep93xx: clock: Fix UAF in ep93xx_clk_register_gate() arch/arm/mach-ep93xx/clock.c:154:2: warning: Use of memory after it is freed [clang-analyzer-unix.Malloc] arch/arm/mach-ep93xx/clock.c:151:2: note: Taking true branch if (IS_ERR(clk)) ^ arch/arm/mach-ep93xx/clock.c:152:3: note: Memory is released kfree(psc); ^~~~~~~~~~ arch/arm/mach-ep93xx/clock.c:154:2: note: Use of memory after it is freed return &psc->hw; ^ ~~~~~~~~
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
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9645ccc7bd7a16cd73c3be9dee70cd702b03be37 to < 0f12166872da46c6b57ba2f1314bbf310b3bf017 (affected · git)9645ccc7bd7a16cd73c3be9dee70cd702b03be37 to < 3b68b08885217abd9c57ff9b3bb3eb173eee02a9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)5.17.4 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
2Provider assertions
2Linux · cna
ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 21a48e645d9cf6673e37fdc3dd8829a5c995ae85888fc57eeb5f711cdcac97d4
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record