PT-2025-13297 · Linux+3 · Linux Kernel+3

Published

2025-03-27

·

Updated

2025-05-29

·

CVE-2022-49755

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A race condition exists in the Linux kernel during fast composition switch, potentially allowing a use-after-free scenario. This occurs when ffs ep0 write or ffs ep0 read calls ffs ep0 queue wait and takes a lock on &ffs->ev.waitq.lock, but functionfs unbind can still free ep0req without a NULL check in ffs ep0 queue wait. The issue is resolved by introducing a mutex lock to serialize execution between the two functions.
Recommendations To resolve this issue, apply the fix that introduces a mutex lock using mutex lock(ffs->mutex) to prevent the race condition between ffs ep0 write/ffs ep0 read and functionfs unbind. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-06301
CVE-2022-49755
OESA-2025-1513
OPENSUSE-SU-2025_1195-1
SUSE-SU-2025:1176-1
SUSE-SU-2025:1183-1
SUSE-SU-2025:1195-1
SUSE-SU-2025:1241-1
SUSE-SU-2025_1195-1
SUSE-SU-2025_1241-1

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse