Kernel memory disclosure via out-of-bounds barrier-packet read
Published May 21, 2024 · Updated Aug 5, 2026
An out-of-bounds read in the Linux CoreSight TMC-ETF driver allows local users to disclose kernel memory through a perf AUX buffer. tmc_update_etf_buffer walks beyond the fixed-size coresight_barrier_pkt array because it omits the size check used by the related ETB path, copying adjacent kernel words until a zero value is encountered. A low-privileged per-task cs_etm session on ARM CoreSight ETF hardware is sufficient, and the invalid read can also fault the kernel.
Summary
What happened
An out-of-bounds read in the Linux CoreSight TMC-ETF driver allows local users to disclose kernel memory through a perf AUX buffer. tmc_update_etf_buffer walks beyond the fixed-size coresight_barrier_pkt array because it omits the size check used by the related ETB path, copying adjacent kernel words until a zero value is encountered. A low-privileged per-task cs_etm session on ARM CoreSight ETF hardware is sufficient, and the invalid read can also fault the kernel.
The record
- CVE
- CVE-2021-47346
- Published
- May 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0c3fc4d5fa26092853278145aca9b21fa52a3e93 <0115687be7b13993066aef602253a53d55f5b11f
- Affected versionversion=0c3fc4d5fa26092853278145aca9b21fa52a3e93 <04bd77ef4f4d9fc6102023b85f4590fc2130aac5
- Affected versionversion=0c3fc4d5fa26092853278145aca9b21fa52a3e93 <35c1c4bd2d59ad734129d4e232af9d1098023918
- Affected versionversion=0c3fc4d5fa26092853278145aca9b21fa52a3e93 <5fae8a946ac2df879caf3f79a193d4766d00239b
- Affected versionversion=0c3fc4d5fa26092853278145aca9b21fa52a3e93 <733d4d95c0101d5f277b8e4910411d016e49a9dc
- Affected versionversion=0c3fc4d5fa26092853278145aca9b21fa52a3e93 <ef0a06acc6b16388640ad367eedfa2a17f1945db
- Affected versionversion=4.14
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo