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

Published

2022-08-22

·

Updated

2025-11-14

·

CVE-2022-50005

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 use-after-free bug has been identified in the Linux kernel, specifically in the nfc: pn533 module. This issue arises when the pn532 uart device is detaching, and the pn532 uart remove() function is called without deleting the cmd timeout timer, leading to potential use-after-free bugs. The bug occurs due to a race condition between two threads, where one thread frees the pn532 structure while another thread attempts to access it. To fix this issue, a patch has been added to call del timer sync() in pn532 uart remove(), preventing the use-after-free bugs. Additionally, the pn53x unregister nfc() function is well-synchronized, setting nfc dev->shutting down to true and preventing syscalls from restarting the cmd timeout timer.
Recommendations 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:2026-02575
CVE-2022-50005
RHSA-2023:6583
RHSA-2023_6583
SUSE-SU-2025:02264-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:02322-1
SUSE-SU-2025:02537-1
SUSE-SU-2025:2264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025_02537-1

Affected Products

Astra Linux
Linux Kernel
Red Hat
Suse