CVE Catalog

CVE-2022-1247

HighCVSS 7.0
Published: Updated: Translated: NVD NIST

Summary

In the Linux kernel, a race condition exists in rose_connect(). The rose driver uses rose_neigh->use to track usage, and when deleting a route via rose_ioctl() it removes neighbours only if their 'count' and 'use' are zero, which can lead to inconsistency.

Risk Assessment

Could lead to race conditions resulting in memory corruption or system crash. Requires local access and ROSE protocol configuration.

Recommendation

Update the Linux kernel to a version containing the synchronization fix in rose_connect(). If the ROSE protocol is not used, consider disabling the module.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS