CVE-2022-1247 Details
Description
An issue found in linux-kernel that leads to a race condition in rose_connect(). The rose driver uses rose_neigh->use to represent how many objects are using the rose_neigh. When a user wants to delete a rose_route via rose_ioctl(), the rose driver calls rose_del_node() and removes neighbours only if their “count” and “use” are zero.
A race condition vulnerability has been identified in the Linux kernel's rose driver, specifically within the rose_connect() function. This issue arises because the rose driver improperly manages the rose_neigh->use counter, which indicates how many objects are utilizing a particular rose_neigh instance. When a user attempts to delete a rose_route using the rose_ioctl() function, the driver calls rose_del_node() to remove neighbors, but only if their 'count' and 'use' values are both zero. The vulnerability can be exploited by creating multiple threads that manipulate the rose_neigh usage counters, potentially leading to a use-after-free condition and allowing for memory corruption.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-1247 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2066799 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://access.redhat.com/security/cve/CVE-2022-1247 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2066799 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | All versions |
CPE
Remediation
| |
| redhat enterprise linux | 9.0 |
CPE
Remediation
| |
| fedoraproject fedora | 36 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 6, 2022 | Initial Analysis | [email protected] |