Kernel memory corruption via stale RapidIO file entry
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in the Linux kernel RapidIO mport driver from 4.6 allows local users to corrupt kernel memory after an allocation failure. In mport_cdev_open, the kfifo_alloc failure path frees the per-file priv object without removing its list node from chdev->file_list, so later traversal accesses freed memory. Reachability requires an available RapidIO mport character device and a FIFO allocation failure; the resulting corruption occurs in privileged kernel state.
Summary
What happened
Use-after-free in the Linux kernel RapidIO mport driver from 4.6 allows local users to corrupt kernel memory after an allocation failure. In mport_cdev_open, the kfifo_alloc failure path frees the per-file priv object without removing its list node from chdev->file_list, so later traversal accesses freed memory. Reachability requires an available RapidIO mport character device and a FIFO allocation failure; the resulting corruption occurs in privileged kernel state.
The record
- CVE
- CVE-2022-50245
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record 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=4.6
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <02d7d89f816951e0862147d751b1150d67aaebdd
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <2a6c75adf8192f07ddcdd4a1a13488c890a73919
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <2ba06e57f933f0eac242e8b389433da1cc00d4d5
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <2dfd60724d271a6ab99f93f40f38f2ced1ddbb87
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <2f5cc7fd73fd6253cc71214f0dd499cc62feb469
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <311b488405ac45af46756b1c8f1d27007b68b07e
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <5ee850645e42f541ce1ea8130c2b27cc495f965c
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <a253dde0403a153075ffb254f6f7b2635e49e97a
- Affected versionversion=e8de370188d098bb49483c287b44925957c3c9b6 <cb87af2c19c0993f6e21f75b963a5599c5a73e76
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.
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